Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

package is in use and will not be installed

Tags:

r

Using R x64 3.2.3 I get this message:

> install.packages("stringr")
Installing package into ‘C:/Users/leews/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Error: package ‘stringr’ is in use and will not be installed

what I have to do??

like image 637
이원석 Avatar asked Mar 01 '16 11:03

이원석


People also ask

Why can I not install packages on R?

Make sure that the package is available through CRAN or another repository, that you're spelling the name of the package correctly, and that it's available for the version of R you are running.

Why I Cannot install RStudio?

Check firewall, proxy settings, and antimalware As a result, it is possible a (software-based) firewall, network setting, or antimalware program is blocking access to RStudio. If you have a firewall, HTTP or HTTPS proxy configured, add localhost and 127.0. 0.1 to the list of approved Hosts and Domains.


1 Answers

Try

detach("package:stringr", unload = TRUE)
install.packages("stringr", dependencies=TRUE)
like image 94
RHertel Avatar answered Oct 05 '22 05:10

RHertel