Dear R users, I followed the instuctions on Dr. Gelman's web to install all of documents that bugs.R needs, but when I try to run the school example that the web posted in R, I got an error: couldn't find function "bugs", what's wrong? Thanks, Jia
On Mon, 16 May 2005, Li, Jia wrote:> I followed the instuctions on Dr. Gelman's web to install all of > documents that bugs.R needs, but when I try to run the school example > that the web posted in R, I got an error: couldn't find function "bugs", > what's wrong?I suggest you ask Dr Gelman. There is a function "bugs" in package R2WinBUGS: perhaps you don't have that installed or that package loaded? -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Li, Jia wrote:> Dear R users, > > I followed the instuctions on Dr. Gelman's web to install all > of documents that bugs.R needs, but when I try to run the school example that the web posted in R, I got an error: couldn't find function "bugs", what's wrong?It sounds as though you missed an instruction, or he did. I'm guessing you didn't run library() to load the package. Generally when a contributed package doesn't work, you should ask the maintainer for help. Duncan Murdoch
Li, Jia wrote:> Dear R users, > > I followed the instuctions on Dr. Gelman's web to install all > of documents that bugs.R needs, but when I try to run the school example that the web posted in R, I got an error: couldn't find function "bugs", what's wrong?Have you forgot to source() Andrew's bugs.R file? Anyway, you might want to give the CRAN package R2WinBUGS a try, which is based on Andrew's code known as "bugs.R". There is also a developer version BRugs (an interface to OpenBUGS) available at http://www.statistik.uni-dortmund.de/~ligges/BRugs/ (will move to CRAN very soon now). Uwe Ligges> > Thanks, > > Jia > > ______________________________________________ > R-help at 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
Maybe Matching Threads
- Current state of support for BUGS access for Linux users?
- A question about bugs.R: functions for running WinBUGs from R
- R2WinBUGS is broken
- Making R talk to Win/OpenBUGS in Linux (again)
- compare posterior samples from R2OpenBugs and R function bugs{R2WinBUGS}