I am completely new with R/Rstudio, and have no time or desire to learn all these chinese commands; I just want to export a filtered selection from a table (called 'NHANES') to Excel (or XML or TXT). But, something that should be a very basic standard option in a statistical software package seems to be a very complicated task in this very user unfriendly software.
After a long search I found this:
write_xlsx(NHANES, "c:\temp\test.xls", col_names=TRUE)
But this only works half:
- Only numbers are saved, not strings and not the column names.
- All the data are saved, while I want only my filtered selection.
I hope someone here can give me a simple instruction 'for dummies' to accomplish this.
Thanks in advance!