[ESS] R function shell() and ESS

Felix Andrews felix at nfrac.org
Thu Aug 18 14:51:51 CEST 2011


Hi,

I do not know much about this, but have you tried system() instead of shell()?

Cheers
Felix

2011/8/16 Guillaume Thérien <giom.therien at gmail.com>:
> Good morning.
> I have no problem running the R function shell() within the R console, for
> instance:
> shell("dir")
>
> but I get an error message (error 127) when I run R within ESS.
>
> Any hint on how to run an operating system command in R when using ESS?
>
> (I am using Windows 7 and the most recent R/ESS/Emacs versions).
>
> Thanks.
>
> Guillaume Thérien
>
>
>
>
> --
> Guillaume Thérien
> 2399 7e Avenue
> Trois-Rivières, QC
> Tél.: 604-874-5582
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
>



-- 
Felix Andrews / 安福立
http://www.neurofractal.org/felix/



More information about the ESS-help mailing list