Open MX for R 3.0.1

15 replies [Last post]
JVaske's picture
Offline
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

tbates's picture
Offline
Joined: 07/31/2009
OpenMx Runs on R 3.0.x now

Just for users reading this thread: OpenMx has been running on R 3 since Jan 2014

psunthud's picture
Offline
Joined: 02/14/2012
Any updates for the OpenMx for R version 3.0.2

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

Mike Cheung's picture
Offline
Joined: 10/08/2009
Dear OpenMx Developers, I

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

neale's picture
Offline
Joined: 07/31/2009
Please try the new R 3.0 compatible OpenMx

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

Mike Cheung's picture
Offline
Joined: 10/08/2009
Hi Mike, Many thanks for the

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

leslie.shaw's picture
Offline
Joined: 12/19/2013
Any plans for R 3.0

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.

taylor2545's picture
Offline
Joined: 06/09/2013
What is

What is RStudio?

tbates's picture
Offline
Joined: 07/31/2009
RStudio

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

taylor2545's picture
Offline
Joined: 06/09/2013
Thanks

Thanks tbates!

tbrick's picture
Offline
Joined: 07/31/2009
Not quite supported

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.

iloo's picture
Offline
Joined: 05/26/2010
R 3.0.2

Hi,
I'm wondering how the work with getting OpenMx to run on R >2.15 on windows/linux is going?

AdminHunter's picture
Offline
Joined: 03/01/2013
We believe we have

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!

jlessem's picture
Offline
Joined: 09/24/2009
That's good to hear. I'm

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.

tbates's picture
Offline
Joined: 07/31/2009
Looks like R 3 will be the way to go

Hi Jeff,
Given OpenMx is running under R 3 and Windows 64, that's the way to go now.... Far more hassles downgrading people and failing to run modern packages like devtools due to people being on R 2.1XX

JVaske's picture
Offline
Joined: 06/08/2013
Thank you so much for your

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!