To Whom It May Concern, In am using the script below to test the function "MAMCmixfactanal" in the package "MCMCpack". library(MCMCpack) data(PErisk) post <- MCMCmixfactanal(~courts+barb2+prsexp2+prscorr2+gdpw2, factors=1, data=PErisk, lambda.constraints list(courts=list(2,"-")),burnin=5000,mcmc=1000000,thin=50,verbose=500,L0=.25,store.lambda=TRUE,store.scores=TRUE,tune=1.2) plot(post) summary(post) However, I get the error message below. Acceptance rates: Error in print.default(t(accepts)/(posterior$burnin + posterior$mcmc), : invalid printing width Your help would be greatly appreciated. Kind regards, Ziad Elmously Director, Advanced Analytics & Data Science MetrixLab, a Macromill Group company Chalfont, PA, USA T (+1) 267 298 1159 ? M (+1) 267 218 4724 ziad.elmously at us.metrixlab.com<mailto:ziad.elmously at us.metrixlab.com> ? www.metrixlab.com<http://www.metrixlab.com/> How do you create a powerful packaging design? Discover our 9 best practices. Read our whitepaper ><http://bit.ly/2sGPKEo> [[alternative HTML version deleted]]
Please read and follow the posting guide linked below, especially this: "For questions about functions in standard packages distributed with R (see the FAQ Add-on packages in R <http://cran.r-project.org/doc/FAQ/R-FAQ.html#Add-on-packages-in-R>), ask questions on R-help. If the question relates to a *contributed package* , e.g., one downloaded from CRAN, try contacting the package maintainer first. You can also use find("functionname") and packageDescription("packagename") to find this information. *Only* send such questions to R-help or R-devel if you get no reply or need further assistance. This applies to both requests for help and to bug reports. " Note: also ?maintainer for finding emails of maintainers. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Nov 11, 2020 at 5:30 PM Ziad Elmously < ziad.elmously at us.metrixlab.com> wrote:> To Whom It May Concern, > > In am using the script below to test the function "MAMCmixfactanal" in the > package "MCMCpack". > > library(MCMCpack) > data(PErisk) > post <- MCMCmixfactanal(~courts+barb2+prsexp2+prscorr2+gdpw2, factors=1, > data=PErisk, lambda.constraints> > list(courts=list(2,"-")),burnin=5000,mcmc=1000000,thin=50,verbose=500,L0=.25,store.lambda=TRUE,store.scores=TRUE,tune=1.2) > plot(post) > summary(post) > > However, I get the error message below. > > Acceptance rates: > Error in print.default(t(accepts)/(posterior$burnin + posterior$mcmc), : > invalid printing width > > Your help would be greatly appreciated. > > Kind regards, > > Ziad Elmously > Director, Advanced Analytics & Data Science > > MetrixLab, a Macromill Group company > Chalfont, PA, USA > T (+1) 267 298 1159 M (+1) 267 218 4724 > ziad.elmously at us.metrixlab.com<mailto:ziad.elmously at us.metrixlab.com> > www.metrixlab.com<http://www.metrixlab.com/> > > How do you create a powerful packaging design? > Discover our 9 best practices. Read our whitepaper ><http://bit.ly/2sGPKEo > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. >[[alternative HTML version deleted]]
Jeff Newmiller
2020-Nov-12 02:18 UTC
[R] Error Message With the "MCMCmixfactanal" Function
Someone may feel like tackling this anyway, but technically it is off-topic here, as this forum is about the R language rather than specific contributed packages. (http://www.r-project.org/posting-guide.html). Lookup the package DESCRIPTION file on CRAN and if it does not mention a recommended support forum then correspond with the package maintainer. On November 11, 2020 2:06:03 PM PST, Ziad Elmously <ziad.elmously at us.metrixlab.com> wrote:>To Whom It May Concern, > >In am using the script below to test the function "MAMCmixfactanal" in >the package "MCMCpack". > >library(MCMCpack) >data(PErisk) >post <- MCMCmixfactanal(~courts+barb2+prsexp2+prscorr2+gdpw2, >factors=1, data=PErisk, lambda.constraints>list(courts=list(2,"-")),burnin=5000,mcmc=1000000,thin=50,verbose=500,L0=.25,store.lambda=TRUE,store.scores=TRUE,tune=1.2) >plot(post) >summary(post) > >However, I get the error message below. > >Acceptance rates: >Error in print.default(t(accepts)/(posterior$burnin + posterior$mcmc), >: > invalid printing width > >Your help would be greatly appreciated. > >Kind regards, > >Ziad Elmously >Director, Advanced Analytics & Data Science > >MetrixLab, a Macromill Group company >Chalfont, PA, USA >T (+1) 267 298 1159 ? M (+1) 267 218 4724 >ziad.elmously at us.metrixlab.com<mailto:ziad.elmously at us.metrixlab.com> ? >www.metrixlab.com<http://www.metrixlab.com/> > >How do you create a powerful packaging design? >Discover our 9 best practices. Read our whitepaper >><http://bit.ly/2sGPKEo> > > > [[alternative HTML version deleted]]-- Sent from my phone. Please excuse my brevity.