OpenMx Help

Posted on
No user picture. nhajal Joined: 05/18/2013

Windows 8

Is it possible to get Open MX on Windows 8? When I enter:
"source('http://openmx.psyc.virginia.edu/getOpenMx.R')" I keep getting the following error message:

Warning in install.packages(pkgs = c("OpenMx"), repos = repos) :
argument 'lib' is missing: using 'C:\Users\Tassie\Documents/R/win-library/2.10'
trying URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.10/OpenMx_1.3.2-2301.zip'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.10/OpenMx_1.3.2-2301.zip'

Posted on
Picture of user. pdeboeck Joined: 08/04/2009

_gfortran_copy_string

Hi Everyone,

I ran into this problem today while doing a new installation of OpenMx, and I was just curious if this looked familiar to anyone: "/nfs/home/pascal/R/x86_64-redhat-linux-gnu-library/2.15/OpenMx/libs/OpenMx.so: undefined symbol: _gfortran_copy_string"

Thanks!

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
1. single-threaded
2. multi-threaded [default]
Which version of OpenMx should I install? 1
Installing package(s) into '/nfs/home/pascal/R/x86_64-redhat-linux-gnu-library/2.15'
(as 'lib' is unspecified)

Posted on
Picture of user. Julia Joined: 03/29/2012

Multiple separator characters

Hello.
We are currently developing an environment in R which would allow us analysing data without physical sharing of them, i.e. data (from one or several sources) are located on external server(-s) and R commands are sent to that server via a secured authenticated network. Only restricted summary statistics would be sent back to the analysis computer without disclosing any data. I will not go into details here, but just to give an idea of what it is.

Posted on
No user picture. shaoyong.su Joined: 04/23/2013

how to deal with twin data with inexact zygosity diagnosis in OpenMx

Dear OpenMx experts,

I'm now working on a twin dataset with zygosity diagnosis is not exact, i.e. I only have one variable indicating the probability of one twin pair being MZ or DZ. In Mx we can "specify" this variable and "weight" it when estimating the covariance matrix. Dr. Neale has discussed this issue and provided the Mx script file here:
ftp://ftp.vcu.edu/pub/mx/examples/zygosity

The key commands are below:

G2: All twin pairs
Data NInput_vars=3 Nmodel=2
Labels t1 t2 pmz
Rectangular File=sim1.mz
Select t1 t2 pmz ;
Definition pmz ;

Matrices= Group 1
P Full 1 1

Posted on
No user picture. fnielsen Joined: 04/16/2013

Fail to Install on R 3.0 on Windows 7

I just upgraded to R 3.0 on my Windows 7 PC. I am now trying to reinstall OpenMx. I get the following error message:

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Warning: 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 message:
package ‘OpenMx’ is not available (for R version 3.0.0)

Any suggestion on what to do appreciated!

Posted on
No user picture. Lucía Joined: 04/11/2013

Error - NA values

Hi everybody,

I have been trying to run a model when checking the assumptions. It is a univariate analysis with an ordinal variable with two thresholds, and I have two covariates.

Everything seems to be fine, but I get this error message:

> baseFit <- mxRun( baseModel, intervals=FALSE )
Running base
Error: In model 'base' the thresholds in column 'BFEED12th_01' of matrix/algebra 'fMZ.expThreshfMZ' contain NA values. Only the first 2 elements of this column are inspected.

Do you know what may be happening?

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

Definition Variables in Constraints and Confidence Intervals

I'm trying to build a simple auto-lagged model for some simulated data. The observations are simple ar(1) with 6 observations per subject and where the time points are irregular within and between subjecs. Eid in the Daily Life handbook (pp. 398-402) shows how to do this in MPlus.

The model works fine with equally spaced time points - I can get back the ar(1) value used in the simulation.

To handle unequal spacing, I'm using definition variables. The trick is to constrain the ar loadings. Suppose you have (a simple path diagram):

x1 --> x2 --> x3 --> x4 --> x5 --> x6

Posted on
No user picture. roffe Joined: 03/10/2013

Install fails on MacOS X, linker error: Symbol not found: __gfortran_pow_r8_i4

I'm on a Mid-2009 MacBook Pro, Latest Mountain Lion, MacPorts GNU compilers and R 2.15.3.

These are the last relevant error message lines:

Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/opt/local/Library/Frameworks/R.framework/Versions/2.15/Resources/library/OpenMx/libs/x86_64/OpenMx.so':
dlopen(/opt/local/Library/Frameworks/R.framework/Versions/2.15/Resources/library/OpenMx/libs/x86_64/OpenMx.so, 6): Symbol not found: __gfortran_pow_r8_i4

Posted on
No user picture. dadrivr Joined: 01/19/2010

Estimate individuals' values or scores on a latent variable

Is it possible with OpenMx to estimate individuals' values or scores on a latent variable? For example, using the one factor model (http://openmx.psyc.virginia.edu/svn/trunk/demo/OneFactorModel_PathRaw.R), is it possible to estimate what each case's value is on the latent factor? If so, how can this be done?

Thanks in advance!

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

how to test is a model is a RAM model

The new 2-part objectives in OpenMx mean an older method for testing if a model is a RAM model don't work

I used to say this:

(isS4(obj) && is(obj, "MxModel") && class(obj$objective)[1] == "MxRAMObjective")

What code do people recommend for backward (and preferably forward compatible testing of model type? Do we need to add a type= field to MXModel?

best, tim