[Rd] End of whiskers of boxplots are repeated on PDF device (PR#10499)

2007-12-13 Thread Michael Toews
I've identified the problem for this issue, which is simple to fix. Please see and apply the attached patch. Thanks. +mt Index: src/library/graphics/R/boxplot.R === --- src/library/graphics/R/boxplot.R(revision 43677) +++ src/li

[Rd] End of whiskers of boxplots are repeated on PDF device (PR#10499)

2007-12-06 Thread Michael Toews
As a quick follow up, this problem is apparent in the Postscript device too (and possibly other vector devices). For example: dat <- data.frame(f=factor(rep(1:4, 10)), x=rnorm(40)) postscript("test.ps") plot(dat) dev.off() In Adobe Illustrator, the compound path needs to be "released" to see th

[Rd] NA handling in as.character applied to a list

2006-10-25 Thread Michael Toews
Okay ... I'll try to attach that patch once more ... (does this list only accept certain exertions for attachments? I used '.patch', but it must have been filtered off, so I'll try '.patch.txt' now ...) +mt Index: R/src/library/base/man/character.Rd ==

[Rd] NA handling in as.character applied to a list

2006-10-25 Thread Michael Toews
Also, Splus 7 has a different behaviour from R: > sapply(v, is.na) a b c F T T > sapply(as.character(v), is.na) [1] F F F > as.character(v) [1] "\"NA\"" "NA" "NA" In R, it remains logical: if it isn't in character mode, then as.character always turns NA's into "NA"'s. If that behaviour is no

Re: [Rd] parse/INSTALL feature request(s)

2006-10-21 Thread Michael Toews
> What would be possible is to do like other preprocessors do, and put > comments into the source file to indicate the origin of each line: then > the parser could tell you the location in the original file, which would > be a lot more useful. I think what you are referring to is already nicely i

[Rd] parse/INSTALL feature request(s)

2006-10-20 Thread Michael Toews
Hi, I have a feature request for 'parse', and possibly the 'R CMD INSTALL' command to display more informative error information. Specifically, after making several modifications to a package on my system (the package name is irrelevant; I'm using R 2.3.1 on Debian): $ R CMD INSTALL seas * Insta

[Rd] Documentation patch for 'match' and 'palette'

2006-09-28 Thread Michael Toews
Here is a patch to improve documentation for finding useful, yet newish, functions: 'findInterval' and 'colorRamp'. I think that it is worthwhile to mention these in the 'seealso' section of the similar 'match' and 'palette' documents. I had difficulty finding these functions at first, as they