This can happens if save an object with an environment part of a package, e.g.
$ R --quiet --vanilla
> fcn <- Matrix::Matrix
> environment(fcn)
> quit("yes") # saves the workspace in an .RData file
# Loading the .RData file at startup triggers 'Matrix' to be loaded
$ R --quiet --no-init-file -e
Can you be more specific about what conditions cause R to automatically load a
package when a .RData file is loaded? My experience has actually been the
opposite.
On October 22, 2020 6:13:11 PM PDT, Henrik Bengtsson
wrote:
>As Jeff says, it might be that you have a ~/.Rprofile file with
>instr
On Thu, 22 Oct 2020 18:13:11 -0700
Henrik Bengtsson wrote:
> As Jeff says, it might be that you have a ~/.Rprofile file with
> instructions to load packages when R starts. It could also be that
> you have a .RData file, which is saved if you answer yes to:
>
> > Save workspace image? [y/n/c]:
As Jeff says, it might be that you have a ~/.Rprofile file with
instructions to load packages when R starts. It could also be that
you have a .RData file, which is saved if you answer yes to:
> Save workspace image? [y/n/c]: y
when you quit R. If this file exists, then R loads it and all the
o
Have you looked into your .Rprofile file? Loading packages is not something R
normally does without your telling it to do so, but many people forget that
they have done so.
On October 22, 2020 3:47:04 PM PDT, Michael L Friendly
wrote:
>[env: Windows, R 3.6.6]
>
>When I start R from the R Gui i
[env: Windows, R 3.6.6]
When I start R from the R Gui icon or from RStudio, I get a large number of
packages loaded via a namespace. Not entirely clear where these come from.
As a result, I often run into problems updating packages because something is
already loaded. How can start a new gui s
6 matches
Mail list logo