I have found XLispStat's spinning plots illuminating. I'd like to do the same thing in R. A dozen or so probes with help, help.search, apropos haven't turned up anything, and I've even resorted to grepping through the entire R source distribution looking for 'spin.*plot', to no avail. Either the feature is called something else in R (what?), or it's in some other package in CRAN (which?), or it's not yet available (I hope not, because I am very far from being skilled enough in R programming to do it myself). Help?
How can I do a spinning plot in R?
6 messages · Richard O'Keefe, Brian Ripley, Ko-Kang Kevin Wang +3 more
There are interfaces to XGobi (the xgobi package on CRAN) and GGobi (RSGGobi from Omegahat, and I have a variation on xgobi()) to allow spinning of point clouds. You can spin surfaces in the R<-->GL packages, e.g. Duncan Murdoch's at http://www.stats.uwo.ca/faculty/murdoch/software/default.htm and (perhaps: I have not tried this one) Daniel Adler's at http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler/rgl/
On Mon, 23 Jun 2003, Richard A. O'Keefe wrote:
I have found XLispStat's spinning plots illuminating. I'd like to do the same thing in R. A dozen or so probes with help, help.search, apropos haven't turned up anything, and I've even resorted to grepping through the entire R source distribution looking for 'spin.*plot', to no avail. Either the feature is called something else in R (what?), or it's in some other package in CRAN (which?), or it's not yet available (I hope not, because I am very far from being skilled enough in R programming to do it myself).
(Actually the problem is the user interaction which does not fit well with the S/R graphics model.)
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Hi Richard,
On Mon, 23 Jun 2003, Prof Brian Ripley wrote:
You can spin surfaces in the R<-->GL packages, e.g. Duncan Murdoch's at http://www.stats.uwo.ca/faculty/murdoch/software/default.htm and (perhaps: I have not tried this one) Daniel Adler's at http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler/rgl/
Although I have not tried this myself, I saw one of the PhD students from our department gave a seminar a few months ago on Daniel Adler's RGL package. It looks pretty pretty cool.
From memory, he showed a multiple linear regression using RGL and
demonstrated how one can rotate the fitted surface. One can also change the light/shading as well. (He was using RH Linux, but there is a Windows version available too).
Cheers, Kevin ------------------------------------------------------------------------------ "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." -- Charles Babbage (1791-1871) ---- From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
Some days ago I wrote a function for rotating a cloud of points. To control the rotation a simple Tcl/Tk-widget is used. Here you can find the R code: http://www.wiwi.uni-bielefeld.de/~wolf/software/spin3R/spin3R.sch Peter Wolf, pwolf at wiwi.uni-bielefeld.de
Richard A. O'Keefe wrote:
I have found XLispStat's spinning plots illuminating. I'd like to do the same thing in R. A dozen or so probes with help, help.search, apropos haven't turned up anything, and I've even resorted to grepping through the entire R source distribution looking for 'spin.*plot', to no avail. Either the feature is called something else in R (what?), or it's in some other package in CRAN (which?), or it's not yet available (I hope not, because I am very far from being skilled enough in R programming to do it myself). Help?
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
I have the following message error when I try to buid my package : C:\Documents and Settings\Philippe>Rcmd check mypackage * checking for working latex ...Error: environment variable TMPDIR not set (or set to unusable value) and no default available. at C:\PROGRA~1\R\rw1071\share\perl/R/Utils.pm line 165 Does someone have any idea ? Thanks OS Windows XP miktex R 1.7.1 ActivePerle 5.8.0
Philippe Hup? wrote:
I have the following message error when I try to buid my package : C:\Documents and Settings\Philippe>Rcmd check mypackage * checking for working latex ...Error: environment variable TMPDIR not set (or set to unusable value) and no default available. at C:\PROGRA~1\R\rw1071\share\perl/R/Utils.pm line 165 Does someone have any idea ?
Yes: Read the documentation and the error message. From .../src/gnuwin32/readme.packages: "You may need to set TMPDIR to (the absolute path to) a suitable temporary directory: the default is c:/TEMP. (Use forward slashes, although the code will try to convert backslashes as from 1.7.0.)" Uwe Ligges
Thanks OS Windows XP miktex R 1.7.1 ActivePerle 5.8.0
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help