Re: [Rd] R as shared library

2004-08-25 Thread A.J. Rossini
Jeffrey Horner <[EMAIL PROTECTED]> writes: > Good point. However, I chose this route to 1) understand R and its > internals, which is more complicated than I thought, 2) write an > apache module, which I've always wanted to do, and 3) leverage > Apache's robust server technology. In my opinion, n

Re: [Rd] R as shared library

2004-08-25 Thread Jeffrey Horner
Warnes, Gregory R wrote: 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. Apache 1.3 doesn't use threads, and Apache 2.0 doesn't have to use threads. Both are still actively maintained by

[Rd] author field in Rd files

2004-08-25 Thread Timothy H. Keitt
I noticed in the extension manual that the \author{} entry should refer to the author of the Rd file and not the code documented. I had always interpreted it as the author of the code, not the documentation. I wonder if others also find this ambiguous. Its generally not an issue, except when there

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,

[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 NOT

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,

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

[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" dec

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

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 > r

[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" fi

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

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

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

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 We

[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 http://ww