[R] converting to data frame

Vito Ricci vito_ricci at yahoo.com
Fri Sep 10 11:03:21 CEST 2004


Hi,

see  ? read.csv  and use read.csv() to read the csv
file, after convert as a data.frame see: 

? as.data.frame

it forces into a data.frame;

e.g. you've the data csv file: data.csv

mydata<-read.csv('C:/data.csv')
mydf<-as.data.frame(mydata) ## data as dataframe

bye
Vito



Is there a method that converts a csv file to a data
frame ?
M

=====
Diventare costruttori di soluzioni

Visitate il portale http://www.modugno.it/
e in particolare la sezione su Palese http://www.modugno.it/archivio/cat_palese.shtml


		
___________________________________

http://it.seriea.fantasysports.yahoo.com/




More information about the R-help mailing list