[R] how to delete all classes & variables in current & previously saved history?

Bert Gunter gunter.berton at gene.com
Sun Feb 19 16:20:38 CET 2012


On Sun, Feb 19, 2012 at 5:33 AM, Jim Holtman <jholtman at gmail.com> wrote:
> the real question is why are you reloading the former session?  I always start with a clean workspace and build what I need.

Because that's the default?

See

?Startup

and especially the part about  "--no-restore" (sans quotes) for how to
start with a clean session.

-- Bert

>
> Sent from my iPad
>
> On Feb 19, 2012, at 6:51, Alfredo Alessandrini <alfredo.alessa at gmail.com> wrote:
>
>> rm(list=ls())
>>
>> 2012/2/19 sagarnikam123 <sagarnikam123 at gmail.com>
>>
>>> i have variables stored in previous history,next time i log in,& load
>>> previous history,i want to use same variable name for using other values,
>>> & i don't know exactly how many are they ? & their names also..
>>>
>>> How to delete all variable created in current & previous session i.e.
>>> (known
>>> & unknown) which form up-to current state?
>>>
>>> --
>>> View this message in context:
>>> http://r.789695.n4.nabble.com/how-to-delete-all-classes-variables-in-current-previously-saved-history-tp4401389p4401389.html
>>> Sent from the R help mailing list archive at Nabble.com.
>>>
>>> ______________________________________________
>>> R-help at 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.
>>>
>>
>>    [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at 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.
>
> ______________________________________________
> R-help at 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.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list