[R] Removing Objects from workspace

Kjetil Kjernsmo kjetil.kjernsmo at astro.uio.no
Wed Jul 12 17:03:36 CEST 2000


On Wed, 12 Jul 2000, Sven Garbade wrote:

>how can I remove objects from the workspace which starts with a certain
>pattern, e.g. lm (lm1, lm2, lm3 etc). Wildcards won´t work.

How about:

rm(list=objects(pattern="^lm.*"))

Best,

Kjetil
-- 
Kjetil Kjernsmo
Graduate astronomy-student                    Problems worthy of attack
University of Oslo, Norway            Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no                                - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list