简体   繁体   中英

R package installation which is removed from CRAN

I need to install RODBCext package, but this package is removed from cran. So I downloaded the package locally from its archive folder. I tried to install using the below command

install.packages("RODBCext.tar.gz",REPOS=NULL, type="SOURCE")

but the installations is throwing an error

"r installation of package had non-zero exit status"

how to avoid this issue and install the package?

The easier way to install your package is install from github:

pacman::p_load(devtools)
devtools::install_github('zozlak/RODBCext')
library(RODBCext)

Here is code. Try this;)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM