Hello,
I initially tried installing highcharter package, but dependencies were not getting installed so I installed utf8 package on our Linux server but receiving below error:
Error: package or namespace load failed for ‘utf8’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/opt/R/R-4.2.1/library/00LOCK-utf8/00new/utf8/libs/utf8.so': /opt/R/R-4.2.1/library/00LOC
We are using R: 4.2.1 and Linux Centos 7
I raised a support case and tried three suggestions with the analyst but received the same error:
- Modified rstudio-connect.gcfg > Restarted the service > Installed package using binaries
[RPackageRepository "CRAN"]
URL=https://packagemanager.posit.co/cran/__linux__/centos7/latest
-
Ran this command: options(install.packages.compile.from.source = "never")
-
Ran below commands:
export R_VERSION=4.2.1
/opt/R/R-${R_VERSION}/bin/R
install.packages('utf8')
The analyst thinks this is a complier issue in R and suggested to post it here.
This is my first time posting so I may be missing some important information. Please let me know if you need more info. Thank you in advance!