[datatable-help] Homework Help R Beginner
dkkim
borodegadega at yahoo.com
Mon Apr 18 06:36:18 CEST 2016
You could do the following:
1: Open your txt file using read.table or read.csv command
2: Open your dat file (I am not sure which syntax you can use in R)
3: Now you can combine the columns from both file into one for example
MyCombineDataSet <- cbind(txt$column1,dat$column1..) etc
4. You can save your data using the following:
write.csv("MyCombineDataSet", file="MyCombineDataset.csv")
5. The file will be at your working directory
Hope this help
--
View this message in context: http://r.789695.n4.nabble.com/Homework-Help-R-Beginner-tp4719436p4719824.html
Sent from the datatable-help mailing list archive at Nabble.com.
More information about the datatable-help
mailing list