[R] R 4.2.0: write.table() "clipboard-1024" copies only columns name

Sergei Ko @ggp@@erge| @end|ng |rom gm@||@com
Thu Apr 28 10:38:42 CEST 2022


I used write.table(mat, "clipboard-1024", sep="\t", row.names=FALSE) to
copy from R to Excel in previous versions. After updating to 4.2.0 it
copies column names only to clipboard. Win 10 64 bit. Any ideas on how to
fix it? Try this:

mat = matrix(0, 2, 3)
write.table(mat, "clipboard-1024", sep="\t", row.names=FALSE)

	[[alternative HTML version deleted]]



More information about the R-help mailing list