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

From: Michael Kubovy <kubovy_at_virginia.edu>
Date: Sun 08 Apr 2007 - 17:59:00 GMT


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/

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon Apr 09 04:01:57 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 08 Apr 2007 - 19:30:58 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.