[R] remote data I/O

2004-01-21 Thread Giampiero Salvi
Hi, I wonder if it is possible to read data on another computer (unix like system) using ssh (I mean any of ssh, scp, sftp). I saw that R has no problem reading files across the net (for example read.table(url(http://www...;)) ), but what if the file is on a local disk of another machine? For

Re: [R] remote data I/O

2004-01-21 Thread Giampiero Salvi
I solved my problem this way (if somebody is interested): pipe(ssh hostname 'cat path/filename')) I guess I could even use gzip instead of cat or the ssh option -C to compress the data that has to be transferred. R rocks! Giampiero On Wed, 21 Jan 2004, Giampiero Salvi wrote: Hi, I wonder

Re: [R] remote data I/O

2004-01-21 Thread Prof Brian Ripley
On Wed, 21 Jan 2004, Giampiero Salvi wrote: Hi, I wonder if it is possible to read data on another computer (unix like system) using ssh (I mean any of ssh, scp, sftp). I saw that R has no problem reading files across the net (for example read.table(url(http://www...;)) ), but what if the