Re: [Rd] Ice cream flavor metaphor in statistical computing

2006-09-15 Thread Peter Dalgaard
"Marc Schwartz (via MN)" <[EMAIL PROTECTED]> writes: > On Fri, 2006-09-15 at 16:05 -0500, Jeffrey Horner wrote: > > Forgive me, but since it's Friday and I've been thinking about command > > line options lately, I thought I'd find out who came up with the name of > > the --vanilla argument for R

Re: [Rd] Ice cream flavor metaphor in statistical computing

2006-09-15 Thread Marc Schwartz (via MN)
On Fri, 2006-09-15 at 16:05 -0500, Jeffrey Horner wrote: > Forgive me, but since it's Friday and I've been thinking about command > line options lately, I thought I'd find out who came up with the name of > the --vanilla argument for R. From the svn log: > > -

[Rd] Ice cream flavor metaphor in statistical computing

2006-09-15 Thread Jeffrey Horner
Forgive me, but since it's Friday and I've been thinking about command line options lately, I thought I'd find out who came up with the name of the --vanilla argument for R. From the svn log: r2509 | maechler | 1998-10-10 1

Re: [Rd] An update method for lists?

2006-09-15 Thread Deepayan Sarkar
On 9/15/06, Martin Maechler <[EMAIL PROTECTED]> wrote: > > "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]> > > on Fri, 15 Sep 2006 12:22:15 -0700 writes: > > DeepS> Hi, since lattice uses nested lists in various > DeepS> situations, it has had an unexported function called >

Re: [Rd] An update method for lists?

2006-09-15 Thread hadley wickham
> If a list is used to store "defaults" and you want a safe way to > change only a few of the values... > I presume you use this for manipulating the settings of lattice > parts ? I use something similar in ggplot (except not recursive): defaults <- function(x, y) { c(x, y[setdiff(names(

Re: [Rd] An update method for lists?

2006-09-15 Thread Martin Maechler
> "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]> > on Fri, 15 Sep 2006 12:22:15 -0700 writes: DeepS> Hi, since lattice uses nested lists in various DeepS> situations, it has had an unexported function called DeepS> updateList for a while, which looks like >> > lattice

[Rd] An update method for lists?

2006-09-15 Thread Deepayan Sarkar
Hi, since lattice uses nested lists in various situations, it has had an unexported function called updateList for a while, which looks like > lattice:::updateList function (x, val) { if (is.null(x)) x <- list() if (!is.list(x)) stop("x must be NULL or a list") if (!is

Re: [Rd] pdf default version

2006-09-15 Thread Marc Schwartz (via MN)
On Fri, 2006-09-15 at 12:43 -0500, Marc Schwartz (via MN) wrote: > On Fri, 2006-09-15 at 12:12 -0500, Kevin Wright wrote: > > R has had the ability to generate pdfs with transparent colors for a > > couple of years now using pdf(..., version="1.4"). > > > > By default, Sweave uses just 'pdf' (with

Re: [Rd] pdf default version

2006-09-15 Thread Marc Schwartz (via MN)
On Fri, 2006-09-15 at 12:12 -0500, Kevin Wright wrote: > R has had the ability to generate pdfs with transparent colors for a > couple of years now using pdf(..., version="1.4"). > > By default, Sweave uses just 'pdf' (without version 1.4), so a hack is > needed when using Sweave to create pdfs wi

[Rd] pdf default version

2006-09-15 Thread Kevin Wright
R has had the ability to generate pdfs with transparent colors for a couple of years now using pdf(..., version="1.4"). By default, Sweave uses just 'pdf' (without version 1.4), so a hack is needed when using Sweave to create pdfs with transparent colors. See http://tolstoy.newcastle.edu.au/R/hel

Re: [Rd] setMethod() woes

2006-09-15 Thread John Chambers
The document on developer.r-project.org/howMethodsWork.pdf explains why the two methods are equally close. Please (re)read it. If you know what methods you want for mixing the two objects, you must either say so or arrange the classes in an inheritance that includes both classes. Robin Hankin

[Rd] setMethod() woes

2006-09-15 Thread Robin Hankin
Hello everybody R version 2.4.0 alpha (2006-09-15 r39323), MacOSX 10.4.7 Next S4 problem. I have "brob" objects that are large real numbers, and now I want "glub" numbers that are to be a pair of glubs that represent complex numbers. I want to define binary operator "+" so that if either the l

[Rd] How to create the couple of files .rdb and .rdx

2006-09-15 Thread Alex . Randriamiharisoa
Dear all, I would like to create new version (for R >= 2.0.0) of my old libraries (under Windows XP). The conversion of FORTRAN source to dll file is OK (via Rcmd SHLIB ) but the command Rcmd.exe build pkgdirs did not create the two files .rdb and .rdx of the R functions (Warning message

Re: [Rd] attributes of S4 objects

2006-09-15 Thread John Chambers
Parlamis Franklin wrote: > I am having a bit of a struggle deciding when to use attributes with > S4 objects. Clearly the 'class' attribute will always be present. > But it is not clear to me whether the architects of the methods > package intend that other attributes, such as 'names', will

[Rd] Help on "title" wrongly specifies axis label font (PR#9230)

2006-09-15 Thread wilder
Full_Name: Steven Wilder Version: 2.3.1 OS: Windows XP Submission from: (NULL) (129.67.45.165) The help on title help("title") states xlab: X axis label using font and character expansion 'par("font.axis")' and color 'par("col.axis")'. but these have no effect, font.lab and col.lab sho

Re: [Rd] digits in summary.default

2006-09-15 Thread Karl Ove Hufthammer
Martin Maechler skreiv: > Since I've now seen the code of summary.default in S-plus 6.2, > I'm not in a good position to propose a code change here --- > unless Insightful ``donates'' their 3 lines of implementation to > R  {which I think would be quite fair given the recent flurry of > things the

Re: [Rd] Question about substitute() and function def

2006-09-15 Thread Peter Dalgaard
Duncan Murdoch <[EMAIL PROTECTED]> writes: > >> > substitute(function(a=a) 1, list(a=quote(foo))) > >> function(a = a) 1 > > > >a bug for sure > > Yes. Hmm... The issue is that the argument to `function` is a pairlist (not LANGSXP), and we don't recurse into those. Any R object can turn up

Re: [Rd] digits in summary.default

2006-09-15 Thread Martin Maechler
> "Simone" == Simone Giannerini <[EMAIL PROTECTED]> > on Thu, 14 Sep 2006 11:14:51 +0200 writes: Simone> Dear all, the number of significant digits in Simone> summary default is Simone> digits = max(3, getOption("digits") - 3) Simone> on my platform this results to be