t; [1] ".GlobalEnv""package:stats" "package:graphics"
> "package:grDevices" "package:utils" "package:datasets" "package:methods"
> "Autoloads" "package:base"
>>
>
&g
"package:base"
Any suggestion where to look?
I'd add code to print the values of x and test to confirm that things
are proceeding as you expect. I don't know if print() or cat() will
work there; you might need to use message().
For attaching packages, you should see ?S
; search()
[1] ".GlobalEnv" "package:stats" "package:graphics"
"package:grDevices" "package:utils" "package:datasets" "package:methods"
"Autoloads" "package:base"
>
Any s
their .Rprofile to get customised way how to start R.
Best regards
Petr
> -Original Message-
> From: Duncan Murdoch
> Sent: Tuesday, March 21, 2023 1:55 PM
> To: PIKAL Petr ; r-help
> Subject: Re: [R] Rprofile.site and automatic installation of missing
> packages
>
&g
?Startup says: "Note that when the site and user profile files are
sourced only the base package is loaded, so objects in other packages
need to be referred to by e.g. utils::dump.frames or after explicitly
loading the package concerned."
So you need utils::installed.packages and utils::insta
Dear all.
I am trying to install missing (not installed) packages during startup of R
through code in Rprofile.site but I miserably failed and I am not sure what
I am doing wrong.
R is installed to C:Program files but it is not writable for the users,
therefore I cannot change Rprofile.site
6 matches
Mail list logo