search for: internal_function1

Displaying 1 result from an estimated 1 matches for "internal_function1".

Did you mean: internal_functions
2012 May 25
1
equivalent to source() inside a package
...ions (with consistent variable names and such) but this didn't work. The goal is for the user to be able to see the entirety of the code in the interactive R session, i.e. with a standard package implementation: > library(wei.simulations) > sim1 function (seed=5555) { [stuff] a = internal_function1(data) [stuff] } I would like the user to see: > sim1 function (seed=5555) { [stuff] tmp = apply(data,1,mean) a = sum(tmp) #or whatever, this is just an example [stuff] } where I can change those two lines in their own file, and have the changes apply for all the simulati...