Skip to content
Prev 199437 / 398503 Next

Function Value Not Being Overwritten?

On Fri, 6 Nov 2009, Jason Rupert wrote:

            
See

 	?source

and note

local	if local is FALSE, the statements scanned are evaluated in the
 	user's workspace (the global environment), otherwise in the
 	environment calling source.

Maybe you want source( <...>, local=TRUE)

Chuck
Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901