We have a file which is not reading via read.table but it is correctly reading via fread.
i m unable to attch the file here.The commands are as follows:
ReplicaVarience <-read.table(VarienceFilesList,stringsAsFactors = FALSE,header = FALSE,sep=",",skip = 1,quote="")
ReplicaVarience <-fread(VarienceFilesList,stringsAsFactors = FALSE,header = T,sep=",",quote = "")
It gives an error saying
;Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : </error><error> line 2312 did not have 12 elements</error><error>Calls: read.table -> scan</error><error>Execution halted</error></CmdOutputWithActivityOutput>com.tibco.pe.plugin.ActivityExceptionActivityExceptionBusinessProcesses/SubProcesses/Replica/RunReplicaMain.process/Group/Generate-Error-3BW-R-200124</ns0:ErrorReport>
Please help me find the difference.