An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20060125/90ad2abc/attachment.pl
compiling R.app when R.Framework is in ~/Library
4 messages · Roberto Canteri, stefano iacus, Simon Urbanek
Hi, you should change the settings in XCode so that R(.framework) headers can be found in proper places. Probably you should first drop away the R headers from the R.app project and add them again by drag and drop from your ~/Library stefano Il giorno 25/gen/06, alle ore 12:13, Roberto Canteri ha scritto:
Hi to everybody,
I would like to have R.Framework in the location ~/Library because I
am not anymore the admin of the laptop and I would like to be free
from asking to the admin for the installation and managing of R.
I' ve compiled and installed successfully R with --enable-R-
framework='~/Library/Frameworks/' to install it in local ~/Library.
Unfortunately I do not succed to compile R.app. First of all I
changed the location of R.Framework in the project but it was not
sufficient, infact I' ve got several error related to the following:
~/Mac-GUI/RController.m:33:15: error: R.h: No such file or directory
~/Mac-GUI/RController.m:34:22: error: Rversion.h: No such file or
directory
~/Mac-GUI/RController.m:35:24: error: Rinternals.h: No such file or
directory
~/Mac-GUI/RController.m:36:25: error: R_ext/Parse.h: No such file or
directory
~/Mac-GUI/RController.m:37:20: error: Fileio.h: No such file or
directory
~/Mac-GUI/RController.m:38:28: error: missing binary operator before
token "("
~/Mac-GUI/RController.m:43:18: error: Defn.h: No such file or
directory
Which changes are necessary to get a proper compilation? Many thanks
in advance for any help.
Roberto
[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac
On Jan 25, 2006, at 6:13 AM, Roberto Canteri wrote:
Hi to everybody, I would like to have R.Framework in the location ~/Library because I am not anymore the admin of the laptop and I would like to be free from asking to the admin for the installation and managing of R. I' ve compiled and installed successfully R with --enable-R- framework='~/Library/Frameworks/' to install it in local ~/Library. Unfortunately I do not succed to compile R.app. First of all I changed the location of R.Framework in the project but it was not sufficient,
That is true, you need to add ~/Library/Frameworks/R.framework/ Headers to the include path (-I) in the compiler options. R headers directory structure is not compatible with the way frameworks are included so we still need the to set the header path explicitly. Cheers, Simon
3 days later
Many thanks for the hints. I succed to build R.app by addressing the headers and framework in R project, plus changing 3 links in the file Info.plist. R.app works perfectly but if I delete the Mac-GUI folder it doesn't work anymore. Anyone knows how to fix it? Many thank in advance. Regards Roberto
On 26/gen/06, at 15:20, Simon Urbanek wrote:
On Jan 25, 2006, at 6:13 AM, Roberto Canteri wrote:
Hi to everybody, I would like to have R.Framework in the location ~/Library because I am not anymore the admin of the laptop and I would like to be free from asking to the admin for the installation and managing of R. I' ve compiled and installed successfully R with --enable-R- framework='~/Library/Frameworks/' to install it in local ~/ Library. Unfortunately I do not succed to compile R.app. First of all I changed the location of R.Framework in the project but it was not sufficient,
That is true, you need to add ~/Library/Frameworks/R.framework/ Headers to the include path (-I) in the compiler options. R headers directory structure is not compatible with the way frameworks are included so we still need the to set the header path explicitly. Cheers, Simon