Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0208161357360.1925-100000@reclus.nhh.no>
Date: 2002-08-16T11:58:15Z
From: Roger Bivand
Subject: system command
In-Reply-To: <3D5CC005.28387B88@knmi.nl>

On Fri, 16 Aug 2002, Nader Emami wrote:

> Hello,
> 
> It is very simple question. I want to go to the parent directory and
> give the 'system("cd ../") commnad. But it stayes at the same dirctory
> as before. Do I forget to give some extra parameter to system command in
> this case?

setwd()

--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no
and: Department of Geography and Regional Development, University of
Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland.

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