cp | R Documentation |
Copies data object to clipboard
cp(x, rn = FALSE)
x |
A dataframe, matrix or other data object |
rn |
Rownames are not copied when argument is set to FALSE (default) |
This function copies data object to clipboard for easy paste in Word, Excel or email.
Yves R. Sagaert
copydata <- matrix(ncol=10,nrow=10,data=rnorm(100,100,10)) cp(copydata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.