[R] How to import data from text file using scan() Function?

killerkarthick karthick.gdi at gmail.com
Thu Oct 18 15:14:29 CEST 2012


Hi....
     I have one text file which containing 4 variables with 10 observations.
I would like to import with scan() function. Please give some
suggestion............
Thanks...
Mydata set is.

id	name	sex	age
111	HELEN	f	22
112	DONNA	f	22
113	ERIC	m	21
114	LINDA	f	23
115	AXEL	m	27
116	Madhuri	f	32
117	Tarun	m	39
118	Aashirya	f	23
119	Nachik	m	24
120	Leena	f	32



--
View this message in context: http://r.789695.n4.nabble.com/How-to-import-data-from-text-file-using-scan-Function-tp4646611.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list