Skip to content
Prev 307083 / 398503 Next

avoid <<- in specific case

On 05/10/2012 9:38 AM, Frans Marcelissen wrote:
If functions didn't have access to objects outside the local frame, they 
couldn't do much of anything at all.  Unlike Pascal, functions in R are 
first class objects.  Even "<-" is an object (found in the base 
package).  So functions need to be able to look outside themselves to 
find the thinks like mean(), var(), "+", "<-", etc.

Duncan Murdoch