OpenMx doesn't work with R 2.10.0

Latest version of R breaks install of OpenMx on Windows platform at least.

I've issued a bug report with the R developers. Once the email passes moderator approval, I'll post a link to the bug report here. In the meantime, I'd say use R 2.9.2 on windows. There is a patch for building R from source on windows using R 2.10.0. That works, I need to check in the patch to our repository today. However you probably need to upgrade to the new version of Rtools (it might work with the old version, but it's not supposed to work): http://www.murdoch-sutherland.com/Rtools/

As of r956 it is possible to build OpenMx from source on Windows machines using R 2.10.0. Rtools 2.9 and 2.10 both successfully compile the package, but I would recommend upgrading Rtools if you upgrade R.

It looks like this will be fixed in R 2.10.1. See the thread here: https://stat.ethz.ch/pipermail/r-devel/2009-November/055441.html. A tip of the hat to Duncan Murdoch.

Aha. Probably tomorrow or in two days, the following patched binary of R 2.10.0 will work: http://cran.stat.ucla.edu/bin/windows/base/rpatched.html. Huzzah!

Great! That this has been resolved so quickly after reporting the problem is really impressive, many thanks.

Update. The patch has not been applied yet to the 2.10.0 development branch. I've been assured that it will happen "soon".

I've tested the 2.10.0 patched release, as of 2009-11-17 (r50456), and it loads the OpenMx library. So download the patched release of R, or use the workaround listed here: http://openmx.psyc.virginia.edu/installing-openmx.

Just upgraded my intel laptop to R version 2.10.0 (2009-10-26)

[R.app GUI 1.30 (5511) i386-apple-darwin9.8.0]

Now getting this error on loading OpenMx

> library(OpenMx)
Error: package 'OpenMx' is not installed for 'arch=i386'

Any clues?

OK: The error is that 2.10.0 installs R.app and R64.app and the library is compiled only for the 64bit app.

Is that how things are supposed to work? (i.e., package is not fat for 32/64?)

We need more information. Which version of OS X are you running? Are you installing OpenMx from the binary release or the subversion trunk? If installing from source, remember to close R, svn update and then make clean install.

OS X = snow leopard
OpenMx from SVN
svn updated, R closed, make clean install.... lead to the error.

Seems to need me to open R64.app, not R.app

Ah I see the problem. Snow Leopard defaults to 64-bit libraries whenever possible. Since the NPSOL binary now contains a 64-bit version in the compile, it would seem as if you must use the 64-bit version of R. I'm not an OS X person, so I don't know how to get the R build system to select the 32-bit library. I would just migrate everything to the 64-bit version, since that's what Steve Jobs wants you to do.

True enough. The NPSOL library is triple fat, but OS-X 10.6 defaults to 64bit. I never saw this because I run R from the command line and the default 64 bit behavior is built into the command line invocation of R 2.10.0 under OS-X 10.6.

In the long term, 32bit is going away for OS-X. Hasta la vista.

Automatically closed -- issue fixed for 2 weeks with no activity.