[R] curl package new_handle() error on Centos7

WU Degang dwu@b @end|ng |rom @|umn|@u@t@hk
Wed Sep 25 13:24:04 CEST 2019


Hi everyone,

I am using R-3.6.0 on CentOS 7.7. I got the following error message when I typed �curl::curl_download(url,tempfile())�:

Error in new_handle() : An unknown option was passed in to libcurl

Because of this error, I cannot use devtools::install_github. The version of curl is the one that comes with CentOS 7.7: curl 7.29.0. My R session info:

R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS:   /home/opt/software/R-3.6.0/lib64/R/lib/libRblas.so
LAPACK: /home/opt/software/R-3.6.0/lib64/R/lib/libRlapack.so

locale:
[1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8       LC_NAME=C
[9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] curl_4.1        RCurl_1.95-4.12 bitops_1.0-6

loaded via a namespace (and not attached):
[1] compiler_3.6.0

How can I deal with this error?

Regards,
Degang


	[[alternative HTML version deleted]]



More information about the R-help mailing list