Re: [R] setting the current working directory to the location of the source file

From: Marcin Gomulka <mrgomel_at_gmail.com>
Date: Sun, 13 Jun 2010 14:56:09 +0200

Charles' hint was what I was looking for. Thanks!

mg.

On Fri, Jun 11, 2010 at 7:40 AM, Charles C. Berry <cberry_at_tajo.ucsd.edu>wrote:

>
>
> cat("print(eval(sys.calls()[[1]][[2]]))",file='test.R')
>>
>
>>
>>
> See
>
> ?sys.calls
>
>

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 13 Jun 2010 - 12:59:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 13 Jun 2010 - 13:00:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive