OpenMx Installation

Posted on
Picture of user. tbates Joined: 07/31/2009

Suggestion for install URL install.packages('OpenMx', repos='http://openmx.psyc.virginia.edu/testing/')

Instead of having users access a blind URL and run a a blind script, i wonder if a one-liner like this might be easier to follow for people?

Suggested new instruction

install.packages('OpenMx', repos='http://openmx.psyc.virginia.edu/testing/')

Current

source("http://openmx.psyc.virginia.edu/getNewOpenMx.R")
# which runs this silently
repos <- c('http://openmx.psyc.virginia.edu/testing/')
install.packages(pkgs=c('OpenMx'), repos=repos)
Posted on
Picture of user. wibeasley Joined: 11/11/2011

Incorporating OpenMx in documentation examples of other packages.

I'm on a grant whose goal is to develop reliable kinship links to facilitate BG and other developmental studies with the NLSY samples (eg, http://www.bls.gov/nls/nlsy79.htm). We're developing an R package (cran.r-project.org/web/packages/NlsyLinks/) that assists with many of the common manipulations and analyses. We're targeting all BG researchers who are interested in the NLSY, including those with limited experience in R.

OpenMx seems like a natural fit for our examples, but I'm hesitant to use it in our basic documentation, because of two deployment issues:

Posted on
Picture of user. DavidCross Joined: 06/27/2011

Can't install OpenMx on Mac OS X 10.7.2 (Lion) running R version 2.14.0

R version 2.14.0 (2011-10-31)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

...

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Warning: unable to access index for repository http://openmx.psyc.virginia.edu/packages/bin/macosx/leopard/contrib/2.14
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘OpenMx’ is not available (for R version 2.14.0)

Any ideas?
TIA

Posted on
Picture of user. rabil Joined: 01/14/2010

gcc4.6 and libnpsol.a and Ubuntu 11.10 - How Can I Get OpenMx to Install?

I'm running Ubuntu 11.10 on a Dell Inspiron 1545 laptop (Intel). How can I fix this? Thanks for any suggestions. Where can I get libnpsol.a?

R version 2.13.1 (2011-07-08)

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'http://openmx.psyc.virginia.edu/packages/src/contrib/OpenMx_1.1.1-1785.tar.gz'
Content type 'application/x-gzip' length 6362441 bytes (6.1 Mb)
opened URL
==================================================
downloaded 6.1 Mb

Posted on
Picture of user. Mike Cheung Joined: 10/08/2009

Installation problem with OpenMx 1.1.1 with R 2.13.1 in Fedora 15

I usually have problems in installing OpenMx in Fedora 15 with
source('http://openmx.psyc.virginia.edu/getOpenMx.R')

My guess is that Fedora 15 uses gcc4.6 while OpenMx comes with gcc4.4. The following is the error message:
checking for inst/npsol/linux/x86/gcc4.6/libnpsol.a... no
configure: error: npsol library not found
ERROR: configuration failed for package ‘OpenMx’

Posted on
Picture of user. Dorothy Bishop Joined: 02/04/2010

Installation problem with R2.10.1

Sorry folks. I've not been using R or OpenMx for about a year and am very rusty. Just tried to update to latest OpenMx. Seemed to work and I can see the folder for OpenMx in my R library directory, but I get error message if I require(OpenMx). So console is as follows:
> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
trying URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.10/OpenMx_1.1.0-1764.zip'
Content type 'application/zip' length 2298749 bytes (2.2 Mb)
opened URL
downloaded 2.2 Mb

package 'OpenMx' successfully unpacked and MD5 sums checked

Posted on
No user picture. Jean Joined: 11/10/2009

Problem with installing OpenMx on R 2.13

Hi I tried the method provided by Horn to solve the problem. However, it does not work. I still receive the error message like:

> require(OpenMx)
Loading required package: OpenMx
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/OpenMx/libs/x86_64/OpenMx.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/OpenMx/libs/x86_64/OpenMx.so, 6): no suitable image found. Did find:

Posted on
No user picture. bethe Joined: 06/27/2011

Installation error (Ubuntu)

Hi,

Just tried to install OpenMx and encountered the following error:

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Error in ret[i, ] <- c(pkgs[i], lib, desc) :
number of items to replace is not a multiple of replacement length

I have R version 2.13.0 on Ubuntu 10.10 (32 bits)

Thanks for any help in advance.

Posted on
Picture of user. Ryne Joined: 07/31/2009

OpenMx source build failed on revision 1624

I received an error on the 'resave-data' option in my most recent source build on OS X 10.6.7 from revision 1624.

Ryne-Estabrook:trunk Ryne$ make clean install
rm -rf build/*
rm -rf models/passing/temp-files/*
rm -rf models/failing/temp-files/*
cd build; R CMD build --resave-data=no ..
Unknown option: resave-data
Usage: R CMD build [options] pkgdirs

Build R packages from package sources in the directories specified by
pkgdirs.

Options:
-h, --help print short help message and exit
-v, --version print version info and exit

Posted on
No user picture. jkarch Joined: 03/15/2011

Failed with error: ‘package 'OpenMx' is not installed for 'arch=x64'’ Windows 7 R 2.12.2

I just tried to install Openmx on my computer. The result is as follows

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Installing package(s) into ‘C:\Users\jkarch\Documents/R/win-library/2.12’
(as ‘lib’ is unspecified)
trying URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.12/OpenMx_1.0.6-1581.zip'
Content type 'application/zip' length 2180329 bytes (2.1 Mb)
opened URL
downloaded 2.1 Mb

package 'OpenMx' successfully unpacked and MD5 sums checked

The downloaded packages are in