Skip to content
Prev 306358 / 398506 Next

how to know where you've been sourced from

On 26/09/2012 2:39 PM, Alexander Shenkin wrote:
Look in the global variable you created just before you sourced it, e.g.

MyNameIs <- "foo.R"
source("bar.R")