[R] scanning data into r

z2.0 zack.abrahamson at gmail.com
Wed Mar 28 21:17:52 CEST 2012

Just read into a data.frame with read.table and then subset to use the first


your_desired_data <- data.frame(read.table("path_to_file", sep = " ", fill =
your_desired_data <- your_desired_data[,1]

View this message in context: http://r.789695.n4.nabble.com/scanning-data-into-r-tp4513182p4513364.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list