Hello,
I've installed an Rserve instance on a remote server. I have no problem interfacing with it and running most commands. I have loaded some R scripts on the remote server, and one of them contains a system command to copy a file (created by the script) onto another server. When I run the script on the remote server itself, the script works as I intend: it creates a .csv file and uses scp to copy it onto another server. When I run the script remotely (through an Rconnection in Java), the .csv is created but the file is not copied onto the other server. Is there any reason why a system command would work when called locally but not when called remotely? The format is as follows: # create array write.csv(array, "array.csv") system("scp /{path}/array.csv {remote server}:/{path2}") Again, the script works correctly when run through R on the remote server, but when I run it through Rserve, everything works except for the 'system' command. Any insights would be greatly appreciated. Thanks a lot, Prasad [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.