OpenMx Installation

Posted on
Picture of user. camelia Joined: 12/26/2010

Error message: package 'OpenMx' is not installed for 'arch=i386'

Hi,
on an i7 windows machine, I installed R 2.12.1 and try to install OpenMx from a stick, as the machine has no internet.

I downloaded OpenMx_1.0.6-1581.zip and in R (32 bit version) install using

install.packages(pkgs="d:/camelia/OpenMx_1.0.6-1581.zip",repos=NULL).

The install results in: package OpenMx successfully unpacked and MD5 sums checked.

Library(OpenMx) results in
Error: package 'OpenMx' is not installed for 'arch=i386'

I also tried this with R 2.12.2 (32 bit version).

I though I was following instuctions from a previous response to a similar question.

Posted on
No user picture. Hermine Joined: 07/31/2009

Error in registerS3method

After sourcing the latest version of OpenMx on a Windows XP machine running R 2.9.2, we get the following error upon 'require(OpenMx):

require(OpenMx)
Loading required package: OpenMx
Error in registerS3method(Info[i, 1], Info[i, 2], Info[i, 3], env) :
no slot of name "methods" for this object of class "derivedDefaultMethod"
In addition: Warning message:
package 'OpenMx' was built under R version 2.11.0

Any suggestions on how to fix this?

Thanks,
Roseann & Hermine.

Posted on
No user picture. ppinel Joined: 11/23/2010

downloading 1.0.2

Hi

I need to install a OpenMx version that work on 2.10 (as only this version in an avalaible version for Linux on R-CRAN website and we need to test it soon).
I think that openMX 1.0.2 is ok for that. However, I coudl not install it with the
source('http://openmx.psyc.virginia.edu/getOpenMx.R') command
that directly goes to the last openMX version...
how could I do ?
thanks!

P
ps: I did not find anything related to that question on the forum....

Posted on
Picture of user. Steve Joined: 07/30/2009

Installing OpenMx 1.0.3 for OS X under R 2.11

Currently, if you have R 2.11, the installation script installs the OpenMx version compiled for R 2.12 and complains that 2.12 must be installed in order for OpenMx 1.0.3 to run.

I thought we were still supporting 2.11.

Posted on
No user picture. pgseye Joined: 10/13/2009

Install without internet access?

Hi,

I tried a model last week that was still running after 4 days and was really consuming too much CPU for efficient computer use. I've got an older Windows box that I don't really use for anything and thought I might just let the models run on that to free up my normal machine. But it's not really connectable to the net to download OpenMx - can you install off a USB drive somehow?

Thanks,

Paul

Posted on
Picture of user. John Williams Joined: 10/18/2010

Error compiling on GNU/Linux (Ubuntu)

Hi,

Firstly, thank you very much indeed for your efforts in providing this wonderful tool to the R "community". I'm trying to install it on a 32-bit GNU/Linux environment (Ubuntu Maverick, to be precise) with R 2.12.0. When compiling from source the build fails because it can't find the function or variable "errno". Is there are fix or workaround available? Thanks again,

John

> trying URL 'http://openmx.psyc.virginia.edu/packages/src/contrib/OpenMx_1.0.1-1464.tar.gz'
[snip]

* installing *source* package ‘OpenMx’ ...
checking for gcc... gcc

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

Improving OS X OpenMx Performance with Default libRblas

We have found that the default blas (basic linear algebra system) libraries supplied with R for MAC OS X have poor performance. Specifically, the following three commands, executed as root in a Terminal.app window reduces OpenMx execution time by 75% in some cases (ymmv).

cd /Library/Frameworks/R.framework/Libraries
sudo rm libRblas.dylib
sudo ln -s libRblas.0.dylib libRblas.dylib

Note that these commands simply reconfigure the link, they don't actually delete any libraries. To *undo* these commands one could do the following:

cd /Library/Frameworks/R.framework/Libraries

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

Installing OpenMx in Fedora distribution

I have observed this for a while in two 32-bit and one 64-bit computers with Fedora 13.

When I installed OpenMx inside R with a root account by source('http://openmx.psyc.virginia.edu/getOpenMx.R'), I got the following errors:

** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library '/usr/lib/R/library/OpenMx/libs/OpenMx.so':
/usr/lib/R/library/OpenMx/libs/OpenMx.so: cannot restore segment prot after reloc: Permission denied
ERROR: loading failed
* removing ‘/usr/lib/R/library/OpenMx’

Posted on
No user picture. sara.moruzzi Joined: 08/12/2010

Problems in installing windows 7-64 bit R version 2.11.1 (2010-05-31)

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Warning in install.packages(pkgs = c("OpenMx"), repos = repos) :
argument 'lib' is missing: using 'C:\Users\Sara\Documents/R/win64-library/2.11'
Warning: unable to access index for repository http://openmx.psyc.virginia.edu/packages/bin/windows64/contrib/2.11
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘OpenMx’ is not available

any suggestions?

Thank you!!

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

Preparing for R 2.12.x

The R developers are aiming for a release of 2.12.0 sometime this fall. Here's what I would like to do with the OpenMx binary releases when the new version of R is released.