Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

r

ggbiplot

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?

like image 272
Alvaro B Avatar asked Oct 27 '25 10:10

Alvaro B


1 Answers

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.

like image 82
Dirk Eddelbuettel Avatar answered Oct 29 '25 02:10

Dirk Eddelbuettel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!