moumita chatterjee
2013-Jan-09 03:25 UTC
[R] problems regarding the latest version of the package "BRugs"
Respected Sir/Madam, I am a research scholar of Department of Statistics, University Of Calcutta. I had downloaded the latest version of "BRugs", and installed it in R 2.15.1 both in 32 and 64 bits with the help of openBUGS 3.2.2. My problem is that one of the programmes which requires the package "BRugs" is giving me an error given below: Error in samplesSize(node) : node must be a scalar variable from the model However, other persons , who are running the programme , using the earlier version of this package , can run the programme without any error. I am unable to find where the actual problem lies. I would be very much obliged if you kindly give me a solution of the problem. Thanking you. Moumita Chatterjee. [[alternative HTML version deleted]]
John Kane
2013-Jan-09 13:29 UTC
[R] problems regarding the latest version of the package "BRugs"
I think we a much clearer statement of the problem This link provides some suggestions on how to frame the problem https://github.com/hadley/devtools/wiki/Reproducibility John Kane Kingston ON Canada> -----Original Message----- > From: mcmoumita8 at gmail.com > Sent: Wed, 9 Jan 2013 08:55:25 +0530 > To: r-help at r-project.org > Subject: [R] problems regarding the latest version of the package "BRugs" > > Respected Sir/Madam, > I am a research scholar of Department > of Statistics, University Of Calcutta. I had downloaded the latest > version > of "BRugs", and installed it in R 2.15.1 both in 32 and 64 bits with the > help of openBUGS 3.2.2. My problem is that one of the programmes whichWhat programme? An R package, one you have written youself??? Please provide code and some sample data Please supply some sample data and code. The easiest way to supply data is to use the dput() function. Example with your file named "testfile": dput(testfile) Then copy the output and paste into your email. For large data sets, you can just supply a representative sample. Usually, dput(head(testfile, 100)) will be sufficient.> requires the package "BRugs" is giving me an error given below: > Error in samplesSize(node) : > node must be a scalar variable from the model > > However, other > persons , who are running the programme , using the earlier version of > this > package , can run the programme without any error. I am unable to find > where the actual problem lies. I would be very much obliged if you kindly > give me a solution of the problem. > Thanking you. > Moumita Chatterjee. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org 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.____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more!