Quantcast
Viewing all articles
Browse latest Browse all 4448

Error while reading csv file using read.table function in R

@harry wrote:

I am currently studying about how to load data in R while studying I came across a function read.table in R .I have used this function to load one file which gives me an error .I want to know how I can remove this error.

train <- read.table("train_loan.csv")
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  : 
  line 1 did not have 2 elements

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles