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 4. The point is

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 as part of

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 they've 

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

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

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

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

[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

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 with

[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

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:::updateList