[R] How to remove an object that is loaded every time R is opened?

jim holtman
Wed, 29 Feb 2012 16:02:35 -0000

Put

--no-restore

On your startup command to start with a clean session.
On Wednesday, February 29, 2012, Jason Love <jason.love1492@gmail.com>
wrote:
> Dear R users,
> I'm a newbie and have another basic question that you guys can answer
for
> me.
> So, I've been noticing that an object (data frame) called
"FossilFuel" is
> loaded as default when I first open up the R (see below).
> I created this data frame a while ago which is a data set for tutorial and
> I don't need this any more.
> I'm not sure why this happens and wonder if there is any way to remove
this
> object.
> Let me know.
> -Jason
>
>
> -----------------------------------------------
> R version 2.14.1 (2011-12-22)
> Copyright (C) 2011 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>  Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> [R.app GUI 1.43 (5989) x86_64-apple-darwin9.8.0]
>
> [Workspace restored from /R/.RData]
> [History restored from /R/.Rapp.history]
>
>> ls()
> [1] "fossilfuel"
>>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>

--
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.