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.bie...@gmail.com> wrote: > I am looking for a way to determine the full filepath to the currently > executed script. Any ideas? > > Ralf > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.