Rather than using system() to execute a shell command,
is there a way to emulate the system shell itself in R?
For instance, if the function is shell, 

> getwd()
[1] "/home/a/b"
> shell()          # From R to system shell
$cd ..              # cd command in system shell
$CTRL+D        # Return to R
> getwd()
[1] "/home/a"

Thanks in advance.

Daehyok Shin (Peter)
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North Carolina-Chapel Hill
[EMAIL PROTECTED]

"We can do no great things, 
only small things with great love."
                         - Mother Teresa

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to