Bug 15966 - Should link to libR.dylib without full path
Summary: Should link to libR.dylib without full path
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Installation (show other bugs)
Version: R 3.1.1
Hardware: x86_64/x64/amd64 (64-bit) OS X Mavericks
: P5 normal
Assignee: R-core
Depends on:
Reported: 2014-09-08 01:01 UTC by ltzguy1@gmail.com
Modified: 2014-09-08 01:01 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description ltzguy1@gmail.com 2014-09-08 01:01:16 UTC
The standard installation of R on Mac OS X names libR.dylib with the full path name (through Versions/[version]/ etc.) to the library, and uses the full path in the R executable.  It would be better if the library were named libR.dylib and referred to that way in the R executable. 

Using the full path creates a problem if the user wants to have multiple builds of R installed or run simultaneously -- no matter how the environment variables are set, or what path is used to launch R, it will try to use the "Current" installation of R.

I've tried changing the id and link using the install_name_tool, and haven't found any errors or issues, through either the CLI or Rstudio.