Installing R-packages without sudo rights
0
0
Entering edit mode
2.9 years ago
Alexander ▴ 220

I'm trying to install different libraries in my user folder on maestro server (folder can be riched by ~/.local) :

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("GenomicRanges")

this produces an error:

checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’

I googled this and found that the following can help

sudo apt install libcurl4-openssl-dev

But since I'm on server I can't use sudo...

QUESTION: Is there any way to install those libraries without sudo rights ?

Thanks in advance!

server R • 2.1k views
ADD COMMENT
0
Entering edit mode

Are you able to use conda? Tried this already?

ADD REPLY
0
Entering edit mode

Totally agree with Wayne, conda is the best choice for non-root users if you want to install something

ADD REPLY

Login before adding your answer.

Traffic: 1554 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6