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.gu...@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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.