Open MX for R 3.0.1

Posted on
Picture of user. JVaske Joined: 06/08/2013
Hello,
I downloaded R and RStudio. In RStudio, I typed in:
> source('http://openmx.psyc.virginia.edu/getOpenMx.R')

This is the result that I got:
Warning in install.packages :
package ‘OpenMx’ is not available (for R version 3.0.1)
Installing package into ‘C:/Users/Jvaske/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
unable to access index for repository http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/3.0

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

Warning in install.packages :
package ‘OpenMx’ is not available (for R version 3.0.1)

Can you please advise me on how to upload Open MX given this message?
Thank you,
Jamie

Replied on Sun, 06/09/2013 - 10:57
Picture of user. tbrick Joined: 07/31/2009

Howdy.

As of the time of posting, OpenMx is still being updated to run smoothly on R 3.0 and higher; right now it's only built to work specifically with the previous version of R. We're hoping to have that fixed in the next few weeks.

If you don't want to wait for that, there are two solutions. I'm tailoring this to windows, since it looks like you're using a windows machine.

Option 1) You can install R 2.15 and use that instead. R 2.15 is available from CRAN (for windows, it's here. Then you can install OpenMx the usual way.

Option 2) You can still get OpenMx on R 3.0, but you have to install it from source. That means you need to install the R tools (from here). Then you can run a single-threaded source install by entering these lines in R:

repos <- c('http://openmx.psyc.virginia.edu/sequential/')
install.packages(pkgs=c('OpenMx'), repos=repos, type="source", configure.args=c('--disable-openmp'))

There's more information about building from source in this thread or on the HOWTO page.

OpenMx seems to run fine on R 3.0, except that you sometimes get some extra warnings. It looks like everything works normally, but because we haven't done heavy testing on it, it's possible there are some bugs we haven't caught. Please let us know if you find any--we'll do our best to fix them up as soon as we can.

Replied on Sun, 06/09/2013 - 16:48
Picture of user. JVaske Joined: 06/08/2013

In reply to by tbrick

Thank you so much for your quick response! I was able to download Open MX in R 3.0. However, I attempted to run a simple CFA model and it caused R to terminate. I downloaded R 2.15 and re-ran the model. I successfully ran the model using the R 2.15 version. Thanks again for your help!
Replied on Wed, 01/08/2014 - 10:43
Picture of user. AdminHunter Joined: 03/01/2013

In reply to by iloo

We believe we have successfully built binaries for Mac, Linux, and Windows using R 3.0.2. We need to test them a little more thoroughly, but soon they will be released!
Replied on Fri, 01/10/2014 - 18:03
No user picture. jlessem Joined: 09/24/2009

In reply to by AdminHunter

That's good to hear. I'm beginning to get things ready for the upcoming OpenMx workshop in Boulder.

Do you think it's best to use R 3.0.2 and wait for the official binaries, or go back to R 2.15.1?

It doesn't matter to me which I use, but I'd like to get it finalized in the next few weeks. Upgrading OpenMx later or even during the course is easy, but moving to a new (or old) version of R in the middle of the course will be a pain.

Replied on Tue, 06/11/2013 - 12:03
Picture of user. tbates Joined: 07/31/2009

In reply to by taylor2545

Let me google that for you :-)

http://lmgtfy.com/?q=RStudio

It's an environment for using R which a lot of people find easier to use than R.app

Replied on Thu, 12/19/2013 - 16:56
No user picture. leslie.shaw Joined: 12/19/2013

I read the comment about OpenMx working with R 3.0 but just with more warnings. Like the person who started this string of posts, I have not been able to get OpenMx to work past 2.15.3. Are there any plans in the works for an update to OpenMx.

I am asking not for my own computer, but because of a computing cluster that I use will soon go through an upgrade and they do not want to maintain 2 versions of R if they can avoid it.

Replied on Thu, 01/23/2014 - 20:31
Picture of user. psunthud Joined: 02/14/2012

Dear OpenMx Developers,

I am trying to update semTools and simsem packages. The current problem is that the Amelia package requires us to use R 3.0 or higher but the OpenMx package cannot be installed for R 3.0 or higher. Because the semTools and simsem packages have some functions that are applicable for the OpenMx package, we cannot compile them under R 3.0.2 (OpenMx cannot be installed). Could you please telling me the time you plan to finish it? I need to post the new updates soon because our packages cannot run properly with the new versions of some packages we are depending on. Thank you!

Best,
Sunthud

Replied on Thu, 01/23/2014 - 23:44
Picture of user. Mike Cheung Joined: 10/08/2009

In reply to by psunthud

Dear OpenMx Developers,

I would also like to see OpenMx working in R-3.0.2 and CRAN. I have an R package metaSEM that depends on OpenMx. I submitted a paper to a journal focusing on statistical software. The paper was rejected after the first round of the review (1 year and 2 months later).

One of the reasons for the rejection was related to OpenMx. The following is the direct quote: "There are, however, a few problems, which primarily related to the use of OpenMx, on which metaSEM depends to do computations: OpenMx is not on CRAN, and it won't run under the current version 3.0.2 of R (or any R 3.0.x, for that matter). Under Windows, OpenMx, and hence metaSEM, run only under the 32-bit version of R."

I appreciate the hard work the OpenMx Developers have done. I also understand that there are lots of work to make OpenMx compatible with R-3.0.2 and CRAN. OpenMx will definitely be more popular and useful if it is available in CRAN. More new R packages can then be based on it.

Best regards,
Mike

Replied on Mon, 01/27/2014 - 11:42
Picture of user. neale Joined: 07/31/2009

In reply to by Mike Cheung

Hi Mike

We also appreciate your choice of OpenMx for METASEM and apologize for the length of time it took to be R 3.0 compatible. The problems were not of our making and involved a great deal of work to resolve. For the future, we are working on a CRAN version which we hope to be ready later this year.

I would say that that particular reason for rejecting the paper was poor, and is now incorrect. It sounds like it comes from someone with a preference for some other software. In any case, I wish you luck with publishing your work somewhere with a faster turnaround.

Cheers
Mike

Replied on Tue, 01/28/2014 - 03:46
Picture of user. Mike Cheung Joined: 10/08/2009

In reply to by neale

Hi Mike,

Many thanks for the hard work of the OpenMx Core Development Team! I truly appreciate the contributions on OpenMx. The metaSEM package does not even exist without OpenMx. Since I am writing a book on the metaSEM package, I am looking forward to seeing OpenMx in CRAN.

Thanks for the encouragement.

Cheers,
Mike