[Rd] arni.colors

2003-12-09 Thread Arni Magnusson
Dear r-devel, I have implemented a function to create color palettes with improved contrast and logical order, compared with the built-in ones: source("arni.colors.R") # code is given below barplot(rep(1,100), col=arni.colors(100), space=0, border=0, axes=F) par(mfrow=c(2,1)) # rainbow() has

Re: [Rd] latex problem with \preformatted (PR#5645)

2003-12-09 Thread Prof Brian Ripley
Have you tried the *current* version of R? >From NEWS o Rd conversion to latex did not add a new line before \end{Section} for the section environments, which caused problems if the last thing in a section was \preformatted{} (and potentially elsewhere). On Tue, 9 Dec

[Rd] latex problem with \preformatted (PR#5645)

2003-12-09 Thread gregory_r_warnes
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_000_01C3BE9C.3FB5BC1A Content-Type: text/plain; charset="iso-8859-1" There is a small bug in the implementation of \preformatted in R 1.8.0: T

Re: [Rd] pdfs for printed edition of R reference manual

2003-12-09 Thread Prof Brian Ripley
On 9 Dec 2003, Peter Dalgaard wrote: > BTW, we seem to have an alias bug with bandwidth: > > > ?bandwidth > Error in help("bandwidth") : No documentation for 'bandwidth' in... > > but ?bw.nrd gives a page called "bandwidth". Nothing wrong with that: page names are not aliases. There are quite

Re: [Rd] pdfs for printed edition of R reference manual

2003-12-09 Thread Peter Dalgaard
Brian Gough <[EMAIL PROTECTED]> writes: > Hi, > This message is to let the R developers know that the pdfs for the > first two volumes of the printed edition of R reference manual are > available at, > > http://www.network-theory.co.uk/R/base/vol1.pdf > http://www.network-theory.co.uk/R/base

Re: [Rd] documentation fixes (cvs) (PR#5632)

2003-12-09 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > The patch below attempts to correct some unclear sentences in the R > documentation. > > In the case of coplot.Rd it wasn't clear whether "shingle" bar had a > special meaning or was a typo for "single". I've just put a comment in > that case. "Shingle" is correct. Th

Re: [Rd] Maybe some bug on sapply and cbind (PR#5628)

2003-12-09 Thread Luke Tierney
Simpler version seems to be x <- list(expression(1)) y <- rep(2,1) .Internal(unlist(x, FALSE, FALSE)) .Internal(cbind(1, y)) Seems to be related to undesirable behavior of unlist when expression objects are involved; > unlist(list(expression(1)), recursive = FALSE) NULL > unlist(list(expression(

Re: [Rd] Maybe some bug on sapply(PR#5628)

2003-12-09 Thread Thomas Lumley
On Tue, 9 Dec 2003 [EMAIL PROTECTED] wrote: > I can confirm this bug on Solaris 2.8 running R-1.8.1. Here's a simplified > version: > > y <- list() > sapply(1, function(i) y[[i]] <- expression(1)) > cbind(1, rep(2,1)) > Furthermore, it doesn't happen with lapply() or with sapply(, simplify=FALSE

[Rd] pdfs for printed edition of R reference manual

2003-12-09 Thread Brian Gough
Hi, This message is to let the R developers know that the pdfs for the first two volumes of the printed edition of R reference manual are available at, http://www.network-theory.co.uk/R/base/vol1.pdf http://www.network-theory.co.uk/R/base/vol2.pdf I've divided the manual into "core commands"

[Rd] documentation fixes (cvs) (PR#5632)

2003-12-09 Thread bjg
The patch below attempts to correct some unclear sentences in the R documentation. In the case of coplot.Rd it wasn't clear whether "shingle" bar had a special meaning or was a typo for "single". I've just put a comment in that case. regards -- Brian Gough Network Theory Ltd -- Publishing Free

Re: [Rd] Maybe some bug on sapply and cbind (PR#5628)

2003-12-09 Thread brahm
I can confirm this bug on Solaris 2.8 running R-1.8.1. Here's a simplified version: y <- list() sapply(1, function(i) y[[i]] <- expression(1)) cbind(1, rep(2,1)) [ Process R segmentation Fault at Tue Dec 9 09:20:33 2003 ] Curiously, replacing the third line with cbind(1, 2) does not casue

[Rd] Maybe some bug on sapply and cbind (PR#5628)

2003-12-09 Thread Remy . Drouilhet
Full_Name: Drouilhet Rémy Version: 1.8.1 OS: Linux Submission from: (NULL) (195.221.43.136) Hi!!! Is there some mistake? This is some part of one of my R programs. I created this function to show you the trouble!!! bugTest<-function() { paramnames <- c("mean","sd") param <- list(expression(