Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?
Corrected with the '-m32' flag for each of the compilers. On 1/26/12 5:22 PM, Peter Carr wrote: I get compiler errors: ld: duplicate symbol _Rf_mkChar in CommandLineArgs.o and CConverters.o However, I did not explicitly use 32-bit. Is this a compiler flag? I will look into it. On 1/26/12 5:15 PM, Simon Urbanek wrote: 2) specifically to R 2.5, which I need, I get compiler errors. > You'll have to share much more detail. Note that such an ancient version of R may not be buildable on your system without SDKs for older OS X versions (and note that recent Xcode tools default to 64-bit which was not supported back then so you may need to use 32-bit). ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?
I get compiler errors: ld: duplicate symbol _Rf_mkChar in CommandLineArgs.o and CConverters.o However, I did not explicitly use 32-bit. Is this a compiler flag? I will look into it. On 1/26/12 5:15 PM, Simon Urbanek wrote: 2) specifically to R 2.5, which I need, I get compiler errors. > You'll have to share much more detail. Note that such an ancient version of R may not be buildable on your system without SDKs for older OS X versions (and note that recent Xcode tools default to 64-bit which was not supported back then so you may need to use 32-bit). ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?
That thread does help and it provides enough information to solve most of my problem. However, it is not clear to me how to change the R_HOME directory so that it is not in the /Library/Frameworks/R.framework directory. This is important to me because I am providing a tool which will automatically install R and I don't want my tool to replace an existing version of R. I tried building from source, and immediately ran into two problems: 1) I don't know enough to know how to configure my build so that it doesn't use the Frameworks location 2) specifically to R 2.5, which I need, I get compiler errors. I'd like to simply take apart the framework build I get when install from the R-2.5.1.dmg. However, I'd also like this to work, even when I move this to a different location on my file system. I appreciate some guidance on this last step. Thanks, Peter ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?
I, too, would like to run multiple versions of R, via command line, on Mac OS X. I have looked in vain for a clear explanation of why there can be one and only one 'Current' version of R running at a time. After running the installer, I manually edit the /Library/Frameworks/Versions//Resources/bin/R script. Replacing the '/Library/Frameworks/R.framework/Resources' with '/Library/Frameworks/R.framework/Versions/2.14/Resources'. Is this sufficient to support multiple versions of R on a Mac? Thanks, Peter ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac