OpenMx Error Messages
jarrode28
Joined: 03/01/2010
model "does not contain a RAM objective function"
Hi,
I'm having some trouble and have been getting an error message that reads:
"Error: The RAM model 'MZ' does not contain a RAM objective function."
What has me perplexed is that I specify what OpenMx should take into account when evaluating the model (for both groups in a BG study):
mxFIMLObjective(covariance="R", means="M", dimnames=manifests, thresholds="expThresholds")
mxAlgebra(expression=MZ.objective + DZ.objective, name="minus2sumll" ),
mxAlgebraObjective("minus2sumll")
Thank you for any insight.
bverhulst
Joined: 03/08/2010
Loading the snowfall Package
Hi All,
I am not sure that I should post this question here or on a more general R discussion board, but here goes.
I am trying to use the snowfall package with OpenMx to use the independent = TRUE function in the mxModel command.
I am able to load the snowfall package, but when I try sfInit(parallel=T, cpus=2) the computer is fed into an infinite loop.
The first time that this happened, Windows asked for special permission to go through the Firewall (which I allowed).
- Read more about Loading the snowfall Package
- 4 comments
- Log in or register to post comments
carey
Joined: 10/19/2009
dumbfounded (or dumb) on error message
perplexed over this:
> thisOMxModel <- mxRun(thisOMxModel)
Running testModel
Error in substituteOperators(as.list(retval)) :
internal error -3 in R_decompress1
In addition: Warning message:
In substituteOperators(as.list(retval)) :
restarting interrupted promise evaluation
to get the MxModel, go to:
http://psych.colorado.edu/~carey/OpenMxGUI/weirdErrorMessage.php
everything appears normal. e.g.,
> class(thisOMxModel$MZf@data@observed$Neglect1)
[1] "ordered" "factor"
> class(thisOMxModel$MZf@data@observed$Neglect2)
[1] "ordered" "factor"
- Read more about dumbfounded (or dumb) on error message
- 7 comments
- Log in or register to post comments
tbates
Joined: 07/31/2009
How to report your error: Attach the SCRIPT if possible
Help is much easier to provide if you
1. clearly state the error (quote it from the R output)
2. give the steps to reproduce
3. attach the script that generates the error
(can this please be made sticky so it sticks at the top of the list?)
MNivard
Joined: 12/09/2010
Error in FUN(X[[2L]], ...) : Could not find function with name + and 1 arguments
Running NucTwFam
Error in FUN(X[[2L]], ...) :
Could not find function with name + and 1 arguments
So it would appear from this error I am summing a matrixobject and empty space (hence the could not find a function for one sided summing???) in one of my mxAlgebra functions.
However I have extensively checked my code for a "+" in an maAlgebra function lead by or trailed by a non matrix object or just whitespace. I could not find such a occurence.
I am running OpenMX 1.0.6 in R 2.11
Any sugestions?
Michel
userzht
Joined: 02/19/2011
abnormally error
Hi, everyone.
I constructed a Cholesky ACE model. When I drop parameters, one submodel (after mxRun()) showed this error:
The job for model 'AE_Cholesky' exited abnormally with the error message: Objective function returned an infinite value.
How can I deal with it? (Other submodels of similar type which dropped different parameters did run.)
- Read more about abnormally error
- 1 comment
- Log in or register to post comments
Ryne
Joined: 07/31/2009
Error crashed parallel run
32-bit Windows box running 4 cores; got the same error under R 2.11 and 2.12.1 and OpenMx 1.0.4, 1.0.5 and 1.0.6. Error does not replicate on Mac OS X 10.6.6.
Simulation study with 10 independent submodels, each submodel containing two dependent submodels. The error, in response to running model called 'Full':
Running Full
Error in do.call("fun", lapply(args, enquote)) :
could not find function "fun"
- Read more about Error crashed parallel run
- 4 comments
- Log in or register to post comments
neale
Joined: 07/31/2009
BootstrapParallel error
Hi (Michael)
When I run models/nightly/BootstrapParallelNightly.R
I get:
> modelResults <- mxRun(topModel, silent=TRUE, suppressWarnings=F)
Error in checkForRemoteErrors(val) :
5000 nodes produced errors; first error: unused argument(s) (useOptimizer)
Has there been a change which affects this argument?
Cheers
Mike
- Read more about BootstrapParallel error
- 3 comments
- Log in or register to post comments
wuhao_osu
Joined: 09/07/2010
R forced closed due to non pd cov matrix
Code as below. I think it is due to a non positive definite covariance input. When this is fixed, all is fine.
A pop -up says R for windows GUI front end has stopped working.
require(OpenMx)
varnames<-c("BIC1","SSC1","BIC2","SSC2");
dataMZ<-dataDZ<-matrix(diag(1,4),nrow=4,ncol=4,dimnames=list(varnames,varnames));
dataDZ[1,2]<-dataDZ[2,1]<-1.2;
p<-2;
pstar<-p*(p+1)/2;
diagind<-(diag(p)==1);
nMZ<-84;
nDZ<-33;
varnames<-c("BIC1","SSC1","BIC2","SSC2");
LA<-mxMatrix(type="Lower",nrow=p,ncol=p,free=T,values=0,
label=paste("a",1:pstar,sep=""),name="LA");
- Read more about R forced closed due to non pd cov matrix
- 1 comment
- Log in or register to post comments
svrieze
Joined: 01/03/2010
Error in .subset(x, j) : invalid subscript type 'list'
Hello, not sure this is the best place for this question, but here goes.
I have a growth curve and I'm using the age at assessment as a definition variable in the factor loadings. There is missing data, both in the observed variables and the definition variables. It's an ACE twin model. The script is pasted below.
I am getting an error message I've never seen before:
------begin output-------
growthMalesFit <- mxRun(growthMales)
Running growthMales
Error in .subset(x, j) : invalid subscript type 'list'
------end output--------
Can anyone explain? Thanks for your time!
Pagination
- Previous page
- Page 10
- Next page