[R] unix

Anders Nielsen anielsen at math.ku.dk
Mon Nov 6 15:02:16 CET 2000


Try something like:

R>system("ls")


Anders

On Mon, 6 Nov 2000, Meriema Belaidouni wrote:

> hello
> Is it possible to execute Unix command from R prompt?
> for example
> ls
> cd ..
> 
> In matlab this possible by adding "!"
> !ls
> !cd ..
> 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list