[R] How can I do a spinning plot in R?

Richard A. O'Keefe ok at cs.otago.ac.nz
Tue Jun 24 03:42:06 CEST 2003


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?




More information about the R-help mailing list