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 <[hidden email]> wrote:
>I am getting following error while installing xml2 package in R.
>Error : unable to load shared object
>libiconv.so.2: cannot open shared object file: No such file or
>it seems it require libconv library but installing libiconv-hook-dev
>nos solve the problem.
>how such issue can be solved?