Skip to content
Prev 36732 / 63424 Next

Restrict access to variables in parent environment

On 14/05/2010 10:14 AM, thmsfuller066 at gmail.com wrote:
You could do that by setting the environment of the function to 
emptyenv(), but it will not be pretty.  Remember that everything in R is 
an object, so you won't have access to the base level objects like +, or 
mean, or any other function.

Duncan Murdoch