[R] scanning data into r

joel.green joel.green at live.co.uk
Wed Mar 28 20:23:38 CEST 2012


Hey 

I am having trouble importing data into R, my data field looks like this 

21  TEST DATA
32  year:2012
33
34
 5
36

I require the the number at the start of each line however the text is not
needed, i am struggling to get R to import the data with out changing the
file itself?

how do i import the data, i have tried using comment.char=" ", however this
didnt work, any help would be much appreciated thanks 



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



More information about the R-help mailing list