Do your lines start with the hash mark #? If so, they are considered
comment. Set comment.char="" in your call to read.csv. Another
frequent culprit (personal experience) are apostrophes ('). If you
have any in your file, use the argument quote = "\"" or, if you are
sure the data are not quoted, us
I have imported a CSV file:
rfishR <- read.csv(file="rfishR.csv",stringsAsFactors = FALSE,
strip.white = TRUE, na.strings = c("NA","") )
attach(rfishR)
When I call it up in R, it starts with line 2066 rather than 1 and some of the
headers (used Headers = TRUE, too) are "maske
2 matches
Mail list logo