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 the package "flipMultivariates" caused by possible permission denied #9

Open
LuciaPelliccia opened this issue Jul 9, 2020 · 3 comments

Comments

@LuciaPelliccia
Copy link

Windows version: 10 Pro
Rstudio version: 3.6.1

Initially i encountered a problem during the installation of some packages like "rlang", "dplry", ... due
to the following error: "unable to remove previous version". I solved this first error installing each one of
them individually restarting RStudio each time.

Annotazione 2020-07-09 124832

After that i found a different error that i'm not able to solve. During the installation of the package "rhtmlLabeledScatter", RStudio seems to be unable to create the declared folder inside /AppData/Local/Temp.
May it be related to some permission issue?

Thanks in advance.

@jrwishart
Copy link
Contributor

RStudio can sometimes have issues installing packages. Have you attempted to do the installation via the standard windows RGui.exe or even via R CMD INSTALL? Depending on you library location, it also might require administrator privileges. It is hard to pinpoint exactly since your setup might have directory permission issues as you mentioned.

@ninsignares
Copy link

Hi @LuciaPelliccia.
I solved the problem by running R as administrator. I tried package installation on my personal Mac and it ran smoothly, so I came back to my job laptop and run R as administrator, with an user outside corporate domain and it ran just perfect.

I strongly recommend to install all Displayr packages from a R Gui launched from an administrator user.

I have to say, in advance, that I always install R in a D:\R folder, so all users that have access to my laptop can use it. So if you are not administrator and you has not installed your R version in a folder outside your user environment, this solution may fail, because packages will be installed in the admin user personal folder. However, give it a try and come back with news about it.

If you can become an administrator for your pc, the best solution could be ask for it.

Stay safe!

Nelson

@andeancondor
Copy link

andeancondor commented Apr 1, 2021

I followed this answer on the "rhtmlDonut" issue webpage, i replace the "Displayr/rhtmlDonut" with "Displayr/flipMultivariates" and it did the job.

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

4 participants