[R] File > Save As...

Hadley Wickham hadley at rice.edu
Wed Mar 16 02:10:30 CET 2011


>> Could getSrcFilename() gain a default argument so that
>> getSrcFilename() would by default return the path of the executing
>> script?
>
> No, it needs to see a function defined in that script.

But I thought default arguments were evaluated in the parent
environment?  Does that not follow for source attributes as well?

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-help mailing list