[R] Error: ignoring SIGPIPE signal

Rasmus Liland jr@| @end|ng |rom po@teo@no
Tue Mar 16 16:05:09 CET 2021


Hello there,

This error happens if you did not finish 
reading from the pipe.  

E.g. I have this function in my local 
zshrc, to read tsv files with less in 
terminal width ...

	readdelim() { Rscript -e "options(width=$COLUMNS); read.delim('$1', check.names=FALSE, na='N/A')" | less }

... and if the tsv file has many lines I 
did not scroll completely to the bottom 
(read all of the pipe into less), I also 
get that error from the R end of the 
pipe.

R

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20210316/26ae8a26/attachment.sig>


More information about the R-help mailing list