How to specify (non-R) library path for dynamic library loading in R?
问题 I keep getting the following error when attempting to install readxl or haven in R (both dependencies of tidyverse ) post-compilation, when the installer runs the loading test: ** testing if installed package can be loaded Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '<my_lib_Path>/readxl/libs/readxl.so': <my_lib_path>/readxl/libs/readxl.so: undefined symbol: libiconv Error loading failed I have libiconv.so in a local lib path (not for R packages) that is