[R] Full path to currently executed script file

Henrik Bengtsson hb at biostat.ucsf.edu
Mon Nov 15 01:44:45 CET 2010


See findSourceTraceback() in the R.utils package.

It's been discussed before, e.g.

http://www.mail-archive.com/r-help@r-project.org/msg112375.html
http://www.mail-archive.com/r-help@r-project.org/msg111871.html

Beware, if you find yourself having to do this, it may be that you are
doing something awkward.  It is likely that there is a better way to
what you are trying achieve.

My $.02

/Henrik

On Sun, Nov 14, 2010 at 4:31 AM, Ralf B <ralf.bierig at gmail.com> wrote:
> I am looking for a way to determine the full filepath to the currently
> executed script. Any ideas?
>
> Ralf
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list