The TeachingDemos package does not in any way replace the rgl package. They serve very different purposes (the TeachingDemos package does use rgl for a couple of functions).
I would be very surprised if there was anything in the TeachingDemos package that would be of help in creating barplots with 3d effects. 3d effects distort the information in graphs without adding anything to their interpretation. If you want to display information, then use the appropriate graph without the extra chartjunk. If you want something to catch the reader's attention, use a picture of a kitten. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of khush ........ > Sent: Friday, June 04, 2010 1:45 AM > To: r-help@r-project.org > Subject: [R] Shapes in barplots > > Hi, > > I am making barplots . I am using the default shape of barplots with a > pipe > but I wants to build bars in various 3d shapes. I have install rgl > using > install.packages('rgl') for this purpose, but when I am doing > library(rgl), > it shows > > Error in library(rgl) : there is no package called 'rgl' > > What are the other ways to build such plots of variuos shapes. > > Is that *TeachingDemos *replace it..I am not sure how to use it for > such > task. > > Thanks in advance > Jeet > > [[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. ______________________________________________ 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.