Function scan
> list_data <- scan('test_list.dat') > list_data[8]
Funcion read.table Reads a file in table format and creates a data frame from it
> HousePrice <-read.table(�/home/bioinfo/cursoFeb_Jun_2007/R_sesison/data/houses.data�) > HousePrice > HousePrice <-cbind(HousePrice, name=c('c1','c2','c3','c4','c5'))
funcion write.table
Escribe el contenido de una variable a un archivo en disco.
> write.table(data,'houses_v2.data') ## write out data to the file > write.table(data, 'houses_v2.data', sep="\t", quote=F) ## write out data without quotation mark and with tab delimited