[ESS] Mac OSX 10.10.1 Yosemite can't find R

Paul Johnson p@u|john32 @end|ng |rom gm@||@com
Thu Jan 22 22:17:13 CET 2015


On Thu, Jan 22, 2015 at 2:33 PM, Stephen Eglen <S.J.Eglen using damtp.cam.ac.uk>
wrote:

>
> > This system
> >
> > Student in my office now showing me Emacs with ESS (From Vincent Goulet's
> > website) and when we open an R file, all seems well.
> >
> > Hit the big blue R
> > Searching for program: No such file or directory, R
> >
> > Preliminary googling indicates Yosemite has done something to change the
> > PATH or the way R is in the PATH (or not).
>
> can you send a link?
>

I got a different Macbook Pro, updated it to Yosemite, and I have same
happy result that Vincent found--Emacs found R without a battle.

That means we need to get a config fix on the sick machine.  That's a
little bit encouraging.

Here are some posts from other Mac users about similar problem.

"After an upgrade to Yosemite, R is no longer in PATH:"
http://apple.stackexchange.com/questions/151534/after-an-upgrade-to-yosemite-r-is-no-longer-in-path

Contention is that Yosemite environment has/had PATH twice, and one is
wrong, and depending on which app you use to check the PATH, you get
different answers.

Here's the best explanation I've found: "Getting Yosemite and R to play
nice"
https://gist.github.com/dill/277028c6e5d654cac52a

I have a feeling that this is best understood as a PATH or environment
problem, but there is a lot of advice floating about with fixes.

There's an R bug report "OSX 10.10 Yosemite: child processes don't inherit
PATH (which breaks Sys.which)
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16042


Resulting in weird advice like this

http://www.compmath.com/blog/2014/10/r-and-rstudio-incompatibility-with-yosemite-mac-os-x-10-10/
and
https://stat.ethz.ch/pipermail/r-sig-mac/2014-October/011141.html
more


We verified on that student's computer that the old RStudio failed, but the
new one did find R. RStudio related commentary
https://support.rstudio.com/hc/communities/public/questions/202162993-pdflatex-problem-on-OsX-10-10-Yosemite

pj

-- 
Paul E. Johnson
Professor, Political Science      Assoc. Director
1541 Lilac Lane, Room 504      Center for Research Methods
University of Kansas                 University of Kansas
http://pj.freefaculty.org               http://quant.ku.edu

	[[alternative HTML version deleted]]




More information about the ESS-help mailing list