[R] Re: R-help Digest, Vol 17, Issue 25

From: Ross Henderson <ross_at_ln.nimh.nih.gov>
Date: Wed 28 Jul 2004 - 08:25:44 EST


I'm trying to use R to take an image matrix and paint it into a tcltk canvas. I'm using R-1.9.0 within ess-5.2.0 on a linux machine running the 2.4.30-31.9smp kernel. I'm using the ActiveTcl8.4.6.1-linux-ix86 tcltk libraries.

When I run the following comands, however, I get an R segmentation fault:

> library(tcltk)
> addTclPath("/usr/local/ActiveTcl/lib")
> tclRequire("Img")

<Tcl> 1.3

Process R segmentation fault at Tue Jul 27 18:18:40 2004

I've run this as root, and I get the same segmentation fault, So I don't think this is a permissions problem. Should I somehow be initializing tclVar()? Can anyone point me to the right way to run this piece of code so that I don't get the segmentation fault?

Thanks in advance.


Ross Henderson                           National Inst. of Mental Health
Computer Scientist                         National Institutes of Health
Laboratory of Neuropsychology                       Bldg. 49, Room 1B-80
Neural Coding and Computation                    Bethesda, MD  USA 20892
tel:  301-496-5625 ext. 251                   http://neuron.nimh.nih.gov

R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 28 08:43:02 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:40:22 EST