my csv file is very simple - just one line for purpose of this test:
0{TAB}0

and read function is this:
csvdata = read.csv(file="d:/s/test.csv",head=FALSE,sep="\t")

then error comes:

Error in source("d:/test.csv") : 
  d:/test.csv:1:9: unexpected numeric constant
1: 0       0


but when I change delimiter to ; (colon) then error not shows up anymore
-- 
View this message in context: 
http://r.789695.n4.nabble.com/unexpected-numeric-constant-while-reading-tab-delimited-csv-file-tp3053252p3053252.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to