Skip to content
Prev 9958 / 15075 Next

R.app doesn't respect DYLD_FALLBACK_LIBRARY_PATH

Hi,
On Thu, Aug 8, 2013 at 1:42 PM, Tom Schoenemann <toms at indiana.edu> wrote:
I believe this is due to the phenomenon explained here:
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x

Look for the answer that starts with "Up to and including Lion"

Also you'll find a link to a free preference pane you can install that
lets you handle these things with a GUI (pref pane) -- I've never used
it, but you can find it here:

http://diaryproducts.net/EnvPane
https://github.com/hschmidt/EnvPane

You could also try to manually set the environment variable in your
working R session, via:

R> Sys.setenv(DYLD_FALLBACK_LIBRARY_PATH="/Library/Frameworks/R.framework/Resources/lib")

not sure if that'll work, but easy enough to try before.

Still -- it's possible that DYLD vars won't work in this way. See this:
http://support.apple.com/kb/TS4267

Sorry -- no concrete answers here, but hopefully these things will
help you find a workable solution.

-steve