Dear R-experts,
Here below my sessionInfo( ). I cannot download the pcalg package/library. Is my R version too old ?
sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS:?? /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
Random number generation:
?RNG:???? Mersenne-Twister
?Normal:? Inversion
?Sample:? Rounding
?
locale:
[1] fr_CH.UTF-8/fr_CH.UTF-8/fr_CH.UTF-8/C/fr_CH.UTF-8/fr_CH.UTF-8
attached base packages:
[1] stats???? graphics? grDevices utils???? datasets? methods?? base??? ?
loaded via a namespace (and not attached):
[1] compiler_4.1.2 tools_4.1.2?
install.packages("pcalg")
Installation du package dans ?/Users/Caro/Library/R/4.1/library?
(car ?lib? n'est pas sp?cifi?)
Avis : unable to access index for repository http://cran.cict.fr/src/contrib:
? impossible d'ouvrir l'URL 'http://cran.cict.fr/src/contrib/PACKAGES'
Avis : unable to access index for repository http://cran.cict.fr/bin/macosx/contrib/4.1:
? impossible d'ouvrir l'URL 'http://cran.cict.fr/bin/macosx/contrib/4.1/PACKAGES'
Message d'avis :
le package ?pcalg? n'est pas disponible for this version of R
Une version de ce package pour votre version de R est peut-?tre disponible ailleurs,
Voyez des id?es ?
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Problem downloading pcalg library/package
6 messages · Ivan Krylov, varin sacha
On Thu, 24 Mar 2022 12:54:46 +0000 (UTC)
varin sacha via R-help <r-help at r-project.org> wrote:
Avis : unable to access index for repository http://cran.cict.fr/src/contrib: impossible d'ouvrir l'URL 'http://cran.cict.fr/src/contrib/PACKAGES' Avis : unable to access index for repository http://cran.cict.fr/bin/macosx/contrib/4.1: impossible d'ouvrir l'URL 'http://cran.cict.fr/bin/macosx/contrib/4.1/PACKAGES'
I can't open these links either. It looks like the CRAN mirror you're using is down. Use chooseCRANmirror() to set a different one. See ?Rprofile for some information on where this choice might be stored on your system.
Best regards, Ivan
Dear Ivan, I have changed my CRANmirror to the Switzerland (ETHZ) one using the function you sent to me chooseCRANmirror( ). It still does not work ! I still cannot install the pcalg package ! chooseCRANmirror()
install.packages("pcalg")
Installation du package dans ?/Users/Caro/Library/R/4.1/library? (car ?lib? n'est pas sp?cifi?) Avis : unable to access index for repository https://stat.ethz.ch/CRAN/src/contrib: ? impossible d'ouvrir l'URL 'https://stat.ethz.ch/CRAN/src/contrib/PACKAGES' Avis : unable to access index for repository https://stat.ethz.ch/CRAN/bin/macosx/contrib/4.1: ? impossible d'ouvrir l'URL 'https://stat.ethz.ch/CRAN/bin/macosx/contrib/4.1/PACKAGES' Message d'avis : le package ?pcalg? n'est pas disponible for this version of R Le jeudi 24 mars 2022, 14:06:16 UTC+1, Ivan Krylov <krylov.r00t at gmail.com> a ?crit : On Thu, 24 Mar 2022 12:54:46 +0000 (UTC)
varin sacha via R-help <r-help at r-project.org> wrote:
Avis : unable to access index for repository http://cran.cict.fr/src/contrib: impossible d'ouvrir l'URL 'http://cran.cict.fr/src/contrib/PACKAGES' Avis : unable to access index for repository http://cran.cict.fr/bin/macosx/contrib/4.1: impossible d'ouvrir l'URL 'http://cran.cict.fr/bin/macosx/contrib/4.1/PACKAGES'
I can't open these links either. It looks like the CRAN mirror you're using is down. Use chooseCRANmirror() to set a different one. See ?Rprofile for some information on where this choice might be stored on your system.
Best regards, Ivan
On Thu, 24 Mar 2022 13:29:45 +0000 (UTC)
varin sacha <varinsacha at yahoo.fr> wrote:
I have changed my CRANmirror to the Switzerland (ETHZ) one using the function you sent to me chooseCRANmirror( ). It still does not work ! I still cannot install the pcalg package !
That's odd.
Do you see any error messages if you run the following command?
download.file('https://stat.ethz.ch/CRAN/src/contrib/PACKAGES',
'PACKAGES')
Maybe it would work if you set a different
options(download.file.method)? Available options are: "internal",
"libcurl", "wget", "curl".
Best regards, Ivan
Ivan,
Here is what I get :
download.file('https://stat.ethz.ch/CRAN/src/contrib/PACKAGES','PACKAGES')
essai de l'URL 'https://stat.ethz.ch/CRAN/src/contrib/PACKAGES'
Erreur dans download.file("https://stat.ethz.ch/CRAN/src/contrib/PACKAGES",? :
? impossible d'ouvrir l'URL 'https://stat.ethz.ch/CRAN/src/contrib/PACKAGES'
De plus : Message d'avis :
Dans download.file("https://stat.ethz.ch/CRAN/src/contrib/PACKAGES",? :
? URL 'https://stat.ethz.ch/CRAN/src/contrib/PACKAGES': statut 'Peer certificate cannot be authenticated with given CA certificates'
Le jeudi 24 mars 2022, 14:39:03 UTC+1, Ivan Krylov <krylov.r00t at gmail.com> a ?crit :
On Thu, 24 Mar 2022 13:29:45 +0000 (UTC)
varin sacha <varinsacha at yahoo.fr> wrote:
I have changed my CRANmirror to the Switzerland (ETHZ) one using the function you sent to me chooseCRANmirror( ). It still does not work ! I still cannot install the pcalg package !
That's odd.
Do you see any error messages if you run the following command?
download.file('https://stat.ethz.ch/CRAN/src/contrib/PACKAGES',
'PACKAGES')
Maybe it would work if you set a different
options(download.file.method)? Available options are: "internal",
"libcurl", "wget", "curl".
Best regards, Ivan
On Thu, 24 Mar 2022 14:00:35 +0000 (UTC)
varin sacha <varinsacha at yahoo.fr> wrote:
'Peer certificate cannot be authenticated with given CA certificates'
This error message is an important clue, but I'm not sure where it leads. It could indicate a problem with your system or your R installation. Try asking at R-SIG-Mac <r-sig-mac at r-project.org>. Meanwhile, try setting different values for options(download.file.method = ...) before attempting package installation. Perhaps one of the available options, which include "internal", "libcurl", "wget", "curl", would work.
Best regards, Ivan