[Rd] typo in R online manual (PR#7200)

2004-08-25 Thread trindade
There is a mistake on the Weibull Distribution (base package) help page in the online docs (http://docs.stat.ufl.edu/R/doc/html/). The formula for Var(X) should have Gamma(1 + 1/a)^2 in place of Gamma(1 + 1/a). -- Alex Trindade Assistant Professor of Statistics University of Florida

Re: [Rd] typo in R online manual (PR#7200)

2004-08-25 Thread Prof Brian Ripley
That is a mistake at your own department's site, but not in the current R sources. It seems those docs are from R 1.2.2! Even R 1.6.2 has the correct formula. Please ask whoever maintains that site to correct it, and don't expect the R team to fix problems in 3.5 year old versions of R. On

Re: [Rd] typo in R online manual (PR#7200)

2004-08-25 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: There is a mistake on the Weibull Distribution (base package) help page in the online docs (http://docs.stat.ufl.edu/R/doc/html/). The formula for Var(X) should have Gamma(1 + 1/a)^2 in place of Gamma(1 + 1/a). Looks like docs.stat.ufl.edu haven't been updated for

Re: [Rd] typo in R online manual (PR#7200)

2004-08-25 Thread Peter Dalgaard
Prof Brian Ripley [EMAIL PROTECTED] writes: That is a mistake at your own department's site, but not in the current R sources. It seems those docs are from R 1.2.2! Even R 1.6.2 has the correct formula. Please ask whoever maintains that site to correct it, and don't expect the R team

Re: [Rd] typo in R online manual (PR#7200)

2004-08-25 Thread p . dalgaard
Prof Brian Ripley [EMAIL PROTECTED] writes: That is a mistake at your own department's site, but not in the current R sources. It seems those docs are from R 1.2.2! Even R 1.6.2 has the correct formula. Please ask whoever maintains that site to correct it, and don't expect the R team

[Rd] Minimal DESCRIPTION file

2004-08-25 Thread David Brahm
My g.data contributed package fails under R-devel. g.data creates minimal packages which consist only of a DESCRIPTION file and the R and data subdirectories, but .find.package() now rejects them because the DESCRIPTION file lacks a Version field. I will fix g.data to add a Version field. My

Re: [Rd] Minimal DESCRIPTION file

2004-08-25 Thread Jeff Gentry
My question is, what else is necessary for a minimal package? Writing R Extensions states: The `Package', `Version', `License', `Description', `Title', `Author', and `Maintainer' fields are mandatory... So should I really add all these (superfluous) fields, to avoid future rejection?

Re: [Rd] Minimal DESCRIPTION file

2004-08-25 Thread Prof Brian Ripley
On Wed, 25 Aug 2004, David Brahm wrote: My g.data contributed package fails under R-devel. g.data creates minimal packages which consist only of a DESCRIPTION file and the R and data subdirectories, but .find.package() now rejects them because the DESCRIPTION file lacks a Version field. I

[Rd] S3 classes in S4 class definitions

2004-08-25 Thread John Chambers
One of the changes some packages are noticing from the recent modifications to methods is warnings of undefined classes during installation when the package extends S3 classes or uses them as slots UNLESSS they have been declared in a setOldClass() call. The green book strongly recommends

RE: [Rd] R as shared library

2004-08-25 Thread Warnes, Gregory R
Jeff, Does apache use threads? If it does, I would recommend *not* directly putting R into the apache server for the simple reason that R is not thread-safe. You might find it simpler (and cleaner) to use the RSOAP (http://rsoap.sf.net) interface to connect R with apache. I originally created

RE: [Rd] Parrallel and multiple-thread

2004-08-25 Thread Warnes, Gregory R
Multi-threaded: No Parallel: *Explicit* parallelism is supported if you use one of the parallel libraries: rpvm, rmpi. The snow libraray provides a nice wrapper for both / either of these. -Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Liao,

[Rd] No is.formula()

2004-08-25 Thread Warnes, Gregory R
There appears to be no is.formula() function in R-1.9.1. May I suggest that is.formula - function(x) inherits(x, formula) be added to base, since formula is a fundimental R type? Gregory R. Warnes Manager, Non-Clinical Statistics Pfizer Global Research and Development LEGAL NOTICE\

Re: [Rd] No is.formula()

2004-08-25 Thread A.J. Rossini
Warnes, Gregory R [EMAIL PROTECTED] writes: There appears to be no is.formula() function in R-1.9.1. May I suggest that is.formula - function(x) inherits(x, formula) be added to base, since formula is a fundimental R type? why not just is(x,formula) ? best, -tony --