Li, Jia
2005-Sep-27 21:30 UTC
[Rd] Help: A application error and failed just-in-debugging.
Hello all,
When I ran my R program in R version 2.1.1 in windows XP and 2000, and I
downloaded a package call "MIX", I got an application error:
RGui:Rgui.exe - Application Error:
The instruction at "0x1009d8a1" referenced memory at
"0xbde48f58". The
memory could not be "read".
Click on ok to terminate the program
click on cancel to debug the program
If I use R version 2.1.0, I get an application error:
RGui:Rgui.exe - Application Error:
The instruction at "0x3f1c18" referenced memory at
"0x00000000". The
memory could not be "read".
Click on ok to terminate the program
click on cancel to debug the program
after I click cancel button to debug, I got:
Just-In-Time Debugging:
An exception 'unhandled win32 exception' has occurred in Rgui.exe.
However, no debuggers are registered that can debug this exception.
Unable to JIT debug.
In my program, I first source("sump6d2.q") to get data from splus,
and
attach(sump6d2),
Whenever I run this part of program, the error pops up:
library(mix)
Y<-cbind(race2,nodes,htypeed1,htypeed2,ngraded2,blood2,agem40,agem40sq,e
r,pr) #<--Y has to be a matrix for mix
s<-prelim.mix(Y,6)
#----------------------------run multiple
imputation------------------------------#
MI<-vector("list",10) #<--vector of complete data after MI
fit.model.mi<-vector("list",10)
rngseed(1234567) #<-- set random number generator seed
for (i in 1:10){
cat("Doing imputation ",i,"\n")
thetahat <- em.mix(s)
newtheta <- da.mix(s, thetahat, steps=2000, showits=TRUE)
MI[[i]] <- imp.mix(s, newtheta)
}
Here is help file about mix
Help files with alias or concept or title matching 'mix' using regular
expression matching:
glmmPQL(MASS) Fit Generalized Linear Mixed Models via PQL
gamm(mgcv) Generalized Additive Mixed Models
gamm.setup(mgcv) Generalized Additive Mixed Model set up.
da.mix(mix) Data Augmentation for Unrestricted General
Location Model
dabipf.mix(mix) Data Augmentation/Bayesian IPF Algorithm for
Restricted General Location Models
ecm.mix(mix) ECM Algorithm for Restricted General Location
Model
em.mix(mix) EM Algorithm for Unrestricted General Location
Model
getparam.mix(mix) Present Parameters of General Location Model
in an Understandable Format
imp.mix(mix) Impute Missing Data Under General Location
Model
loglik.mix(mix) Loglikelihood for Incomplete Data under the
General Location Model
prelim.mix(mix) Preliminary Manipulations on Matrix of
I ncomplete Mixed Data
lme(nlme) Linear Mixed-Effects Models
lmeStruct(nlme) Linear Mixed-Effects Structure
nlme(nlme) Nonlinear Mixed-Effects Models
nlmeStruct(nlme) Nonlinear Mixed-Effects Structure
Type 'help(FOO, package = PKG)' to inspect entry 'FOO(PKG)
TITLE'.
Thanks,
Jia
[[alternative HTML version deleted]]
