Hello, I can't install any package in my rstudio server.
Error Information:
handle.c:30:1: error: unknown type name ‘curl_sslbackend’
30 | curl_sslbackend default_ssl_backend;
| ^~~~~~~~~~~~~~~
make: *** [handle.o] Error 1
ERROR: compilation failed for package ‘curl’
* removing ‘/home/zillur/R/x86_64-redhat-linux-gnu-library/3.6/curl’
* restoring previous ‘/home/zillur/R/x86_64-redhat-linux-gnu-library/3.6/curl’
The downloaded source packages are in
‘/tmp/Rtmpd72KnF/downloaded_packages’
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
installation of package ‘gdsfmt’ had non-zero exit status
2: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, :
installation of package ‘curl’ had non-zero exit status
Description of issue -
I can install packages using sudo in command line but unable to install anything on the regular rstudio server in browser which I need.
Steps taken so far -
I thought permission problem so I did:
chmod -R 777 /home/zillur/R
and restarted rstudio but nothing happened. I uninstalled whole rstudio-server and reinstalled but nothing happens.
System Information:
- RStudio Edition: Server
- RStudio Version: 1.2.1335
- OS Version: CentOS 7
- R Version: 3.6.
Also:
> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C 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 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RCurl_1.95-4.12 bitops_1.0-6 ClassDiscovery_3.3.12 oompaBase_3.2.9 cluster_2.1.0 biomaRt_2.40.4
[7] edgeR_3.26.8 limma_3.40.6
loaded via a namespace (and not attached):
[1] Rcpp_1.0.2 oompaData_3.1.1 BiocManager_1.30.4 pillar_1.4.2 compiler_3.6.0 prettyunits_1.0.2
[7] tools_3.6.0 progress_1.2.2 mclust_5.4.5 zeallot_0.1.0 digest_0.6.20 bit_1.1-14
[13] RSQLite_2.1.2 memoise_1.1.0 tibble_2.1.3 lattice_0.20-38 pkgconfig_2.0.2 rlang_0.4.0
[19] Matrix_1.2-17 DBI_1.0.0 rstudioapi_0.10 parallel_3.6.0 httr_1.4.1 stringr_1.4.0
[25] vctrs_0.2.0 S4Vectors_0.22.1 IRanges_2.18.2 hms_0.5.1 locfit_1.5-9.1 stats4_3.6.0
[31] bit64_0.9-7 grid_3.6.0 Biobase_2.44.0 R6_2.4.0 AnnotationDbi_1.46.1 XML_3.98-1.20
[37] magrittr_1.5 blob_1.2.0 backports_1.1.4 BiocGenerics_0.30.0 assertthat_0.2.1 stringi_1.4.3
[43] crayon_1.3.4
<
!-- Depending on your issue, the following may be useful /-->
- RStudio diagnostics report:
- Your
sessionInfo()
: - RStudio crash report:
- RStudio application log files: