Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.OSF.4.21.0011061500580.13290-100000@arnold.math.ku.dk>
Date: 2000-11-06T14:02:16Z
From: Anders Nielsen
Subject: unix
In-Reply-To: <3A06B45D.F01B67D4@info.univ-angers.fr>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._