Skip to content
Back to formatted view

Raw Message

Message-ID: <bsqso011q7702i4vkvos7imbqi92cj66gl@4ax.com>
Date: 2004-11-07T18:40:43Z
From: Duncan Murdoch
Subject: Calling Other (non-C or Fortran) Programs from R
In-Reply-To: <36ad1919.9b8d12c4.81a0700@expms6.cites.uiuc.edu>

On Sun, 7 Nov 2004 08:50:25 -0600, Tim F Liao <tfliao at uiuc.edu> wrote:

>Hi!
>
>I wonder if anyone has experiences of calling other programs 
>from R (i.e., not C or Fortran programs).
>
>Specifically I want to call LEM from R and execute it in a 
>loop to process its output in R.  Thanks,

I don't know what LEM is.  If it's a language that can produce DLLs or
.so's, then it should be straightforward to call them.  If it's a
program using standard input and output, the system() function is what
you want.

Duncan Murdoch