# NOT RUN {
# This only works on Windows systems
# }
# NOT RUN {
x <- data.frame(a = sample(10), b = sample(10))
copyToClipboard(x)
# Try to open excel and use CTRL + V to copy the data in a spreadsheet.
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab