Re: [R] send command to other program

2009-04-29 Thread Wacek Kusnierczyk
Jim Lemon wrote: > thoeb wrote: >> Hello, >> does anybody know about how to "send" a command or a text line from R to >> another program? I have written a script in which several >> calculations are >> made and outputfiles (csv) are generated. Afterwards I open another >> program >> (Fortran) via s

Re: [R] send command to other program

2009-04-29 Thread jgarcia
Hi, Consider also that you may easily modify system names from inside your R script as: system("mv oldname newname") Best Regards, Javier ... > thoeb wrote: >> Hello, >> does anybody know about how to "send" a command or a text line from R to >> another program? I have written a script in which

Re: [R] send command to other program

2009-04-29 Thread Jim Lemon
thoeb wrote: Hello, does anybody know about how to "send" a command or a text line from R to another program? I have written a script in which several calculations are made and outputfiles (csv) are generated. Afterwards I open another program (Fortran) via shell.exec. This program asks for the n

Re: [R] send command to other program

2009-04-29 Thread thoeb
Thanks! I have not used "system" before. May it works if "command" ist the call for the program, but how can I integrate the transfer of the file names (strings) from R to the program? Ranjan Maitra wrote: > > Does ?system help? > > Ranjan > > On Tue, 28 Apr 2009 13:00:28 -0700 (PDT) thoeb >

Re: [R] send command to other program

2009-04-28 Thread Ranjan Maitra
Does ?system help? Ranjan On Tue, 28 Apr 2009 13:00:28 -0700 (PDT) thoeb wrote: > > Hello, > does anybody know about how to "send" a command or a text line from R to > another program? I have written a script in which several calculations are > made and outputfiles (csv) are generated. Afterwa

[R] send command to other program

2009-04-28 Thread thoeb
Hello, does anybody know about how to "send" a command or a text line from R to another program? I have written a script in which several calculations are made and outputfiles (csv) are generated. Afterwards I open another program (Fortran) via shell.exec. This program asks for the names if the ou