Dieter Menne wrote:
> Peter Dalgaard <P.Dalgaard <at> biostat.ku.dk> writes:
>
>   
>> Or, BTW, you can use within()
>>
>> aq <- within(airquality, rm(Day))
>>     
>
> Please add this as an example to the docs of within. 
>   

possibly with the slightly more generic

    unwanted <- 'Day'
    aq <- within(airquality, rm(list=unwanted))

vQ

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to