Message saying would you like to use a private library instead when trying to install a package

0 votes

I'm trying to install a package in R called epiR and the console opens this dialog for me.

install.packages('epiR')

what do i do ?

Nov 21, 2018 in Data Analytics by Ali
• 11,360 points
20,100 views

2 answers to this question.

0 votes
Your system does not contain a personal library where all the packages will be saved. When a dialog appears asking if you’d like to use a personal library instead, click on yes.
answered Nov 21, 2018 by Maverick
• 10,840 points
0 votes

This question appears if your user environment is restricted such as on a cooperate network. Opening [R] with administrative privileges will resolve the issue. 

So say no

On windows open [R] by right clicking and selecting "Run as Administrator"

answered Nov 4, 2019 by Goose
• 140 points
If this situation is continued, do i have to selet "Run as Administrator" every time?
Hi, There,

As a shortcut, holding Shift + Ctrl while double-clicking the file will also start the program.
thanks for replying me :D.

But what i wanted to know is don't repeating again this situation.

Could you please  tell me how to solve this situation?

Hey, @There,

Yes, it's possible to configure an app to always run as an administrator to save some unnecessary steps. if you are using Windows 10 and to set a particular application to always run as an administrator, use these steps:

  • Open Start.
  • Search for the app that you want to run elevated.
  • Right-click the top result, and select Open file location.
  • Right-click the app shortcut and select Properties.
  • Click on the Shortcut tab.
  • Click the Advanced button.
  • Check the Run as administrator option.
  • Click the OK button.
  • Click the Apply button.

And if you are using any other Windows then let me know if you face any other problem.

Hope this helps.

thank you for your kindness!

your method was really helpful :D

Related Questions In Data Analytics

+1 vote
1 answer
+1 vote
1 answer

Error saying cannot open file 'file.pdf' when trying to save a plot in ggplot

You could try adding the following line ...READ MORE

answered Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
7,910 views
0 votes
1 answer

Lot of errors when trying to install R package "igraph"

change your ~/.R/Makevars file as C=gcc-5 CXX=g++ CXX1X = g++-5 CFLAGS = ...READ MORE

answered Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
1,682 views
0 votes
1 answer

Error saying "duplicate 'row.names' are not allowed" when trying to setup my data for the mlogit-package

Take out the chid.var argument in your call to mlogit.data, ...READ MORE

answered Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
1,955 views
0 votes
1 answer

Error saying " cannot open the connection" when trying to install a package in R

Try install.packages(“package_name”, repos="http://cr ...READ MORE

answered Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
9,034 views
+1 vote
1 answer
0 votes
1 answer

R error: when installing packages from terminal

I faced the same problem, you must set ...READ MORE

answered Dec 14, 2018 in Data Analytics by Sophie may
• 10,620 points
2,729 views
0 votes
1 answer

Error saying "Error in df$item : object of type 'closure' is not subsettable" when trying to use arules package

Try replacing ID <- c("A123","A123","A123","A123","B456","B456","B456") item <- c("bread", "butter", ...READ MORE

answered Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,630 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP