[R] Converting shell("cd") to a string

Duncan Murdoch murdoch at stats.uwo.ca
Fri Sep 26 12:08:14 CEST 2008

Arthur Roberts wrote:
> Hi, all,
> Is there an R-command that will convert shell("cd") to a string, so  
> that I can use it in the paste() command?
 shell("cd", intern=TRUE) or getwd().

Duncan Murdoch

More information about the R-help mailing list