Re: [R] Installing multiple packages fails

2019-08-09 Thread Rich Shepard

On Fri, 9 Aug 2019, jim holtman wrote:


The first parameter needs to be a character vector:

install.packages(c("Blossom","INLA","RTisean","RcppProgress","STRbook",
"askpass","classInt","ellipsis","generics","lpSolve","
odesolve","ranger","sf",
"sys","units") )


Jim,

Of course! I'm so used to installing single packages that I overlooked that.

Thanks very much,

Rich

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] Installing multiple packages fails

2019-08-09 Thread jim holtman
The first parameter needs to be a character vector:

 install.packages(c("Blossom","INLA","RTisean","RcppProgress","STRbook",
"askpass","classInt","ellipsis","generics","lpSolve","
odesolve","ranger","sf",
"sys","units") )

Jim Holtman
*Data Munger Guru*


*What is the problem that you are trying to solve?Tell me what you want to
do, not how you want to do it.*


On Fri, Aug 9, 2019 at 9:16 AM Rich Shepard 
wrote:

> Running 3.6.1 here and migrating from my old 32-bit server/workstation to a
> new 64-bit server/workstation (both running fully patched Slackware-14.2).
>
> On the old host .libPaths() returns "/usr/lib/R/library"; on the new host
> it
> returned nothing so I ran .libPaths("/usr/lib64/R/library") to create the
> system-wide library.
>
> First question is how I was able to print a dataframe list of installed
> libraries on the new host if the path was not defined?
>
> Second question is why I get an error on the new host after defining the
> library and running the install.packages() function:
>
> > install.packages("Blossom","INLA","RTisean","RcppProgress","STRbook",
>
> "askpass","classInt","ellipsis","generics","lpSolve","odesolve","ranger","sf",
> "sys","units")
>
> Warning in install.packages("Blossom", "INLA", "RTisean", "RcppProgress", :
>'lib = "INLA"' is not writable
>
> What have I missed or done incorrectly?
>
> TIA,
>
> Rich
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


[R] Installing multiple packages fails

2019-08-09 Thread Rich Shepard

Running 3.6.1 here and migrating from my old 32-bit server/workstation to a
new 64-bit server/workstation (both running fully patched Slackware-14.2).

On the old host .libPaths() returns "/usr/lib/R/library"; on the new host it
returned nothing so I ran .libPaths("/usr/lib64/R/library") to create the
system-wide library.

First question is how I was able to print a dataframe list of installed
libraries on the new host if the path was not defined?

Second question is why I get an error on the new host after defining the
library and running the install.packages() function:


install.packages("Blossom","INLA","RTisean","RcppProgress","STRbook",

"askpass","classInt","ellipsis","generics","lpSolve","odesolve","ranger","sf",
"sys","units")

Warning in install.packages("Blossom", "INLA", "RTisean", "RcppProgress", :
  'lib = "INLA"' is not writable

What have I missed or done incorrectly?

TIA,

Rich

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.