[R] Can I access the filename of the active editor window? When I run a script from an open editor window (using Ctrl-A, Ctrl-R), I
would like the filename of the script to be automatically written into the
program output, to keep up with frequent version changes. Is there a way to
access the filename (+ path) of the open script (the active one, if there is
more than one editor window open)? 

 

I'm using R 2.4.1 on Windows XP.

 

Paul


	[[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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.

