Skip to content
Prev 43028 / 398521 Next

remote data I/O

On Wed, 21 Jan 2004, Giampiero Salvi wrote:

            
It is not part of the file:// schema.  On some OSes you can transparently
access exported files on other machines, in which case you don't need to 
use url(), as file() will do.  (Windows NT is one.)
R has no built-in ssh support.  Nor could it given the diverse variants of 
ssh that are running (and the unfortunate tendency of OpenSSH 
installations to refer to themselves as ssh2, yet be incompatible with 
ssh2 as originally released by the company SSH).

You could use something like pipe("ssh myserver cat myfile"), or you could 
make a copy to a temporary area and read that (which would be better for 
read.table as that needs to re-read parts of the file).