[R] Error while installing xml2 package in R

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Tue Nov 26 16:14:17 CET 2019


This may or may not fix your problem but I avoid installing R packages in system libraries... using user libraries without running R as root or with sudo makes life much simpler unless you are a professional sysadmin.

On November 26, 2019 7:06:48 AM PST, Manish Gupta <mandecent.gupta using gmail.com> wrote:
>I am getting following error while installing xml2 package in R.
>
>install.packages("xml2")
>
>Error :  unable to load shared object
>'/usr/local/lib/R/site-library/00LOCK-xml2/00new/xml2/libs/xml2.so':
>
>libiconv.so.2: cannot open shared object file: No such file or
>directory
>
>it seems it require libconv library but installing libiconv-hook-dev
>does
>nos solve the problem.
>how such issue can be solved?

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-help mailing list