[R-SIG-Mac] Installing Rmpi on Mavericks

2014-02-28 Thread Paul Johnson
I have had success in installing Rmpi on Mavericks, and it may be helpful to others: I first installed *gfortran* and *open-mpi*: brew install gfortran brew install open-mpi Then in R I installed Rmpi using this command: *install.packages(Rmpi, type=source,

[R-SIG-Mac] ./configure fails when creating R 2.15.3

2013-03-08 Thread Paul Johnson
I'm subscribing to R-devel, where may be the proper place to post this query. Sorry. I have a reason to create R from the source code. I have a MacBook Pro running OS X 10.8.2. I've downloaded 'gfortran-4.2.3.pkg' and installed Fortran. I downloaded R-2.15.3 and tried to do a ./configure. The

Re: [R-SIG-Mac] Conflict between embedded R and use of NSString class method

2012-10-28 Thread Paul Johnson
:37 PM, Paul Johnson wrote: I'm trying to use embedded R (REngine). In my own code I call the NSString class method '+stringWithContentsOfFile:encoding:error:'. Unfortunately, I can't because the embedded R that I include using '#import Rengine.h' redefines 'error' and the compiler

[R-SIG-Mac] (1) Just ignore warning messages? and (2) Using graphics output from R in a Cocoa program

2012-10-14 Thread Paul Johnson
Simon, I wonder if you can clarify/expand on the following statement you made: Probably the easiest way would be to simply let Cocoa Quartz create the view and grab it for yourself. I have a simple test program that uses REngine and that calls R with a sequence of statements like s1 = [re

Re: [R-SIG-Mac] (1) Just ignore warning messages? and (2) Using graphics output from R in a Cocoa program

2012-10-14 Thread Paul Johnson
Thanks, Simon! On Sun, Oct 14, 2012 at 8:59 PM, Simon Urbanek simon.urba...@r-project.orgwrote: Paul, On Oct 14, 2012, at 2:04 PM, Paul Johnson wrote: Simon, I wonder if you can clarify/expand on the following statement you made: Probably the easiest way would be to simply let Cocoa

[R-SIG-Mac] Where is assignTo:value: defined?

2012-09-04 Thread Paul Johnson
I'm trying to compile a sample Objective-C program that uses R using the REngine wrapper. I found some code that includes the line [re assignTo:@a value:ax]; re is an REngine object. The compiler and I can't find any method with the selector assignTo:value:. Here is the mystery statement in

[R-SIG-Mac] (1) Just ignore warning messages? and (2) Using graphics output from R in a Cocoa program

2012-08-31 Thread Paul Johnson
I'm looking at using REngine which provide a wrapper for using R from an Objective-C/Cocoa program. I checked out the branch from the packages repository. I'm currently running Mac OS X 10.7.4 with Xcode 4 and the default compiler. The compiler reports one use of a deprecated function and I fixed

[R-SIG-Mac] SIZE_MAX is required for C99 error

2012-08-29 Thread Paul Johnson
I'm trying to compile a test program, written in Objective-C, that illustrates calls to R. I've installed R.framework for version 2.15.1. I have a MacBook Pro running OS X 10.7.4. I am getting the error SIZE_MAX is required for C99. Can someone suggest how to remove this error?