[R-SIG-Mac] Compiling R.app with 2.12 on Intel Mac 10.4

Nick Matzke matzke at berkeley.edu
Tue Mar 29 09:20:19 CEST 2011


Hi all,

Slightly weird question, I'm mostly hoping there is some 
obvious thing that I am missing.

At the moment, I am stuck on a 10.4 machine (32-bit Intel 
mac).  However, there is an R package I need to use, that 
requires R 2.12.  So, being brave, I downloaded the R 2.12.2 
source and compiled that.  That part worked fine.

Then, since I like R.app, I downloaded the source for the 
most recent version of that ( Mac-GUI-1.35 ) and compiled it 
using Xcode 2.5.

It actually seems to work, installs packages, etc.  However 
the one weird thing I am noticing is that when I type a 
variable name that does not exist yet, R.app crashes as follows:

=============
 > undefined_variable
Error: object 'undefined_variable' not found

  *** caught bus error ***
address 0x0, cause 'non-existent physical address'

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:
=============

Similar errors do not occur in the command line R 2.12.2, 
nor in previous versions of R.app on my computer.

One possibility is that in my xcode compilation my Active 
Build Configuration was "Development", not "Deployment" -- 
however, the compilation threw an error when I switched it 
to "Deployment".

Any thoughts/help appreciated. Cheers!
Nick




-- 
====================================================
Nicholas J. Matzke
Ph.D. Candidate, Graduate Student Researcher

Huelsenbeck Lab
Center for Theoretical Evolutionary Genomics
4151 VLSB (Valley Life Sciences Building)
Department of Integrative Biology
University of California, Berkeley

Graduate Student Instructor, IB200B
Principles of Phylogenetics: Ecology and Evolution
http://ib.berkeley.edu/courses/ib200b/
http://phylo.wikidot.com/


Lab websites:
http://ib.berkeley.edu/people/lab_detail.php?lab=54
http://fisher.berkeley.edu/cteg/hlab.html
Dept. personal page: 
http://ib.berkeley.edu/people/students/person_detail.php?person=370
Lab personal page: 
http://fisher.berkeley.edu/cteg/members/matzke.html
Lab phone: 510-643-6299
Dept. fax: 510-643-6264

Cell phone: 510-301-0179
Email: matzke at berkeley.edu

Mailing address:
Department of Integrative Biology
3060 VLSB #3140
Berkeley, CA 94720-3140

-----------------------------------------------------
"[W]hen people thought the earth was flat, they were wrong. 
When people thought the earth was spherical, they were 
wrong. But if you think that thinking the earth is spherical 
is just as wrong as thinking the earth is flat, then your 
view is wronger than both of them put together."

Isaac Asimov (1989). "The Relativity of Wrong." The 
Skeptical Inquirer, 14(1), 35-44. Fall 1989.
http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm



More information about the R-SIG-Mac mailing list