Displaying 1 result from an estimated 1 matches for "information_id_numberhere".
2009 Mar 09
3
Creating an Excel file with multiple spreadsheets
...nformation per ID in different Excel files, rather than in
"information.xls" with a spreadsheet by ID, I can do
# Working directory -- please change this when run the code in your R
session
setwd("C:\\")
# Saving the information by ID in a different Excel file
# called "information_ID_numberhere.xls"
lapply(1:5,function(i)
write.table(sDF[[i]][,-1],paste("information_ID_",i,".xls",sep=""),col.names=TRUE,row.names=FALSE,sep="\t")
)
How can I export DF (the original data), DF such as ID==1, DF such as
ID==2,..., DF such as ID==5 to "in...