Skip to content
Prev 139040 / 398525 Next

source(echo=TRUE) bug (was: source() behavior I don't understand)

Richard M. Heiberger wrote:
source() is pure R code, so if you want a function that behaves 
differently, you can do it fairly easily yourself.
It's basically just a function to parse some source and then evaluate it 
one expression at a time.  No need for all the bells and whistles it has 
if you are in complete control of the input and don't want to offer 
options on the output.  A version that does what you need to do is 
probably just 10 or 20 lines.

Duncan Murdoch