[R] Failure of mcsamp() but not mcmcsamp()

Michael Kubovy kubovy at virginia.edu
Sun Apr 8 19:59:00 CEST 2007


Daer r-helpers,

Can anyone help with the following:

I get:

 > mcmcsamp(txt.lmer3f)
Markov Chain Monte Carlo (MCMC) output:
Start = 1
End = 1
Thinning interval = 1
....

But:

 > mcsamp(txt.lmer3f)
Error in as.bugs.array(sims, program = "lmer", n.iter = n.iter,  
n.burnin = n.burnin,  :
	error in parameter sigma.s in parameters.to.save


I had attached the arm package:
 > library(arm)
Loading required package: R2WinBUGS

arm (Version 1.0-15, built: 2007-3-17)
Working directory is /Users/mk/Documents/projects/Mike/prediss/Exp-Text
Loading required package: foreign

 > sessionInfo()
R version 2.4.1 (2006-12-18)
i386-apple-darwin8.8.1

locale:
C

attached base packages:
[1] "tools"     "grid"      "datasets"  "stats"     "graphics"   
"grDevices" "utils"     "methods"
[9] "base"

other attached packages:
      foreign          arm    R2WinBUGS         coda         
Hmisc      gmodels      effects         lme4
     "0.8-18"     "1.0-15"      "2.0-4"     "0.10-7"      "3.2-1"      
"2.13.2"      "1.0-9"  "0.9975-13"
       Matrix          car       weaver    codetools        
digest       xtable latticeExtra      lattice
"0.9975-11"      "1.2-1"      "1.0.1"      "0.0-3"      "0.2.3"       
"1.4-3"      "0.1-4"    "0.14-17"
     gridBase         MASS          JGR       iplots        
JavaGD        rJava
      "0.4-3"     "7.2-33"     "1.4-15"      "1.0-5"      "0.3-6"      
"0.4-14"

Thanks,
MK
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/



More information about the R-help mailing list