From: <woo...@us...> - 2007-05-08 22:06:11
|
Revision: 15 http://svn.sourceforge.net/bugs-r/?rev=15&view=rev Author: woodard_ Date: 2007-05-08 15:06:05 -0700 (Tue, 08 May 2007) Log Message: ----------- Removed the dependency of R2WinBUGS in S-PLUS on the package rwBin. The functions readBin and writeBin are included in S-PLUS v.8.04+ Modified Paths: -------------- trunk/R2WinBUGS/R/bugs.update.settings.R Modified: trunk/R2WinBUGS/R/bugs.update.settings.R =================================================================== --- trunk/R2WinBUGS/R/bugs.update.settings.R 2007-05-08 21:58:37 UTC (rev 14) +++ trunk/R2WinBUGS/R/bugs.update.settings.R 2007-05-08 22:06:05 UTC (rev 15) @@ -1,7 +1,5 @@ "bugs.update.settings" <- function (n.burnin, bugs.directory){ - if (!is.R()) - if (!require(rwBin)) stop ("The rwBin package is required") char.burnin <- as.character(n.burnin - 1) if (is.R()){ @@ -50,7 +48,6 @@ "splus.file.copy"<- function(from, to, overwrite = FALSE) { - require(rwBin) if(!file.exists(from)) stop("File: ", from, " does not exist") if(!overwrite && file.exists(to)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |