See findSourceTraceback() in the R.utils package.

It's been discussed before, e.g.

http://www.mail-archive.com/[email protected]/msg112375.html
http://www.mail-archive.com/[email protected]/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 <[email protected]> wrote:
> I am looking for a way to determine the full filepath to the currently
> executed script. Any ideas?
>
> Ralf
>
> ______________________________________________
> [email protected] 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.
>

______________________________________________
[email protected] 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.

Reply via email to