Re: [R] tcltk problem

2015-03-12 Thread peter dalgaard
Fixed in R-devel. As a curiosity, this seems to have been there the last 7 years without anyone noticing. And the change to tcl() is another 4.5 years older... The problem with \dontrun sections in examples is that they tend not to be run... -pd On 12 Mar 2015, at 09:17 , Erich Neuwirth wro

Re: [R] tcltk problem

2015-03-12 Thread Karim Mezhoud
Hi, Here same working example. http://mcu.edu.tw/~chenmh/teaching/project/r/reference/RTclTkExamples/ Best, Karim On Wed, Mar 11, 2015 at 10:41 PM, Erich Neuwirth < erich.neuwi...@univie.ac.at> wrote: > OSX 10.10.2 > R 3.1.3 > XQuartz installed. > > I am trying to run one of the tcltk demos > Thi

Re: [R] tcltk problem

2015-03-12 Thread Erich Neuwirth
Sorry, I get at these demo when I do ?tkscrollbar Then the help file for many of the UI widgets appears, titled TkWidgets {tcltk} On the bottom of this file are the 2 examples I mentioned. Excuse the incomplete description in the first and the incorrect description in the second message. > On

Re: [R] tcltk problem

2015-03-12 Thread Erich Neuwirth
Thesw are demos for tclscrollbar I copied them from the help file to the console manually as the help file suggested. > On 12 Mar 2015, at 09:04, peter dalgaard wrote: > >> >> On 11 Mar 2015, at 23:41 , Erich Neuwirth > > wrote: >> >> OSX 10.10.2 >> R 3.1.3 >

Re: [R] tcltk problem

2015-03-12 Thread peter dalgaard
> On 11 Mar 2015, at 23:41 , Erich Neuwirth wrote: > > OSX 10.10.2 > R 3.1.3 > XQuartz installed. > > I am trying to run one of the tcltk demos Which demos? Doesn't look like any the ones in the package. (Please at least be specific when you imply that someone is publishing bad code.) > Th

[R] tcltk problem

2015-03-11 Thread Erich Neuwirth
OSX 10.10.2 R 3.1.3 XQuartz installed. I am trying to run one of the tcltk demos This one works: tt <- tktoplevel() label.widget <- tklabel(tt, text = "Hello, World!") button.widget <- tkbutton(tt, text = "Push", command = function()cat("OW!\n")) tkpack(label.widget, but

[R] tcltk problem on Centos 5.x (64bit)

2010-12-24 Thread Yifan Yang
Merry Chrismas to everyone, I have came across a problem when I tried to install 'qvalue' package, which depends on 'tcltk', in Centos 5.x, 64 bit. I compiled R 2.12.1(./configure --enable-R-static-lib --with-x --enable-memory-profiling) and tcl/tk(8.5.9). There is no warning message when I finish