I have a substantial CSV to import but can't seem to import even the
simplest CSV.

I'm running the latest stable REvolution R on OS X if that is pertinent.

Here's the contents of a simple test2.csv CSV file:

#,Status,Project  
5842,New,Test

> snortalerts = read.table( "/Users/lcox/Documents/test2.csv", header=TRUE,
> sep=",", row.names="#")
Error in data[[rowvar]] : attempt to select less than one element

I can't see how it could get any more simple, yet it doesn't work.  I'm
obviously missing something basic, but based on the error, I can't see what
it is.

Landon
-- 
View this message in context: 
http://www.nabble.com/Simple-question-about-error-on-CSV-import-tp25242899p25242899.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