Open
Description
Just noticed (say you "copy" delimited data from a text editor or from MSExcel and want to "paste" as data.table into an R workspace).
# this works
df <- read.delim("clipboard-128")
# this fails
dt <- fread("clipboard-128")
# Error in fread("clipboard-128") :
# Unable to open file after 5 attempts (error 3): C:\Users\mbacou\AppData\Local\Temp\RtmpUDARkO\file7643a2c3ff3
# In addition: Warning messages:
#1: running command 'C:\Windows\system32\cmd.exe /c (clipboard-128) > C:\Users\mbacou\AppData\Local\Temp\RtmpUDARkO\file7643a2c3ff3' had status 1
#2: In shell(paste("(", input, ") > ", tt, sep = "")) :
# '(clipboard-128) > C:\Users\mbacou\AppData\Local\Temp\RtmpUDARkO\file7643a2c3ff3' execution # failed with error code 1