Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install packages #337

Open
slfan2013 opened this issue Mar 12, 2019 · 1 comment
Open

unable to install packages #337

slfan2013 opened this issue Mar 12, 2019 · 1 comment

Comments

@slfan2013
Copy link

slfan2013 commented Mar 12, 2019

I am trying to install an R packages "pcorr" in my opencpu website. But it returns an error of
unable to install packages.
The warning message says 'lib = "/usr/lib/R/library"' is not writable.

So I tried to change my lib when using install.packages(). But none of them works.

Here are the libs that I tried

/usr/local/lib/R/site-library /usr/local/lib/opencpu/site-library /usr/lib/R/site-library /usr/lib/R/library /usr/lib/opencpu/library

Here is the console.

Please help. Thank you!

@Hellseher
Copy link

If you want to install any packages to /usr/ you need WRITE permission, so I guess you tried to install them under normal unprivileged user.

Try

su; R

or

sudo R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants