Question: how to copy paste data in r?
Answer: An easier option is to copy and paste the data directly into R. This can be done by using “clipboard” as the file and specifying that it is tab delimited, since that is how Excel's clipboard stores the data. For example, say you have a table in excel you want to copy into R. First, copy it in Excel.