i want to do something like this:

f <- function(){
        data(iris)
}

and have f() not leave iris in the global env. i can see there is a env
argument in data() but i dont know what to send it so that it uses the
current environment and not the global env.

any help appriciated.

-r

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to