[Rd] R 4.3: Change in behaviour of as.character.POSIXt for datetime values with midnight time

2023-08-11 Thread Andy Teucher
viously did, and still does, drop the time component from all elements when any element has no time): ```R.version$version.string #> [1] "R version 4.2.3 (2023-03-15)" as.POSIXct(c("1975-01-01", "1975-01-01 15:27:00")) #> [1] "1975-01-01 PST" "1975-01-01 PST” ``` ```R.version$version.string #> [1] "R version 4.3.1 (2023-06-16)" as.POSIXct(c("1975-01-01", "1975-01-01 15:27:00")) #> [1] "1975-01-01 PST" "1975-01-01 PST” ``` I don’t know if this is a bug/regression in `as.character.POSIXt()`, or intended behaviour. If it is intended, I think it would benefit from some more comprehensive documentation. Thanks very much, Andy Teucher __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] Package internal function / Undocumented code objects warning

2023-02-24 Thread Andy Teucher
vlookup_internal and when you re-run devtools::document() it should no longer be in the NAMESPACE. Cheers, Andy Teucher > On Feb 24, 2023, at 1:11 PM, EcoC2S - Irucka Embry wrote: > > Greetings, I am attaching the complete R file for your review. The > vlookup_internal function and all of t

Re: [R-pkg-devel] Usage of internet resources in examples

2020-10-21 Thread Andy Teucher
just confuse a user. Andy > On Oct 21, 2020, at 12:08 AM, Martin Maechler > wrote: > >>>>>> Ben Bolker >>>>>>on Tue, 20 Oct 2020 17:07:10 -0400 writes: > >> On 10/20/20 4:51 PM, Gábor Csárdi wrote: >>> On Tue, Oct 20,

Re: [R-pkg-devel] [EXTERNAL] Usage of internet resources in examples

2020-10-20 Thread Andy Teucher
squarely into the “use dontrun” category as they require a subscription/API key. Our examples don’t, but they can fail if the internet connection fails, the resource url changes, or the server is down. Cheers, Andy > On Oct 20, 2020, at 2:42 PM, Hong Ooi wrote: > > I set \dontrun{}

[R-pkg-devel] Usage of internet resources in examples

2020-10-20 Thread Andy Teucher
{} and plead my case? Wrap in `if interactive())`? Thanks very much, Andy Teucher __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

[Rd] R package builder silently continues after unclosed brace

2020-01-25 Thread Andy Manka
If you start a function in one file but don't close it, the package will still build if you manage to close it in a later file. Like so: a.R b.R c.R a.R: function_a <- function(){ print("this is function_a") } b.R: function_b <- function(){ print("unclosed function_b") # no closing }

[R-pkg-devel] help understanding two NOTES during the automatic package checking

2019-08-06 Thread Andy Stein
_status_png.R > and xgx_save_table() <https://github.com/Novartis/xgxr/blob/master/R/xgx_save_table.R> in the xgxr package <https://github.com/Novartis/xgxr>. Best regards, Andy -- Forwarded message - From: Date: Mon, Aug 5, 2019 at 3:41 PM Subject: [CRAN-prete

[R-pkg-devel] gmp depedencies

2017-05-09 Thread Andy Bunn
Œgmp¹ * removing Œ/Users/bunna/Rlibs/gmp¹ andybunns-MacBook-Pro:Downloads bunna$ Installing the gmp library on Mac appear fraught: https://gmplib.org/macos.html Anybody have a suggestion of how to proceed? I'm thinking of removing gmp from the package I maintain. Thanks in advance, -Andy

Re: [Rd] shlib problems with Intel compiler

2015-04-22 Thread Andy Jacobson (NOAA Affiliate)
and variable names that the Makevars file can contain...is that documented somewhere?) I wonder if the recommendation for -lR is correct. None of the other packages are compiled with that flag, and everything seems to compile and load OK in R without using that. Best Regards, Andy On Apr 22, 2015

[Rd] making cuda-based R package CRAN friendly

2014-07-29 Thread Liaw, Andy
package on CRAN, and provide Windows binaries off CRAN (perhaps with a note in the README on where to download them). We'd very much appreciate any pointer. Best, Andy Andy Liaw Biometrics Research, Merck Research Laboratories PO Box 2000 RY34-300 Rahway, NJ 07065 Notice: This e-mail

Re: [Rd] informal conventions/checklist for new predictive modeling packages

2012-01-05 Thread Liaw, Andy
useful, perhaps we could repost the final list to R-Help to use as a checklist. I think this is great, Max! May I suggest that a standard be put together (with concensus of many ML package authors), and packages that conform to the standard are marked as such in the ML task view? Andy Those

[Rd] make check-all error on Win 7 with 2-12-.0: vfork: Resource temporarily unavailable

2010-10-28 Thread Andy Bunn
' ... OK make[2]: vfork: Resource temporarily unavailable make[1]: *** [test-all-devel] Error 1 make: *** [check-all] Error 2 There was no error when I ran make check-all a second time. Just FYI in case this means anything to the heavy-weight developers out there. -Andy

Re: [Rd] Is it safe not to coerce matrices with as.double() in .C()?

2010-09-17 Thread Liaw, Andy
From: Liaw, Andy From: Prof Brian Ripley On Fri, 27 Aug 2010, peter dalgaard wrote: On Aug 27, 2010, at 2:44 PM, Liaw, Andy wrote: I'd very much appreciate guidance on this. A user reported that the as.double() coercion used inside the .C() call for a function in my

Re: [Rd] Is it safe not to coerce matrices with as.double() in .C()?

2010-09-17 Thread Liaw, Andy
From: Simon Urbanek On Sep 17, 2010, at 1:22 PM, Liaw, Andy wrote: From: Liaw, Andy From: Prof Brian Ripley On Fri, 27 Aug 2010, peter dalgaard wrote: On Aug 27, 2010, at 2:44 PM, Liaw, Andy wrote: I'd very much appreciate guidance on this. A user reported

Re: [Rd] a small suggestion for improving the building of packages

2010-09-15 Thread Liaw, Andy
large number of bogus packages and submit them to CRAN... Andy Best wishes, uwe Thanks, as always, to everyone for their hard work to keep my statistical computing free and easy. Best, Kyle [[alternative HTML version deleted

Re: [Rd] Is it safe not to coerce matrices with as.double() in .C()?

2010-08-27 Thread Liaw, Andy
From: Prof Brian Ripley On Fri, 27 Aug 2010, peter dalgaard wrote: On Aug 27, 2010, at 2:44 PM, Liaw, Andy wrote: I'd very much appreciate guidance on this. A user reported that the as.double() coercion used inside the .C() call for a function in my package (specifically

[Rd] Possible bug in RTERM (PR#14043)

2009-11-04 Thread andy
Full_Name: Andy Ashley Version: 2.10.0 OS: Windows XP SP3 Submission from: (NULL) (91.105.184.105) I am updating a legacy program which called Rterm from within Excel VBA as follows: Rexe = C:\Program Files\R\R-2.4.0\bin\Rterm.exe Roptions = env_vars = R_USER= dirname

Re: [Rd] proposed changes to RSiteSearch

2009-06-05 Thread Liaw, Andy
the functions belong to have already been installed on the user's system. Sort of like yum info or yum search for those on RedHat-based Linux... Best, Andy Gabor Grothendieck wrote: On Thu, Jun 4, 2009 at 12:13 PM, Duncan Murdoch murd...@stats.uwo.ca wrote: Gabor Grothendieck wrote

Re: [Rd] using a third party DLL in my package

2009-05-27 Thread Liaw, Andy
I don't know if this applies to Seija's case, but one instance that I've ran into when problem arose only with -O3 is uninitialized variables/arrays. Adding the initialization fixed the problem. Just one thing to check, I guess. Best, Andy From: Prof Brian Ripley It is likely

[Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
Can someone in R Core please take a look at the attached patches to RSiteSearch() and its help page? I guess Jon is planning some changes on his site. Jon: could you elaborate on what the patch does? Best, Andy Notice: This e-mail message, together with any attachments, contains information

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
From: Liaw, Andy Can someone in R Core please take a look at the attached patches to RSiteSearch() and its help page? I guess Jon is planning some changes on his site. Apparently the attachments were stripped off the first time. Here's a second try. I've already set format to plain

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
From: Liaw, Andy From: Liaw, Andy Can someone in R Core please take a look at the attached patches to RSiteSearch() and its help page? I guess Jon is planning some changes on his site. Apparently the attachments were stripped off the first time. Here's a second try

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
From: Duncan Murdoch On 5/7/2009 10:18 AM, Jonathan Baron wrote: On 05/07/09 10:05, Liaw, Andy wrote: Can someone in R Core please take a look at the attached patches to RSiteSearch() and its help page? I guess Jon is planning some changes on his site. Jon: could you elaborate

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
From: Jonathan Baron On 05/07/09 13:48, Liaw, Andy wrote: From: Duncan Murdoch I'll incorporate the changes if you like. Yes. Please do. I understand that it won't take effect for a while. When it does, I'll change my site. What do you think of the idea of adding

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
I agree! Recall, though, I had added the RSiteSearch() functionality to the Rgui under Windows (Help / search.r-project.org...), so if RSiteSearch() is taken out, this need to go, too. Best, Andy From: Jonathan Baron There is something to be said for taking all of these functions

[Rd] R CMD check not running examples under Windows

2008-12-09 Thread Andy Bunn
. Cygwin is a fresh install as well. Any suggestions on what to do next greatly appreciated. -A ~~~ Andy Bunn Environmental Sciences, Huxley College Western Washington University Bellingham, WA 98225-9181 Skype: andy.bunn Phone: 360-650-4252 Fax: 360-650-7284 http

Re: [Rd] R CMD check not running examples under Windows

2008-12-09 Thread Andy Bunn
-Original Message- From: Uwe Ligges [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 2:03 AM To: Andy Bunn Cc: r-devel@r-project.org Subject: Re: [Rd] R CMD check not running examples under Windows My suggestion is to submit the package to the win-builder service

[Rd] dot in function name taken as S3 method by package check

2007-11-05 Thread Liaw, Andy
a workaround for this? I tried reading R-exts, but couldn't find any hint. I'd very much appreciate any help! Best, Andy Andy Liaw, PhD Biometrics ResearchPO Box 2000 RY33-300 Merck Research LabsRahway, NJ 07065 andy_liaw(a)merck.com 732-594-0820

[Rd] meaning of trim in mean()

2007-10-25 Thread Liaw, Andy
: If trim is non-zero, a symmetrically trimmed mean is computed with a fraction of trim observations deleted from each end before the mean is computed. The description in trim to me sounds like Windsorizing, rather than trimming. Should that be edited? Best, Andy Andy Liaw, PhD Biometrics Research

[Rd] aperm doesn't copy attributes

2007-09-20 Thread Liaw, Andy
-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base -- Andy Liaw, PhD

[Rd] [OT] How many useRs?

2007-08-27 Thread Andy Bunn
I'm writing where I encourage R's use. Thanks for any help. -Andy [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] read.table() can't read in this table (But Splus can)

2007-05-15 Thread Liaw, Andy
-prime or 5-prime that occurs commonly in biology... I don't think Mr. 9000 Vax can blame R for this. Best, Andy From: [EMAIL PROTECTED] On Mon, 2007-05-14 at 23:41 +0200, [EMAIL PROTECTED] wrote: Full_Name: vax, 9000 Version: 2.4.0, 2.2.1 OS: 2.4.0: Mac OS X; 2.2.1: Linux Submission

Re: [Rd] Unexpected result of as.character() and unlist() applied to a data frame

2007-03-27 Thread Liaw, Andy
answer. Andy From: [EMAIL PROTECTED] Hi, dd - data.frame(A=c(b,c,a), B=3:1) dd A B 1 b 3 2 c 2 3 a 1 unlist(dd) A1 A2 A3 B1 B2 B3 2 3 1 3 2 1 Someone else might get something different. It all depends on the values of its 'stringsAsFactors' option: dd2 - data.frame

Re: [Rd] obsolescence

2007-01-25 Thread Liaw, Andy
I think many would object to automatic check at every start-up. For the issue at hand, perhaps a check inside bug.report() would go a long way? Just an idea... Andy From: Barry Rowlingson Since many posts to R-devel/help invoke this response: Prof Brian Ripley wrote: Please, use

[Rd] strange error from R CMD check about xaxp

2006-11-29 Thread Liaw, Andy
no error or warning. I'm quite at my wit's end. Would very much appreciate any help! Best, Andy Andy Liaw, PhD Biometrics ResearchPO Box 2000 RY33-300 Merck Research LabsRahway, NJ 07065 andy_liaw(a)merck.com 732-594-0820

Re: [Rd] compiling R | multi-Opteron | BLAS source

2006-07-24 Thread Liaw, Andy
is the default. Andy Thanks very much in advance - and, again, apologies for the 'low-level' of these questions, but one needs to start somewhere. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] comment causes browser() to exit (PR#9063)

2006-07-07 Thread Liaw, Andy
(2006-06-01) Andy From: [EMAIL PROTECTED] I'm trying to step through some code using browser(), executing one line at a time. Unfortunately, whenever I execute a comment line, the browser exits. I previously reported a similar problem with blank lines. These problems are a strong

[Rd] a plead to package developers regarding GCC

2006-06-06 Thread Liaw, Andy
on them successfully. I believe many of such cases stem from the fact that the code were originally from the output of g2c. I can try to post a more concrete example if needed. I think resolving this will facilitate wider use of these packages. Thanks for your consideration. Best, Andy Andy

Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-25 Thread Liaw, Andy
*not* upgraded your *own* package!!! Please upgrade ALL your packages and re-install also ALL those that are from prior R releases. The problem could be the mirror site: Some sites are not as up-to-date as others. Andy Uwe Ligges -- File: C:/R/package/urca/DESCRIPTION

Re: [Rd] bash-like history mechanism and prompt settings

2006-04-13 Thread Liaw, Andy
a prompt that would tell (for example) the current time, and the number of the command to come [445-10:58:54] R See http://finzi.psych.upenn.edu/R/Rhelp02a/archive/0335.html Andy (I'm using R from gnome-terminal on fedora 5) Regards, Romain -- visit the R Graph Gallery

Re: [Rd] Wishlist: 'quietly' argument for .onAttach() / .First.li b()

2006-04-13 Thread Liaw, Andy
reporting version number upon startup is a Good Thing, as all too often people ask questions or report problems about packages without mentioning the version of the packages they used. I see this as a way of reminding the users. Andy -- Brian D. Ripley, [EMAIL PROTECTED

Re: [Rd] Wishlist: 'quietly' argument for .onAttach() / .First.li b()

2006-04-13 Thread Liaw, Andy
of this approach? Andy -- -- Bill Dunlap Insightful Corporation bill at insightful dot com 360-428-8146 All statements in this message represent the opinions of the author and do not necessarily reflect Insightful

Re: [Rd] sh is not recognised as an internal or external comman d, operable program or batch file

2006-03-26 Thread Liaw, Andy
That looks like the symptom of not following the documentation when trying to build packages on Windows. (You have not stated the platform.) In that case please check and see if you have the tools in Rtools.zip installed and on the PATH. Andy From: Steve Su Dear All, I was trying

Re: [Rd] problem building R-patched on x86-64 with PGI 6.1

2006-03-13 Thread Liaw, Andy
Thanks to Brian, I can now get PGI 6.1 to build R-devel (2006-03-13 r37533) and pass make check-all, using the config flags I showed in my original post. I will try to re-build with optimizing flags, and report back if I run into problems there. Best, Andy From: Jennifer Lai Jennifer Lai

[Rd] problem building R-patched on x86-64 with PGI 6.1

2006-03-10 Thread Liaw, Andy
[The pgf95 (or pgf90) is needed for linking against ACML to work. This should be unrelated as optim is in C.] I'd very much appreciate any pointers. Best, Andy Andy Liaw, PhD Biometrics ResearchPO Box 2000 RY33-300 Merck Research LabsRahway, NJ 07065 andy_liaw(a)merck.com 732

Re: [Rd] Peculiar timing result

2006-03-03 Thread Liaw, Andy
to what Prof. Bates is seeing, that the one that uses threaded BLAS took longer the than non-threaded one (on dual Xeon boxes). I never dug into it more, though. Andy From: Paul Gilbert Doug This is probably not your reason, but I am finding my dual core Athlon 64 is much slower running 64

Re: [Rd] profiling C code

2006-02-20 Thread Liaw, Andy
The last time I tried I didn't have much luck. The gprof manual I could find seems to indicate that it can not profile code that are dynamically loaded. (I was trying on Linux.) The R source seems to hint otherwise. I'd very much appreciate pointers as well. Andy From: Ross Boylan Does

Re: [Rd] crossvalidation in svm regression in e1071 gives incorre ct results (PR#8554)

2006-02-02 Thread Liaw, Andy
. 0.2679 0.2679 0.2679 0.2679 0.2679 0.2679 Andy From: [EMAIL PROTECTED] Full_Name: Noel O'Boyle Version: 2.1.0 OS: Debian GNU/Linux Sarge Submission from: (NULL) (131.111.8.96) (1) Description of error The 10-fold CV option for the svm function in e1071 appears to give

Re: [Rd] Mosaicplot coloring (PR#8537)

2006-01-30 Thread Liaw, Andy
packages in such a setup? Cheers, Andy Another solution to your problem might be to use association plots (assoplot() is referred to in ?mosaicplot, assoc() is again a more flexible implementation in vcd). Thanks; that may help me; I appreciate the suggestion. (I must point out, though

Re: [Rd] e1071: using svm with sparse matrices (PR#8527)

2006-01-27 Thread Liaw, Andy
-Jen Lin's code that uses the SparseM package to pass sparse data to svm()... David would know best, of course. Andy /Kasper On Jan 27, 2006, at 2:02 AM, [EMAIL PROTECTED] wrote: Full_Name: Julien Gagneur Version: 2.2.1 OS: Linux (Suse 9.3) Submission from: (NULL) (194.94.44.4

Re: [Rd] hello World problem

2006-01-12 Thread Liaw, Andy
See the `Value' section of ?.C. Also, it's better to use the i/o provided by the R API; i.e., something like: #include R.h void helloworld() { Rprintf(Hello world!\n); } Andy From: Romain Francois Hi, I'm trying to build a simple R package 'helloWorld' with just one function

Re: [Rd] prod(numeric(0)) surprise

2006-01-09 Thread Liaw, Andy
)? Ultimately, the results of these operations say more about the operation in question than about the empty set. For instance, notice that zero is the identity element for addition, and one is the identity element for multiplication. Andy From: Martin Morgan I guess I have to say yes, I'd

Re: [Rd] [R] data.frame() size

2005-12-09 Thread Liaw, Andy
I believe Gabor was referring to this: http://tolstoy.newcastle.edu.au/R/devel/05/05/0837.html Andy From: Hin-Tak Leung Gabor Grothendieck wrote: There was nothing attached in the copy that came through to me. I like to see that patch also. By the way, there was some discussion

Re: [Rd] x[1,], x[1,,], x[1,,,], ...

2005-11-23 Thread Liaw, Andy
I suppose one can make use of slice.index(): array(x[slice.index(x, 1) == 1], dim(x)[-1]) [,1] [,2] [1,]1 13 [2,]5 17 [3,]9 21 Andy From: Henrik Bengtsson Hi, is there a function in R already doing what I try to do below: # Let 'x' be an array with *any

Re: [Rd] make check fails for R 2.3.0 (PR#8343)

2005-11-22 Thread Liaw, Andy
in R-devel I won't report it. I do not believe that's the intention. Problem with building R-devel should be reported, but as post to R-devel (the list), rather than filed as bug report. Andy __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] S4 classes in existing packages

2005-11-01 Thread Liaw, Andy
Fritz gave a talk on S4 using pixmap as example at useR! 2004. You might want to start with that. The slides should be on the useR! 2004 web site. Andy From: Jeff Enos Thanks to Dirk Eddelbuettel, Matthias Kohl, Professor Ripley, and Bernhard Pfaff for their helpful reponses. Here

Re: [Rd] Microsoft help files

2005-10-26 Thread Liaw, Andy
Leung Personally my order of preference is CHM plain text HLP Isn't it true that even MS is moving away from HLP? Andy __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [R-gui] R GUI considerations

2005-10-20 Thread Liaw, Andy
in the sandbox for another 5 years!!! They want their GUI delivered... in the next years, or in the next six months, or even closer if possible! Er, how about yesterday? (Sorry, couldn't resist...) Andy So, a mix between the theoretical approach and the practical needs tells me

Re: [Rd] calling fortran from C

2005-10-20 Thread Liaw, Andy
This is in R-exts. If the Fortran subroutine is called `dqrfit', you would use something like: F77_CALL(dqrfit)(...); All arguments need to be pointers, as Fortran passes by reference. Andy From: James Bullard Hello, I had a question about calling some of R's fortran routines from C

Re: [Rd] cor doesn't accept na.rm? (PR#8193)

2005-10-09 Thread Liaw, Andy
Where in ?cor do you see the na.rm argument? Mine says: cor(x, y = NULL, use = all.obs, method = c(pearson, kendall, spearman)) There's na.rm on that page, but that's for var(). Please read the R FAQ more carefully about reporting bugs. Andy From: [EMAIL PROTECTED] Full_Name: Paul

Re: [Rd] Ad: Re: R crashes for large formulas in lm() (PR#8180)

2005-10-05 Thread Liaw, Andy
This is the same formula, at least it should be. It isn't and it shouldn't. (Try it for smaller values of 8) Er, which smaller values of 8 would you suggest? 8-) Andy y~(x1+x2+x3+x4+x5+x6+x7+x8)^2 should be same as the second formula, modulo the syntax error. -- O__ Peter Dalgaard

Re: [Rd] bug found in predict.locfit in locfit package ( PR#8057)

2005-10-05 Thread Liaw, Andy
). It will be uploaded to CRAN when Prof. Loader is OK with what I have. Andy From: [EMAIL PROTECTED] Full_Name: Somkiat Apipattanavis Version: 2.1.1 OS: Windows Submission from: (NULL) (128.138.44.123) Bug found in predict.locfit for density estimation # Example of bug found in prdict.locfit

[Rd] undocumented objects in a package

2005-09-23 Thread Liaw, Andy
find any mention in R-exts. I realize that the way to go is to have a name space, and eventually that's what I will do, but for now I rather spend the time doing other necessary clean-ups first. Any pointer much appreciated! Best, Andy Andy Liaw, PhD Biometrics Research PO Box 2000, RY33

Re: [Rd] Lists and data frames (PR#8143)

2005-09-19 Thread Liaw, Andy
() mylist[1] - list(value1=3, value2=5) Warning message: number of items to replace is not a multiple of replacement length Andy Can you please help me Thank you Regards Frank Wagner __ R-devel@r-project.org mailing list https

Re: [Rd] Build R with AMD pgi compiled ACML library

2005-09-07 Thread Liaw, Andy
I can only say that the last time I tried linking ACML to R, it did quite a bit worse than Goto's BLAS. Andy From: Jennifer Lai Hi, Has anyone had any luck in using portland group compiler to build R(-devel) with AMD's pgi compiled ACML library? I've downloaded the packages

Re: [Rd] Brewer colours

2005-07-07 Thread Liaw, Andy
Do you mean something like: http://cran.r-project.org/src/contrib/Descriptions/RColorBrewer.html ? Andy From: Peter Kleiweg Anyone who is interested in using optimal colour palettes should look at the work of Cindy Brewer: www.colorbrewer.org I have written code to use her colour