Skip to content

How can I do a spinning plot in R?

6 messages · Richard O'Keefe, Brian Ripley, Ko-Kang Kevin Wang +3 more

#
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?
#
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:

            
(Actually the problem is the user interaction which does not fit well with
the S/R graphics model.)
#
Hi Richard,
On Mon, 23 Jun 2003, Prof Brian Ripley wrote:

            
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.
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).
#
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 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:

            
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