On 11-03-05 1:36 PM, Jannis wrote:
Dear List members,
is it somehow possible to retrieve the name of the file from where some
command is invoked in (!) interactive mode? That means that I am running
single lines of code within ESS /R-GUI and do NOT use source to execute
the whole script.
If you're not using source(), R doesn't know the name of the file. ESS
probably does, but you'll probably have to ask on an ESS list to find
out if you can get to it.
Duncan Murdoch
______________________________________________
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.