Sergei Ko
2022-Apr-28 08:38 UTC
[R] R 4.2.0: write.table() "clipboard-1024" copies only columns name
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]]
Erich Subscriptions
2022-Apr-28 08:54 UTC
[R] R 4.2.0: write.table() "clipboard-1024" copies only columns name
Die you try clipr::write_clip as an alternative?> On 28.04.2022, at 10:38, Sergei Ko <sggp.sergei at gmail.com> wrote: > > 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]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.