I have been searching on how to do this. I know how to easily do this in MATLAB, but it is proving difficult in R. Is there a simple way of doing this?
Thanks
I have been searching on how to do this. I know how to easily do this in MATLAB, but it is proving difficult in R. Is there a simple way of doing this?
Thanks
Writing to a .csv is often a way to go in R. Alternatively, you can use the xlsx package
Installing the package
install.packages("xlsx")
Writing with the package
library(xlsx)
write.xlsx(YourDataFrame, "C:/Temp/YourExcelFile.xlsx")
Keep us posted! :)
You can use the write.csv
command. Excel is able to read csv
files.
write.table(x = my_dataframe, file = "my_file.csv")