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.
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to