Read the content of clipboard

For example, copy a able from excel and to get data, use:

In windows:
x <- read.table(file = 'clipboard', sep = '\t', header = TRUE)

In macOSx:
x <- read.table(file = pipe('pbpaste'), sep = '\t', header = TRUE)

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

Install treemix in ubuntu 20.04

stepAIC from package MASS with AICc