This is a great tip I discovered today:
For this example let’s create a vector in R, say 1000 observations from a normal distribution with mean, 110 and standard deviation, 15.
x=rnorm(1000,110,15)
To copy the vector to the clipboard, write the following command
write.table( x, ‘clipboard’, sep=’\t’, row.names=FALSE, col.names=FALSE )
Then paste directly into an excel or plotly (plotly.com) spreadsheet.

Display and analyze the data in your desired environment:

