package ‘ggbiplot’ is not available (for R version 3.5.3)?

Alvaro B picture Alvaro B · Mar 24, 2019 · Viewed 11.8k times · Source

Warning in install.packages :

package ‘ggbiplot’ is not available (for R version 3.5.3)

tried every options I found to install this package. is it not available to this version of R? have I other way to use ggbiplot on my RStudio?

Answer

Dirk Eddelbuettel picture Dirk Eddelbuettel · Mar 24, 2019

As per its repository's README.md under Installation, you need

library(devtools)
install_github("vqv/ggbiplot")

Edit: Based on your comment, I am running this now in a fresh Docker container of r-base. It works without a hitch:

> library(devtools)                         
> install_github("vqv/ggbiplot")                                              
Downloading GitHub repo vqv/ggbiplot@master  
[...stuff deleted here for brevity...]
* installing *source* package ‘ggbiplot’ ...
** R
** data
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (ggbiplot)
>

So it works as I claimed it would. In between, it required another little diversion as this package apparently is not part of the tinyverse either requiring all this:

Installing 10 packages: colorspace, ggplot2, gtable, labeling, 
munsell, plyr, RColorBrewer, reshape2, scales, viridisLite

That notwithstanding, the original suggestions held just as promised.