Skip to content
Back to formatted view

Raw Message

Message-ID: <20090428182219.74a2813b@iastate.edu>
Date: 2009-04-28T23:22:19Z
From: Ranjan Maitra
Subject: send command to other program
In-Reply-To: <23284885.post@talk.nabble.com>

Does ?system help?

Ranjan

On Tue, 28 Apr 2009 13:00:28 -0700 (PDT) thoeb <t.hoebinger at gmail.com>
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 names if the output
> files and it would be quite practically if it could just adopt the file
> names from the r script.
> 
> Thank you in advance! 
> 
> -----
> Tamara Hoebinger
> University of Vienna
> -- 
> View this message in context: http://www.nabble.com/send-command-to-other-program-tp23284885p23284885.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.
>