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?
Nothing in R per se, but R has a package Rggobi which provides an interface to ggobi, which is a program that may do what you want. Unix and Windows versions are available. See http://www.ggobi.org/ Cheers, Simon. Simon Blomberg, PhD Depression & Anxiety Consumer Research Unit Centre for Mental Health Research Australian National University http://www.anu.edu.au/cmhr/ Simon.Blomberg at anu.edu.au +61 (2) 6125 3379> -----Original Message----- > From: Richard A. O'Keefe [mailto:ok at cs.otago.ac.nz] > Sent: Monday, 23 June 2003 11:14 AM > To: r-help at stat.math.ethz.ch > Subject: [R] How can I do a spinning plot in R? > > > 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 >
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
Thank you to the people who told me about interfacing to *gobi
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
I asked about spinning plots in R. Peter Wolf <s-plus at wiwi.uni-bielefeld.de> wrote about a function of his using Tcl/Tk, at: http://www.wiwi.uni-bielefeld.de/~wolf/software/spin3R/spin3R.sch I have downloaded this. Now I face another problem. f% R R : Copyright 2003, The R Development Core Team Version 1.7.1 (2003-06-16) [rest of banner snipped] > library(tcltk) Segmentation Fault (core dumped) f% gdb $R_HOME/bin/R.bin core [snip] (gdb) where #0 0x7f6e5644 in Tcl_ParseCommand () from /usr/local/lib/libtcl8.1.so #1 0x7f6e6878 in Tcl_EvalEx () from /usr/local/lib/libtcl8.1.so #2 0x7f6e6b04 in Tcl_Eval () from /usr/local/lib/libtcl8.1.so #3 0x7f772cfc in tcltk_init () at tcltk.c:570 #4 0x615a0 in do_dotCode (call=0xcd452c, op=0xcd59a0, args=0x1e39f0, env=0x0) at dotcode.c:1307 #5 0x750a8 in Rf_eval (e=0xcd452c, rho=0x9825fc) at eval.c:441 #6 0x7673c in do_begin (call=0xcd4430, op=0x1f4c54, args=0xcd4548, rho=0x9825fc) at eval.c:1077 #7 0x74f38 in Rf_eval (e=0xcd4430, rho=0x9825fc) at eval.c:418 #8 0x755c4 in Rf_applyClosure (call=0x65a6ac, op=0x9d4ef4, arglist=0x984a94, rho=0xf13ea8, suppliedenv=0x1e39f0) at eval.c:609 [snip snip] When I installed R 1.7.1 I went through the usual ./configure make make check sequence. Make check reported a problem in a Tcl/Tk check, but it didn't dump core, and didn't explain what the problem actually _was_. I went carefully through the log produced by ./configure and found that it had located the Tcl/Tk libraries correctly, and we see from the dump above that this is certainly true of Tcl. (I actually have tcl 8.3 installed privately; R's configure located the system-wide 8.1 version.) This is on a Sun Blade 100 running Solaris 2.9. What is the next step in tracking this problem down?