[R-SIG-Mac] Best installation approach of R on Mavericks for Emacs/Homebrew users?

Grant Rettke gcr at wisdomandwonder.com
Mon Jun 2 03:00:09 CEST 2014


Good evening folks,

Here is how to install R on OSX 10.9 Mavericks as of 2014-06-01T19:29:55-0500:

brew install gcc
brew tap homebrew/science
brew install R

Details:

gcr at orion:~> gcc --version
gcc (GCC) 4.8.3
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gcr at orion:~> r --version
R version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.2.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
http://www.gnu.org/licenses/.


Via: http://www.wisdomandwonder.com/article/8626/how-to-install-r-on-osx-10-9-mavericks-as-of-2014-06-01t192955-0500
Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
gcr at wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Thu, May 22, 2014 at 5:04 AM, Rainer M Krug <Rainer at krugs.de> wrote:
> peter dalgaard <pdalgd at gmail.com> writes:
>
>> On 22 May 2014, at 10:53 , Rainer M Krug <Rainer at krugs.de> wrote:
>>
>>> peter dalgaard <pdalgd at gmail.com> writes:
>>>
>>>> On 22 May 2014, at 00:32 , Vincent Goulet <vincent.goulet at me.com> wrote:
>>>>
>>>>> Ok, I'm biased here, but for me (and my students!) the simple procedure is:
>>>>>
>>>>> 1. Install the R binary from CRAN;
>>>>>
>>>>> 2. Install my Emacs distribution for OS X that comes bundled with ESS: http://vgoulet.act.ulaval.ca/en/emacs/mac
>>>>
>>>> 2a. (variant) Install Aquamacs, which also comes with ESS and AUCTeX.
>>>
>>> There are differning opinions about Aquamacs (Macified version of emacs
>>> and bundled with some packages) or emacs - I decided (after using Linux
>>> for several years) to use emacs, due to
>>>
>>> 1) compatibility with other OS (different config files for emacs and
>>> Aquamacs)
>>
>> Hmm, maybe. I try not to go beyond the things that are settable via
>> Customize, and that seems to be pretty much the same as in plain Emacs
>> (and Emacs itself has changed things between versions too.) Except for
>> a few TeX convenience settings (electric braces, math mode on by
>> default) what I change is mostly machine-specific anyway (fonts,
>> modifier keys).
>
> My statement is based on reading and on initial tries to get Aquamacs
> working with my config which I failed, while the normal emacs loaded the
> config from linux immediately (after the packages required were installed).
>
>>
>>> 2) Same keyboard shortcuts between OS
>>
>> For the common things, you actually have both the Mac and the Emacs
>> Shortcuts available. I.e., you can either mark out a region and do c-w
>> / c-y or cmd-x / cmd-v to cut and paste. It is mostly a matter of self
>> discipline to avoid the standard commands.
>
> Agreed here.
>
>>
>>> 3) newer versions of emacs then used in Aquamacs
>>>
>>
>> Currently, both are at 24.3. The emacs that ships with Mavericks is at 22.1, though.
>
> Yes - currently.
>
> and don't get me started on the default versions included on the mac -
> it sometimes sounds like a technology museum of ancient computer history
> ...
>
> But as I said below, I am sure Aquamacs will do the job as well and
> possibly faster to get going then traditional emacs.
>
> Cheers,
>
> Rainer
>
>>
>>> But I am sure Aquamacs makes some things easier then using emacs, but I
>>> think emacs fits better tigether with the idea of using homebrew, while
>>> Aquamacs fits better to the approach of using native Mac installers.
>>
>>>
>>> --
>>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
>>>
>>> Centre of Excellence for Invasion Biology
>>> Stellenbosch University
>>> South Africa
>>>
>>> Tel :       +33 - (0)9 53 10 27 44
>>> Cell:       +33 - (0)6 85 62 59 98
>>> Fax :       +33 - (0)9 58 10 27 44
>>>
>>> Fax (D):    +49 - (0)3 21 21 25 22 44
>>>
>>> email:      Rainer at krugs.de
>>>
>>> Skype:      RMkrug
>>>
>>> PGP: 0x0F52F982
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Stellenbosch University
> South Africa
>
> Tel :       +33 - (0)9 53 10 27 44
> Cell:       +33 - (0)6 85 62 59 98
> Fax :       +33 - (0)9 58 10 27 44
>
> Fax (D):    +49 - (0)3 21 21 25 22 44
>
> email:      Rainer at krugs.de
>
> Skype:      RMkrug
>
> PGP: 0x0F52F982
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list