Many thanks Jim and Chris for your helpful answers!
J

On Wed, Feb 29, 2012 at 11:48 AM, Chris Campbell <
ccampbell@mango-solutions.com> wrote:

> Hi Jason
>
> If you close an R session and save without choosing a filename, a file
> called .RData will be created. Open a new session and type getwd(). Then
> have a look in the named file with your folder options set to Show Hidden
> Files. Deleting or renaming this file should remove the imported object.
>
> Hope this helps
>
> Chris
>
> Chris Campbell
> MANGO SOLUTIONS
> Data Analysis that Delivers
> +44 1249 705450
>
>
> -----Original Message-----
> From: r-help-bounces@r-project.org [mailto:r-help-bounces@r-project.org]
> On Behalf Of Jason Love
> Sent: 29 February 2012 15:10
> To: r-help@r-project.org
> Subject: [R] How to remove an object that is loaded every time R is opened?
>
> 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.
> LEGAL NOTICE
> This message is intended for the use of the named recipient(s) only and
> may contain confidential and / or privileged information. If you are not
> the intended recipient, please contact the sender and delete this message.
> Any unauthorised use of the information contained in this message is
> prohibited.
> Mango Business Solutions Limited is registered in England under No.
> 4560258 with its registered office at Suite 3, Middlesex House, Rutherford
> Close, Stevenage, Herts, SG1 2EF, UK.
>
> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL

	[[alternative HTML version deleted]]

