[R] calling outside program to run from R - similar to X command in SAS

Ista Zahn istazahn at gmail.com
Thu Feb 7 18:50:58 CET 2013


Hi Leigh,

On Thu, Feb 7, 2013 at 10:35 AM, Leigh Michelle Williams
<lwilliams146 at gsu.edu> wrote:
> I'm new to R and have not been able to find what I am looking for online. I found the system command but that seems to be used for getting lists of directories, etc.

The "etc." includes many things in this case!

>
> I am trying to replicate something that I used to do in SAS. I am simulating some data (which I can do in R with a particular package) and then trying to call an outside program to fit a specific model to the data. In SAS, the commands would have been
>
> x softwarename.exe
> x commandfilename.exe

see

?system
?system2

either of these will work for simply opening a program.

>
> Any help is appreciated. Thanks.
>
> Leigh
>
>
>
> Leigh M. Williams, Ph.D.
> Postdoctoral Research Associate
> College of Education
> Georgia State University
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.



More information about the R-help mailing list