Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-11 Thread Lawrence Hanser
Monte, I vaguely remember having exactly the same error message at some point in my journey. Why don't you try simply loading tcltk first to see if you can then load Rcmdr: library(tcltk) On Wed, Feb 11, 2009 at 3:03 PM, Peter Dalgaard p.dalga...@biostat.ku.dkwrote: Monte Milanuk wrote:

Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-11 Thread Monte Milanuk
Lawrence Hanser wrote: Monte, I vaguely remember having exactly the same error message at some point in my journey. Why don't you try simply loading tcltk first to see if you can then load Rcmdr: library(tcltk) Larry, Oddly enough, I had tried just that before, with no success. This

Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-11 Thread Peter Dalgaard
Monte Milanuk wrote: Lawrence Hanser wrote: Monte, I vaguely remember having exactly the same error message at some point in my journey. Why don't you try simply loading tcltk first to see if you can then load Rcmdr: library(tcltk) Larry, Oddly enough, I had tried just that before,

Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-11 Thread Monte Milanuk
Peter Dalgaard wrote: Man, I'd forgotten how fugly plain ole X11 was compared to Aqua... ;) Do we have a volunteer to get Tcl/Tk Aqua working with R? ;-) (Seriously, read Mac OS X FAQ 2.1.7 before even thinking of doing that!) Oh heavens no! ;) I was working my way through a Python

Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-11 Thread Prof Brian Ripley
On Thu, 12 Feb 2009, Peter Dalgaard wrote: Man, I'd forgotten how fugly plain ole X11 was compared to Aqua... ;) Do we have a volunteer to get Tcl/Tk Aqua working with R? ;-) (Seriously, read Mac OS X FAQ 2.1.7 before even thinking of doing that!) For the record, the Tcl?Tk that ships with

[R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-10 Thread Lawrence Hanser
Dear Colleagues, When I try to install Rcmdr the following happens: -- library(Rcmdr) Error in structure(.External(dotTclObjv, objv, PACKAGE = tcltk), class = tclObj) : [tcl] invalid command name font. Error : .onAttach failed in 'attachNamespace' Error:

Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-10 Thread Dan Kelley
I just installed Rcmd on my OSX-10.5 32-bit powerpc box, with R 2.8.1, and it seems to work (see below). Beyond that, I can't help, since I've not used this package. Good luck! library(Rcmdr) Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: car

Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-10 Thread John Fox
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Lawrence Hanser Sent: February-10-09 5:01 PM To: r-help@r-project.org Subject: [R] tcltk, tcltk2, Rcmdr, Mac OS X Dear Colleagues, When I try to install Rcmdr the following happens

Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-10 Thread Lawrence Hanser
, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Lawrence Hanser Sent: February-10-09 5:01 PM To: r-help@r-project.org Subject: [R] tcltk, tcltk2, Rcmdr, Mac OS X Dear

Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X

2009-02-10 Thread John Fox
that lives on a Mac, but I suppose that getwd() would show you). John -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Lawrence Hanser Sent: February-10-09 7:43 PM To: r-help@r-project.org Subject: Re: [R] tcltk, tcltk2, Rcmdr

[R] Sweavetcltk graphics; save R-tcltk windows as *.jpeg

2008-06-30 Thread Andreas Posch
As I didn't get Sweave to include tcltk graphics, I am desperately trying to save R-tcltk graphics as *.jpeg, does anybody know whether there is a way to do that? any help would be highly appreciated, best regards, Andreas Posch __ R-help@r

[R] tcltk

2008-04-29 Thread John P. Burkett
On an x86 machine operating under Gentoo Linux, I'm having trouble with tcltk in R-2.6.1 (the latest version available through Gentoo's emerge/portage system). The problem first came to my attention when install.packages(Rmetrics) produced the following error message: Loading required package:

Re: [R] read variable global in R tcltk

2008-04-22 Thread Philippe Grosjean
Read ?tclvalue. For instance, you can do: tclvalue(tcl_library) # Read the content of a Tcl variable [1] /usr/local/lib/tcl8.4 .Tcl(set myvar 1) # Create a variable inside Tcl Tcl 1 tclvalue(myvar)# Read its value [1] 1 To make sure you create global variables in

[R] read variable global in R tcltk

2008-04-21 Thread Handayani Situmorang
I have any problem with my code. I build a small GUI in R with tcltk package. the proolem is I don't understand how to make a variable value can be read by R from a function. the variable value can only read if it's called via tcltk widgets and pass it to another function. i think the point is

[R] tcltk issue remains

2008-04-07 Thread Ingmar Visser
Dear R-help, I'm trying to load the fGarch package and keep running into problems with tcltk: After succesfully instaling fGarch (and dependencies) I get: library(fGarch) Loading required package: fBasics Loading required package: fImport Loading required package: fSeries Loading required

Re: [R] tcltk issue remains

2008-04-07 Thread Pablo G Goicoechea
Hi Ingmar Have you opened X11? hope it helps Pablo Ingmar Visser escribió: Dear R-help, I'm trying to load the fGarch package and keep running into problems with tcltk: After succesfully instaling fGarch (and dependencies) I get: library(fGarch) Loading required package: fBasics

Re: [R] tcltk again (solved)

2007-12-31 Thread Richard Müller
I wrote the following code: X11() # some code to generate a plot on the screen omitted res -tkmessageBox(title=Finish?, message=save as PDF?, icon=question, type=okcancel) if (tclvalue(res) == ok) Datei - tkgetSaveFile(initialdir=temp/,defaultextension=.pdf,

Re: [R] tcltk again

2007-12-30 Thread Richard Müller
... I experimented with tkgetSaveFile(). But in the moment the user gives the filename the file is not yet generated! And I can't generate it in advance, because the filename is not yet specified. I don't see why this is a problem. In tkgetSaveFile(), the user can just navigate to

Re: [R] tcltk again

2007-12-30 Thread Richard Müller
Oops, I just sent the wrong mail. It should be the following one. Please delete my mail from 30.Dez. 17:51 Sorry, but I don't really understand the recommended method using the tk-Box tkGetSaveFile. I wrote the following code: X11() # some code to generate a plot on the screen omitted res -

Re: [R] tcltk again

2007-12-30 Thread Charilaos Skiadas
On Dec 30, 2007, at 11:55 AM, Richard Müller wrote: Oops, I just sent the wrong mail. It should be the following one. Please delete my mail from 30.Dez. 17:51 Sorry, but I don't really understand the recommended method using the tk-Box tkGetSaveFile. I wrote the following code:

[R] tcltk again

2007-12-29 Thread Richard Müller
Hello, the admonition of Prof. Ripley to search the documentation to solve my problem helped, today I read a lot more on Tcl/Tk than before ;-) But now I'm stuck again. With the help of my script some functions are plotted on the display, then I ask if the user wants to save it as pdf. In

Re: [R] tcltk again

2007-12-29 Thread Peter Dalgaard
Richard Müller wrote: Hello, the admonition of Prof. Ripley to search the documentation to solve my problem helped, today I read a lot more on Tcl/Tk than before ;-) But now I'm stuck again. With the help of my script some functions are plotted on the display, then I ask if the user

Re: [R] tcltk: help with tkmenubutton

2007-10-19 Thread Alberto Monteiro
I wrote: [note to self: I must stop this schizophrenic habit of replying to self. note to self II: I must also stop making notes to self] I am struck here. What magic inchantation is required with tkmenubutton? (...) # HERE!!! What is the magic inchantation that I must use here? # #

[R] tcltk: I guess I am starting to get it

2007-10-18 Thread Alberto Monteiro
I found a great site with many Perl/tk examples (it's in German): http://gd.tuwien.ac.at/languages/perl/Hajji-Perlkurs/part4/tkperl.html It's quite simple to convert these examples to R's tcltk. One that gave me some trouble was: # (please open the file to get the context) # (...) # a

Re: [R] tcltk scrollbar

2007-10-08 Thread Peter Dalgaard
Jonne Zutt wrote: Maybe I do... I think the OP means the first scrollbar isn't tight to the first listbox. This is due to the length of the Basic Manipulation label. For example, try to pack this label as follows: tkgrid(lbl.MainT,columnspan=2,sticky=nw) Aha. Now I see it too:

Re: [R] tcltk scrollbar

2007-10-08 Thread kapo coulibaly
This is approximately what I get: -- --- ! !!S! ! !S! ! !!C! ! !C! ! !!R! !

Re: [R] tcltk scrollbar

2007-10-08 Thread Peter Dalgaard
kapo coulibaly wrote: This is approximately what I get: -- --- ! !!S! ! !S! ! !!C! ! !C! ! !

Re: [R] tcltk question

2007-10-04 Thread Peter Dalgaard
Tae-Hoon Chung wrote: Is there any requirement for TclTk support for R? When I tried to call the tcltk library, it failed with the following message: library(tcltk) Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error in

[R] tcltk question

2007-10-03 Thread Tae-Hoon Chung
Is there any requirement for TclTk support for R? When I tried to call the tcltk library, it failed with the following message: library(tcltk) Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error in library(tcltk) : .First.lib failed for

<    1   2