Query regarding fread package in R
1
0
Entering edit mode
2.1 years ago

I tried to take input of a CSV file with the help of fread package in R studio but not worked. I followed some web community posts but I cannot fix this issue kindly look into this-

Input in R studio -

dataset = fread(input = "/home/omics/Music/R_studio_Dir/abc.csv", sep = ",", header ="T" )

Output-

Error in fread(input = "/home/omics/Music/R_studio_Dir/abc.csv",  : 
  is.logical(header) && length(header) == 1L is not TRUE
fread R • 703 views
ADD COMMENT
2
Entering edit mode
2.1 years ago
...,header=TRUE)
ADD COMMENT
0
Entering edit mode

It's worked. Thanks.

ADD REPLY

Login before adding your answer.

Traffic: 858 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6