OpenMX installation on R version 3.1.0 Mac

Posted on
No user picture. CarolKan Joined: 04/17/2014
Dear all

I am a new user to OpenMX and cannot download it onto the new version of R (see error message below) and I do not know how to download the older version of R (ie. 3.0) onto my Mac.

Any help will be much appreciated,
Carol

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Warning: unable to access index for repository http://openmx.psyc.virginia.edu/sequential/bin/macosx/contrib/3.1

package ‘OpenMx’ is available as a source package but not as a binary

Warning message:
package ‘OpenMx’ is not available (for R version 3.1.0)

Replied on Thu, 04/17/2014 - 16:27
Picture of user. mhunter Joined: 07/31/2009

Hi Carol,

OpenMx is not currently built for R 3.1.0. To use OpenMx I think you'll have to use R 3.0.

If you go to the CRAN webpage (http://cran.us.r-project.org/), click "Download R for (Mac) OS X". Toward the bottom you'll see "old", underneath "tools", "contrib", "mavericks", etc.. Click "old". Scroll down to "R-3.0.3.pkg". Click that to download it, then install it. Sorry for the inconvenience. We will be working to get OpenMx released for the new version of R soon.

Replied on Fri, 04/18/2014 - 11:47
No user picture. CarolKan Joined: 04/17/2014

In reply to by mhunter

Thank you for helping me.

I downloaded R 3.0.3 and managed to downloaded OpenMX

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
trying URL 'http://openmx.psyc.virginia.edu/sequential/bin/macosx/contrib/3.0/OpenMx_1.4-3059.tgz'
Content type 'application/x-gzip' length 3952270 bytes (3.8 Mb)
opened URL
==================================================
downloaded 3.8 Mb

The downloaded binary packages are in
/var/folders/_g/jw6g8l8j4wx6t49fdlmgvt_40000gn/T//RtmpAXc9ob/downloaded_packages

But:
> install.packages("OpenMX")
--- Please select a CRAN mirror for use in this session ---
Warning message:
package ‘OpenMX’ is not available (for R version 3.0.3)

and
> require(OpenMX)
Loading required package: OpenMX
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘OpenMX’

I am probably still doing something wrong. Sorry.

Kind regards
Carol

Replied on Sat, 04/26/2014 - 13:43
Picture of user. tbates Joined: 07/31/2009

Openmx is now running with the current version of R.
All you need is:


source('http://openmx.psyc.virginia.edu/getOpenMx.R')
require(OpenMx)