You can modify your sitewide Rprofile file (which for me is in C:\Program Files\R\rw1070\etc) and insert the line:

options(defaultPackages = character())

This should start R with no additional packages. More information like this can be found in ?Startup.

-roger

Jacob Wegelin wrote:

With the current version (rw1070), every time I start R it loads a whole
bunch of packages, many of which I do not need in a typical session:


search()

[1] ".GlobalEnv" "package:methods" "package:ctest" "package:mva" [5] "package:modreg" "package:nls" "package:ts" "Autoloads" [9] "package:base"

Loading all these packages makes R slow to start up, and I presume it
uses up memory too.

Is there a reason that all these packages load automatically? Is
there some way to stop this from happening, by changing some default?


version

_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 1 minor 7.0 year 2003 month 04 day 16 language R

A separate question also related to defaults:

Is there a way to get R to refrain from truncating the .Rhistory file
(removing the earliest saved commands), so that .Rhistory might serve
as a permanent record of every command issued?

Thanks for any info

Jake

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help



______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to