Re: [R] mysterious (to me) automatic loading of packages when R starts up

From: Dieter Menne <>
Date: Thu, 24 Apr 2008 07:28:26 +0000 (UTC)

Duncan Mackay <duncan.mackay <at>> writes:

> I have recently noticed that in one of my work areas, a number of packages
> are automatically loaded without my explicitly requesting them to be loaded
> (see below). This only happens in one particular workspace (located in a
> folder). I suspect (without any real evidence) that this may be related to
> my creating plots using the ggplot2 package earlier in this workspace.
> Loading required package: proto
> Loading required package: grid
> Loading required package: reshape
> [Previously saved workspace restored]

Whenever you see the last line, there is an .Rdata-file in you startup directory. Delete it, and use

rgui.exe --no-restore --no-save

to start R (assuming Windows) to avoid the automatic loading/saving (which I find confusing).

Dieter mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 24 Apr 2008 - 08:11:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Apr 2008 - 08:30:32 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive