Reputation: 77
I would like to use the ggbiplot function in R. I tried to install the devtools package first, but it doesn´t work.
I am using R studio Version 1.2.1335 and have a mac with version 10.14.5
Tried different types of code
install.packages("devtools") library(devtools) install_github("vqv/ggbiplot") library(ggbiplot)
or
library(devtools) install_github("ggbiplot", "vqv")
and i tried to answer this questiion Do you want to install from sources the packages which need compilation? y/n: with y and n
install.packages("devtools") also installing the dependencies ‘fs’, ‘usethis’, ‘testthat’
There are binary versions available but the source versions are later: binary source needs_compilation fs 1.2.7 1.3.1 TRUE usethis 1.4.0 1.5.1 FALSE testthat 2.0.1 2.2.1 TRUE devtools 1.13.6 2.1.0 FALSE
Do you want to install from sources the packages which need compilation? y/n: n versuche URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/fs_1.2.7.tgz'
downloaded 728 KB
versuche URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/testthat_2.0.1.tgz'
downloaded 1.6 MB
The downloaded binary packages are in /var/folders/c0/sg0bg4dx2vz4qw6zdqgc4fpr0000gn/T//RtmpaTVVAF/downloaded_packages installing the source packages ‘usethis’, ‘devtools’
versuche URL 'https://cran.rstudio.com/src/contrib/usethis_1.5.1.tar.gz'
downloaded 605 KB
versuche URL 'https://cran.rstudio.com/src/contrib/devtools_2.1.0.tar.gz'
downloaded 370 KB
The downloaded source packages are in ‘/private/var/folders/c0/sg0bg4dx2vz4qw6zdqgc4fpr0000gn/T/RtmpaTVVAF/downloaded_packages’
library(devtools) there is no package called ‘devtools’
Upvotes: 0
Views: 3797
Reputation: 13
I had the same issue (macOS Catalina 10.15.3, R version 3.6.2) and solved it by first installing 'openssl@1.1'
If you have homebrew you can install this via the command line 'brew install openssl@1.1'
(you also need Xcode and command line tools installed!)
Upvotes: 1