Hi there, For me the package is working. Try to install.packages("RColorBrewer") It.
And then library("RColorBrewer") Then something like: brewer.pal(7,"Greens") Write in the mailing list what errors you got (if any) at any of these commands. Tal ----------------Contact Details:------------------------------------------------------- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Fri, Jul 9, 2010 at 12:21 AM, Trying To learn again < tryingtolearnag...@gmail.com> wrote: > Hi all, > > I have 35 years, I have been working since I exit from University. I have > returned to make a phd...I´m fortunatelly I´m working so unfortunatelly I > have few time to study (I have also a baby with 16 months). > > I´m trying to use R but sometimes it gets very difficult. > > I´m trying to put this code in my polygon function > colramp=colorRampPalette(brewer.pal(9,"YlOrRd") > > to use brever.pal I have installed this lybrary > > library(RColorBrewer) > > but when I try to run it appears this message: > > Error in col2rgb(colors) : cannot find function "brewer.pal" > > If you want I can attach the zip I use. > > Can anyone please guide me how to make this run? > > MAny thanks in advance. > > I really think I have never will get my phd but it wa a key I have in mind > and years before I´m trying. > > My neurons are limited but I will fight to achieve... > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.