Directly copying data from RStudio to MS Excel

Cross-posted to R-help list

I do not have Excel as I am on Linux but I suspect you would be better off just writing the data frame to Excel.

See something like https://tutorials.methodsconsultants.com/posts/reading-and-writing-excel-files-with-r-using-readxl-and-writexl/