You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am new to R and I need to use the Clp solver, I am trying to install it as:
install.packages('https://github.com/coin-or/Clp')
Installing package into ‘C:/Users/eahme/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘https://github.com/coin-or/Clp’ is not available for this version of R
install.packages('https://github.com/coin-or/Clp', repos = NULL, type = "win.binary")
Installing package into ‘C:/Users/eahme/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://github.com/coin-or/Clp'
downloaded 232 KB
Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
cannot open compressed file 'Clp/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection
So it seems this is not available for this R version? can anyone help, please? thanks
The text was updated successfully, but these errors were encountered:
I'm not sure what you're trying to do. This repository aka https://github.com/coin-or/Clp is not an R package so it is not suprising that it can't be installed. "install.packages" does not support installing random github projects. Even if it would be possible to deal with any (possibly non-standard) build system imaginable you won't be able to call a C++ library from R. This repository does not contain any code to enable calling Clp from R (or any other language other than C/C++).
Consult the help page of "install.packages" if necessary.
What you want is some R package wrapping Clp (or Cbc). According to https://cran.r-project.org/web/views/Optimization.html the package "rcbc" from https://github.com/dirkschumacher/rcbc might be useful. Please check this yourself, I can't tell whether it is useful, useless or even malicious.
Disclaimer: I have never used any Coin-or solver from R.
Hi,
I am new to R and I need to use the Clp solver, I am trying to install it as:
install.packages('https://github.com/coin-or/Clp')
Installing package into ‘C:/Users/eahme/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘https://github.com/coin-or/Clp’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Then, tried:
install.packages('https://github.com/coin-or/Clp', repos = NULL, type = "win.binary")
Installing package into ‘C:/Users/eahme/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://github.com/coin-or/Clp'
downloaded 232 KB
Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
cannot open compressed file 'Clp/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection
So it seems this is not available for this R version? can anyone help, please? thanks
The text was updated successfully, but these errors were encountered: