[R] Dopt program!

kjetil@entelnet.bo kjetil at entelnet.bo
Sun Mar 28 17:13:12 CEST 2004


On 28 Mar 2004 at 8:41, Prof Brian Ripley wrote:

> On Sat, 27 Mar 2004, Xianggui QU wrote:
> 
> > Does anybody have a workable dopt program in R to generate D-optimal
> > designs. I downloaded dopt.zip from stat homepage of the university
> > of oxford, whenever I load it into R and try to run, the following
> > error comes: Error: couldn't find function "Dopt".
> 
> Eh?  There is no such file on our homepage!  There is a dopt.zip for
> S-PLUS <= 2000 at the URL www.stats.ox.ac.uk/pub/SWin, but none for R
> on our server.
> 
> I don't know how to `load dopt.zip into R': you can only load() R save
> files.
> 
> > Any information will be highly appreciated!
> 
> Try reading ReadMe files in the directories you chance upon.  You must
> be careful not to blame other people for your carelessness.
> 
> I guess you are using Windows (since you don't think it necessary to
> tell us).  There is an R port of that S code on CRAN at
> 
> http://cran.r-project.org/src/contrib/Devel/
> 
> but note it is source code, and you will need to install it: see the
> rw-FAQ if you are indeed using Windows.
> 

Adding to what Prof. Ripley said: There is a reaon Dopt is in the 
devel directory of CRAN. See the information included in that tar.gz:
The code "bombs" R in some few cases. Still it can be usefull, if 
used with care. The errors are NOT made with the port to R, I have 
tried the dopt.zip Brian Ripley mentions for S-Plus <= 2000 with S-
Plus 4.5, and the same cases which bombs R, bombs S-Plus. 

There is a new package AlgDesign, by Bob Wheeler, on CRAN, which is 
also precompiled for windows. I haven't tried it yet, but it can 
probably do everything Dopt can do, and more. When I get time to 
check it out, and verified this, I will ask for Dopt to be removed 
from the devel directory on CRAN.

Kjetil Halvorsen


> -- 
> 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
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list