copypaste {shortcuts} | R Documentation |
A function to import copied data in RStudio via clipboard, the use of Addins is also highly recommended
Description
A function to import copied data in RStudio via clipboard, the use of Addins is also highly recommended
Usage
copypaste()
Value
A data frame object named "x" in .GlobalEnv
Examples
# Copy (Ctrl+C) a excel/google sheets/ online table such as the table:
# https://en.wikipedia.org/wiki/Standard_normal_table
# Then push Addins -> shortcuts / Copy Paste or Run the following code:
copypaste()
if("x" %in% ls()){x}
[Package shortcuts version 1.4.0 Index]