Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2012-01-26 Thread Peter Carr
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

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2012-01-26 Thread Simon Urbanek
On Jan 26, 2012, at 4:44 PM, Peter Carr wrote: 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

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2012-01-26 Thread Peter Carr
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

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2012-01-26 Thread Peter Carr
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

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2012-01-25 Thread Prof Brian Ripley
On 25/01/2012 01:22, Steve Lianoglou wrote: Hi Peter, On Tue, Jan 24, 2012 at 8:06 PM, Peter Carrpc...@broadinstitute.org wrote: 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

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2012-01-24 Thread Steve Lianoglou
Hi Peter, On Tue, Jan 24, 2012 at 8:06 PM, Peter Carr pc...@broadinstitute.org wrote: 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.

[R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Marius Hofert
Hi, I have multiple R versions installed and would like to switch between them via setting the symblic link Current. To make this a bit more convenient, I defined two aliases in .bashrc: alias R2.13='d=/Library/Frameworks/R.framework/Versions; rm $d/Current; ln -s $d/2.13 $d/Current' alias

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Martin Ellis
I'm not sure if you're already aware of RSwitch (available at http://r.research.att.com/), but it seems like it might be useful for what you're trying to do. Cheers, Martin On 11 October 2011 11:24, Marius Hofert marius.hof...@math.ethz.ch wrote: Hi, I have multiple R versions installed and

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Marius Hofert
Hi Martin, thanks, but I'm aware of that. I was looking for the command-line approach :-) Cheers, Marius On 2011-10-11, at 12:43 , Martin Ellis wrote: I'm not sure if you're already aware of RSwitch (available at http://r.research.att.com/), but it seems like it might be useful for what

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Simon Urbanek
On Oct 11, 2011, at 6:24 AM, Marius Hofert wrote: Hi, I have multiple R versions installed and would like to switch between them via setting the symblic link Current. To make this a bit more convenient, I defined two aliases in .bashrc: alias

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Simon Urbanek
On Oct 11, 2011, at 10:35 AM, Marius Hofert wrote: On 2011-10-11, at 16:19 , Simon Urbanek wrote: On Oct 11, 2011, at 6:24 AM, Marius Hofert wrote: Hi, I have multiple R versions installed and would like to switch between them via setting the symblic link Current. To make this a

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Marius Hofert
You permissions are odd - this is not what installed R looks like, you should see ginaz:Versions$ ls -l total 8 drwxrwxr-x 6 root admin 204 Mar 26 2010 2.12 drwxrwxr-x 6 root admin 204 Jul 12 15:44 2.13 drwxrwxr-x 6 root admin 204 Oct 2 11:01 2.14 drwxrwxr-x 6 root admin

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Simon Urbanek
On Oct 11, 2011, at 10:46 AM, Marius Hofert wrote: You permissions are odd - this is not what installed R looks like, you should see ginaz:Versions$ ls -l total 8 drwxrwxr-x 6 root admin 204 Mar 26 2010 2.12 drwxrwxr-x 6 root admin 204 Jul 12 15:44 2.13 drwxrwxr-x 6 root admin

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Martin Ellis
You'll need to run the chown command using sudo, if the files are owned by root. Martin On 11 October 2011 15:46, Marius Hofert marius.hof...@math.ethz.ch wrote: You permissions are odd - this is not what installed R looks like, you should see ginaz:Versions$ ls -l total 8 drwxrwxr-x  6

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Marius Hofert
*thanks* a lot, it now works! Cheers, Marius On 2011-10-11, at 16:48 , Simon Urbanek wrote: On Oct 11, 2011, at 10:46 AM, Marius Hofert wrote: You permissions are odd - this is not what installed R looks like, you should see ginaz:Versions$ ls -l total 8 drwxrwxr-x 6 root admin