[R] searching for special variables

Gabor Grothendieck ggrothendieck at gmail.com
Thu May 3 13:00:58 CEST 2007


Try:

rm(list = ls(patt = 777))


On 5/3/07, Schmitt, Corinna <Corinna.Schmitt at igb.fraunhofer.de> wrote:
> Dear R-Experts,
>
> in my program I have a big workspace. Now I want to look for all
> variables which have the letters "777" in their name (e.g. ask777first)
> and afterwards I need to delete those variables. How can I reach this
> aim?
>
> Any ideas, Corinna
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>



More information about the R-help mailing list