Description Usage Arguments References Examples
Copied from https://gitlab.com/zauster/ormisc/-/blob/master/R/view.R. The purpose of this function is to write the dataframe to at tmp file and print the path. Use the clipr package to write the output to the clipboard for easy pasting into a terminal. See example.
1 |
df |
the data.frame (or data.table or tibble) |
https://gitlab.com/zauster/ormisc/-/blob/master/R/view.R
1 2 3 4 5 6 7 8 9 10 | ## Not run:
install.packages(clipr)
library(clipr)
# df is some dataframe in your environment
write_clip(localView(df))
# in a terminal, you can how paste in the line that the cmd above put
# in your clipboard and hit enter. your computer will know what to do next
# hopefully
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.