Re: [R] a remove question

2011-01-16 Thread Pete Brecknock
or rm(list=ls(pattern="^NY")) if you only want those objects that begin with "NY" ... HTH Pete -- View this message in context: http://r.789695.n4.nabble.com/a-remove-question-tp3220411p3220562.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] a remove question

2011-01-16 Thread Hugo Mildenberger
How about ls(pattern="NY") #rm(list=ls(pattern="NY")) On Sunday 16 January 2011 22:08:16 Erin Hodgess wrote: > Dear R People: > > I have the following: > > > ls(pattern="NY*") > [1] "CRAN_df" "CRAN_df0" "CRAN_df1" "CRAN_mat" "CRAN_sp" > [6] "CRAN_spdf1" "CRAN_spdf2

Re: [R] a remove question

2011-01-16 Thread David Winsemius
On Jan 16, 2011, at 4:17 PM, David Winsemius wrote: On Jan 16, 2011, at 4:08 PM, Erin Hodgess wrote: Dear R People: I have the following: ls(pattern="NY*") [1] "CRAN_df" "CRAN_df0" "CRAN_df1" "CRAN_mat" "CRAN_sp" [6] "CRAN_spdf1" "CRAN_spdf2" "CRAN_spdf4" "delaune

Re: [R] a remove question

2011-01-16 Thread Joshua Wiley
On Sun, Jan 16, 2011 at 1:08 PM, Erin Hodgess wrote: > Dear R People: > > I have the following: > >> ls(pattern="NY*") >  [1] "CRAN_df"      "CRAN_df0"     "CRAN_df1"     "CRAN_mat"     "CRAN_sp" >  [6] "CRAN_spdf1"   "CRAN_spdf2"   "CRAN_spdf4"   "delauney_NY"  "dist2_NY" > [11] "dist3_NY"     "G

Re: [R] a remove question

2011-01-16 Thread David Winsemius
On Jan 16, 2011, at 4:08 PM, Erin Hodgess wrote: Dear R People: I have the following: ls(pattern="NY*") [1] "CRAN_df" "CRAN_df0" "CRAN_df1" "CRAN_mat" "CRAN_sp" [6] "CRAN_spdf1" "CRAN_spdf2" "CRAN_spdf4" "delauney_NY" "dist2_NY" [11] "dist3_NY" "Gabriel_NY"