Re: [R] Executing a telnet session from R

2008-04-07 Thread Ted Harding
On 06-Apr-08 23:14:18, Dennis Fisher wrote: Colleagues I am working in a Linux OS with R 2.6.2. I need to execute a telnet session to another Linux machine from R, perform some operations, then return to the original computer. When I am in an R session, this is easy to accomplish by

[R] Executing a telnet session from R

2008-04-06 Thread Dennis Fisher
Colleagues I am working in a Linux OS with R 2.6.2. I need to execute a telnet session to another Linux machine from R, perform some operations, then return to the original computer. When I am in an R session, this is easy to accomplish by typing: system(telnet -l username

Re: [R] Executing a telnet session from R

2008-04-06 Thread Claus Wilke
Don't use telnet, use rsh or (better) ssh. You can set up your identity on the remote host so that ssh doesn't ask for your password (see ssh documentation), and you can give ssh the command(s) that should be executed on the remote host (again see ssh documentation). Claus On Sunday 06 April