Re: [R] tcltk problems

2017-11-19 Thread Dirk Eddelbuettel
On 20 November 2017 at 08:38, Rolf Turner wrote: | Point of order Mr. Chairman. It is completely unfair to say that I shot | myself in the foot. You moved files [or, in this case, created symlinks] below /usr. Most of us repeatedly said you should not have to. | Well, OK. What list *should*

Re: [R] tcltk problems

2017-11-19 Thread Rolf Turner
On 20/11/17 03:15, Dirk Eddelbuettel wrote: On 19 November 2017 at 12:17, peter dalgaard wrote: | Dirk may want to dig in here: I respectfully decline. R builds fine on every Ubuntu system, and always has. No bug in R, or Ubuntu, or Debian (which would be cup of tea). There is the distro

Re: [R] tcltk problems

2017-11-19 Thread Dirk Eddelbuettel
On 19 November 2017 at 12:17, peter dalgaard wrote: | Dirk may want to dig in here: I respectfully decline. R builds fine on every Ubuntu system, and always has. No bug in R, or Ubuntu, or Debian (which would be cup of tea). There is the distro package (which may be older if an older distro

Re: [R] tcltk problems

2017-11-19 Thread peter dalgaard
Dirk may want to dig in here: Seems like you have a system with a /usr/lib64 dir for 64 bit libraries, but Tcl files in /usr/lib. If that is not an anomaly, it looks like we have a configure bug (conceiveably, a system might be using /usr/lib for architecture-independent files, and lib64/lib32

Re: [R] tcltk problems

2017-11-19 Thread peter dalgaard
This is normal, but you're not reading it right. Typically, a program conftest.c is generated on the fly and contains something like a #include of something you may or may not have. The first part of the program is labeled /* conftest.h */ which indicates that it is taken from that file of

Re: [R] tcltk problems

2017-11-18 Thread Rolf Turner
On 18/11/17 18:18, Peter Langfelder wrote: Rolf, looking at the configure script I believe you need to specify --with-tcl-config=/usr/lib/tcl8.6/tclConfig.sh and similarly --with-tk-config= HTH. Yes it helped. Thank you. I don't really understand why, but. I had previously (following an

Re: [R] tcltk problems

2017-11-18 Thread Dirk Eddelbuettel
Rolf, A few quick points as I just noticed this thread (as I don't regularly dip into r-help any more): 1) You really do not need to builds R locally on Ubuntu. I update the Debian package hours after Peter cuts a release. Michael rolls Ubuntu releases off these typically the same

Re: [R] tcltk problems

2017-11-18 Thread Albrecht Kauffmann
Did you istall the tcl- and tk-devel packages? Best, Albrecht -- Albrecht Kauffmann alkau...@fastmail.fm Am Sa, 18. Nov 2017, um 05:00, schrieb Erin Hodgess: > When I have compiled from sourced on Ubuntu, I did NOT include the > "with-tcltk" and it worked fine. Did you try that, please? >

Re: [R] tcltk problems

2017-11-18 Thread peter dalgaard
That should probably work, but I wonder whether the root cause might be non-installation of Ubuntu "-devel" (or is it "-dev"?) Tcl and Tk packages. It doesn't look quite right to have to tell R's configure about a path that depends on the current Tcl/Tk version. I would have expected that

Re: [R] tcltk problems

2017-11-17 Thread Peter Langfelder
Rolf, looking at the configure script I believe you need to specify --with-tcl-config=/usr/lib/tcl8.6/tclConfig.sh and similarly --with-tk-config= HTH, Peter On Fri, Nov 17, 2017 at 8:43 PM, Rolf Turner wrote: > On 18/11/17 17:00, Erin Hodgess wrote: >> >> When I

Re: [R] tcltk problems

2017-11-17 Thread Rolf Turner
On 18/11/17 17:00, Erin Hodgess wrote: When I have compiled from sourced on Ubuntu, I did NOT include the "with-tcltk" and it worked fine.  Did you try that, please? As I said, this idea makes absolutely no sense, but OK, I tried it. And of course it didn't work. Using the newly built R I

Re: [R] tcltk problems

2017-11-17 Thread Rolf Turner
On 18/11/17 17:00, Erin Hodgess wrote: When I have compiled from sourced on Ubuntu, I did NOT include the "with-tcltk" and it worked fine.  Did you try that, please? In the past I have configured without using the "--with-tcltk" flag, and R of course built just fine. But it *did not* have

Re: [R] tcltk problems

2017-11-17 Thread Erin Hodgess
When I have compiled from sourced on Ubuntu, I did NOT include the "with-tcltk" and it worked fine. Did you try that, please? Thanks, Erin On Fri, Nov 17, 2017 at 6:34 PM, Rolf Turner wrote: > > It recently came to my attention that my R installation no longer has >

[R] tcltk problems

2017-11-17 Thread Rolf Turner
It recently came to my attention that my R installation no longer has tcltk capability. I can't figure out why or what to do about it. I built R from source. I configured using the "--with-tcltk" flag. The build and install *seemed* to go OK, but after realising I didn't have tcltk

[R] tcltk: use of .Tcl.callback

2016-12-03 Thread Cleber N.Borges
Dear, How to properly use the function: .Tcl.callback( ) to trigger a single R function with different values? Below is my stupid solution ... The expected behavior is this but I would like to know how to do it right. Thanks in advanced cleber ##

[R] tcltk: use of .Tcl.callback

2016-12-03 Thread Cleber N.Borges
Dear, How to properly use the function: .Tcl.callback( ) to trigger a single R function with different values? Below is my stupid solution ... The expected behavior is this but I would like to know how to do it right. Thanks in advanced cleber ##

[R] [tcltk] tktable: bindings doesn't triggers the ValidationCommand and Command

2016-11-24 Thread Cleber N.Borges via R-help
Dears, I'm trying to create an Data Editor like Rgui.exe's FIX (windows)... The code is below. The problem is that I can not get the binds to trigger the validation commands and the main table command Control-C, Control-V, and Control-X work only in the visual without my R data being changed.

Re: [R] tcltk table "validateCommand"

2016-11-17 Thread Dalthorp, Daniel
Yes, Peter's suggestion worked just right. Here's an example that prints out the proposed cell content and will not allow 'w' or '\n' to be entered into the table: require(tcltk2) tt<-tktoplevel(); tfr<-tkframe(tt); tkgrid(tfr) tableData<-tclArray() valChar<-function(S){ print(S);

Re: [R] tcltk table "validateCommand"

2016-11-17 Thread Cleber N.Borges via R-help
Hi Dan Were you able to find a way to access the % S values ?? Do you have any examples of how this works? Thank you for your attention. Cleber Em 25/01/2016 08:21, peter dalgaard escreveu: > It's been so long that I have forgotten how to get the package with the table > widget installed on

Re: [R] tcltk: click and return table cell index

2016-05-02 Thread Dalthorp, Daniel
> John > > - > John Fox, Professor > McMaster University > Hamilton, Ontario > Canada L8S 4M4 > Web: socserv.mcmaster.ca/jfox > > > > -Original Message- > > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of > Dalthorp,

Re: [R] tcltk: click and return table cell index

2016-04-30 Thread Fox, John
1:42 PM > To: r-help@R-project.org (r-help@r-project.org) <r-help@r-project.org> > Subject: [R] tcltk: click and return table cell index > > I'm struggling mightily with what should be a simple task...when a user clicks > on a cell in a tcltk table widget, I need to kno

[R] tcltk: click and return table cell index

2016-04-29 Thread Dalthorp, Daniel
I'm struggling mightily with what should be a simple task...when a user clicks on a cell in a tcltk table widget, I need to know which cell was clicked. One idea that gives a cryptic error: tkbind(table1, "", function(x, y){ tcl(table1, "index", x, y) } # x, y give pixel coordinates; "index"

Re: [R] 'tcltk' in R2.3.3

2016-02-18 Thread Bob Kot
3 PM To: r-help@r-project.org Subject: [R] 'tcltk' in R2.3.3 Dear R users, I would to install 'tcltk' in R2.3.3 but getting below error when I tried to install. Can you please suggest me? > install.packages("tcltk", repos = "http://cran.cnr.Berkeley.edu/;); Installing packag

[R] 'tcltk' in R2.3.3

2016-02-18 Thread Divakar Reddy
Dear R users, I would to install 'tcltk' in R2.3.3 but getting below error when I tried to install. Can you please suggest me? > install.packages("tcltk", repos = "http://cran.cnr.Berkeley.edu/;); Installing package into ‘/usr/lib64/R/library’ (as ‘lib’ is unspecified) Warning message: package

Re: [R] 'tcltk' in R2.3.3

2016-02-18 Thread Uwe Ligges
On 18.02.2016 21:03, Divakar Reddy wrote: Dear R users, I would to install 'tcltk' in R2.3.3 but getting below error when I tried to install. Can you please suggest me? install.packages("tcltk", repos = "http://cran.cnr.Berkeley.edu/;); Installing package into ‘/usr/lib64/R/library’ (as

Re: [R] 'tcltk' in R2.3.3

2016-02-18 Thread Duncan Murdoch
On 18/02/2016 3:03 PM, Divakar Reddy wrote: Dear R users, I would to install 'tcltk' in R2.3.3 but getting below error when I tried to install. Can you please suggest me? Don't try to install a base package. You already have it. You aren't allowed to update it. Duncan Murdoch

[R] tcltk table: get celltag value

2016-01-25 Thread Dalthorp, Daniel
I'm finding it very difficult to figure out how to read the value of "celltag" for a given cell in a tktable. I'm sure it's something like: tcl(classTable, "get", "celltag", row, column) but of the dozens of variations of names, options, args, and formats I've tried, nothing is working. Any

Re: [R] tcltk table: get celltag value

2016-01-25 Thread peter dalgaard
> On 26 Jan 2016, at 00:54 , Dalthorp, Daniel wrote: > > I'm finding it very difficult to figure out how to read the value of > "celltag" for a given cell in a tktable. > > I'm sure it's something like: > > tcl(classTable, "get", "celltag", row, column) > > but of the

Re: [R] tcltk table "validateCommand"

2016-01-25 Thread peter dalgaard
It's been so long that I have forgotten how to get the package with the table widget installed on OSX, so I cannot check things for you. However, the canonical way to handle %S type arguments is to pass them as formal arguments to the callback, e.g. > .Tcl.callback(function(x,y)x+y) [1]

[R] tcltk table "validateCommand"

2016-01-22 Thread Dalthorp, Daniel
I'd like to allow users to edit data in tcltk tables and to use vcmd to validate data entry, e.g., not allowing non-numbers to be entered in numeric cells and not allowing '\n' to be entered in text cells. The problem is that I can't figure out how to "see" their data entry before it is entered,

Re: [R] tcltk tkwidget(..."table")

2016-01-22 Thread Dalthorp, Daniel
Thanks, Adrian...the discussions about R bindings to Tcl and Tk look very helpful! -Dan On Fri, Jan 22, 2016 at 2:49 AM, Adrian Waddell wrote: > I have written some content about the R bindings to Tcl and Tk: > > http://waddella.github.io/loon/learn_R_tcltk.html > >

Re: [R] tcltk tkwidget(..."table")

2016-01-22 Thread peter dalgaard
Good pointers, although R bindings document is not quite getting into the really messy bits. I think Daniel may be at a point where he needs to study the code snippets that he has got to work and figure out why and how they work. The help(TclInterface) page is the most definitive

Re: [R] tcltk tkwidget(..."table")

2016-01-22 Thread Adrian Waddell
I have written some content about the R bindings to Tcl and Tk: http://waddella.github.io/loon/learn_R_tcltk.html And the pack geometry manager http://adrian.waddell.ch/EssentialSoftware/Rtcltk_geometry.pdf But if you have no experience with building graphical user interfaces then you might

Re: [R] tcltk: write '[' and ']' in a table cell

2016-01-21 Thread peter dalgaard
“Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before.” ― Steven Wright Check if this might be the same issue as the one of embedded spaces in https://stat.ethz.ch/pipermail/r-help/2009-January/378558.html -pd > On 21 Jan 2016, at 02:12 , Dalthorp,

Re: [R] tcltk tkwidget(..."table")

2016-01-21 Thread Dalthorp, Daniel
> Once you're up to speed on those issues... Any suggestions for getting up to speed on those issues? On Thu, Jan 21, 2016 at 11:46 AM, peter dalgaard wrote: > > > On 21 Jan 2016, at 00:25 , Dalthorp, Daniel wrote: > > > > Thanks, Peter. > > > > I'm

Re: [R] tcltk: write '[' and ']' in a table cell

2016-01-21 Thread Dalthorp, Daniel
Many thanks, Peter. Simple, works perfectly, and nigh on impossible to figure out without your help. To summarize...in my example, I need to do: junk[[0,0]] <- as.tclObj(lbl,drop=T) # instead of junk[[0,0]]<-lbl It works for spaces, brackets, parentheses, and all manner of special characters.

Re: [R] tcltk tkwidget(..."table")

2016-01-21 Thread peter dalgaard
> On 21 Jan 2016, at 00:25 , Dalthorp, Daniel wrote: > > Thanks, Peter. > > I'm sure that's right, but it requires knowing: (1) that there's something > called the "width subcommand", and (2) how to format the call to that > command/subcommand. > Yes, there's a fair

[R] tcltk: write '[' and ']' in a table cell

2016-01-20 Thread Dalthorp, Daniel
I know it should not be difficult to write the string: i<-4 j<-17 lbl<-paste0("[", i, ", ", j, "]") # to a table, but I'm having a devil of a time trying to figure out how to do it. # the following gives lbl surrounded by braces. tt<-tktoplevel() tfr <- tkframe(tt) tkgrid(tfr) junk<-tclArray()

Re: [R] tcltk tkwidget(..."table")

2016-01-20 Thread Dalthorp, Daniel
Thanks, Peter. I'm sure that's right, but it requires knowing: (1) that there's something called the "width subcommand", and (2) how to format the call to that command/subcommand. I was able to do it eventually but only after a few hours of effort searching the web for help. E.g. with a table

Re: [R] tcltk tkwidget(..."table")

2016-01-20 Thread peter dalgaard
> On 19 Jan 2016, at 20:48 , Dalthorp, Daniel wrote: > > Does anyone know a simple way to create a tcltk table with columns of > varying widths? Create a table, then set the width of the columns with the width subcommand? -pd pathName width ?col? ?value col value ...? If

[R] tcltk tkwidget(..."table")

2016-01-19 Thread Dalthorp, Daniel
Does anyone know a simple way to create a tcltk table with columns of varying widths? -Dan -- Dan Dalthorp, PhD USGS Forest and Rangeland Ecosystem Science Center Forest Sciences Lab, Rm 189 3200 SW Jefferson Way Corvallis, OR 97331 ph: 541-750-0953 ddalth...@usgs.gov [[alternative

[R] [tcltk][tktable] How to make an efficient data transfer from R to Tcl?

2015-12-08 Thread Cleber N.Borges
hello all, I intend transfer a big data.frame, more than 1e4 rows, more than 100 columns... I found solutions (in internet and help pages) for small data.frame like the showed bellow. Big data.frames is very expensive in computation time in my approach I would like to optimize this transfer

Re: [R] [tcltk][tktable] How to make an efficient data transfer from R to Tcl?

2015-12-08 Thread phgrosjean
Are you sure this is the right way to go for your use case? Even if you got a quick solution to display an 1e4 x 100 table in TkTable, what is the purpose of it? Will the user browse the whole dataset that way? Even if the answer is yes, you would probably need to implement sorting and

Re: [R] [tcltk][tktable] How to make an efficient data transfer from R to Tcl?

2015-12-08 Thread Jim Lemon
Hi Cleber, have you tried: edit(mtcars) Jim On Wed, Dec 9, 2015 at 1:04 PM, Cleber N.Borges wrote: > my objective is to show data in screen inside a tktable... > for that, the data must be in a TCL variable and not only in a R variable > like that: > > library( tcltk )

Re: [R] [tcltk][tktable] How to make an efficient data transfer from R to Tcl?

2015-12-08 Thread Bert Gunter
Define: "transfer" ( save/load should be efficient and fast within R, but you appear to have something else in mind. What?) Apologies if it's obvious and I just don't get it. Cheers, Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not

Re: [R] [tcltk][tktable] How to make an efficient data transfer from R to Tcl?

2015-12-08 Thread Cleber N.Borges
my objective is to show data in screen inside a tktable... for that, the data must be in a TCL variable and not only in a R variable like that: library( tcltk ) mtcars_in_TCL <- tclArray() for( i in 1:5 ) for( j in 1:5 ) mtcars_in_TCL[[ i,j ]] <- as.matrix(mtcars)[ i,j ] i thank by attention

Re: [R] tcltk TK table : Is it possible to block the cell? [Question in 2003, but TK changes the interfaces functions]

2015-12-06 Thread Cleber N.Borges
thanks by the help but I do not understand how to set a tag in cell table. cleber Em 05/12/2015 18:57, peter dalgaard escreveu: On 05 Dec 2015, at 20:15 , Cleber N.Borges wrote: in 2003 [1] someone asked for: "Is it possible to" block "the cell?" but the solution

Re: [R] tcltk TK table : Is it possible to block the cell? [Question in 2003, but TK changes the interfaces functions]

2015-12-06 Thread peter dalgaard
Well, if it was _my_ problem (and it isn't...), I'd get hold of the documentation for TkTable and figure out how you are supposed to do it with Tcl/Tk, then figure out how to do the same thing(s) from R. You should have the building blocks by now. -pd > On 06 Dec 2015, at 11:57 , Cleber

[R] tcltk TK table : Is it possible to block the cell? [Question in 2003, but TK changes the interfaces functions]

2015-12-05 Thread Cleber N.Borges
in 2003 [1] someone asked for: "Is it possible to" block "the cell?" but the solution involves the "tkcmd" that no longer exists ... tkcmd (.Tk.ID (table1), "tag", "celltag" "ZeroOne", "0.1") I tried to adapt to: tktag.add (table1, "celltag" "ZeroOne", "0.1") but I get error. How to adapt it?

Re: [R] tcltk TK table : Is it possible to block the cell? [Question in 2003, but TK changes the interfaces functions]

2015-12-05 Thread peter dalgaard
> On 05 Dec 2015, at 20:15 , Cleber N.Borges wrote: > > in 2003 [1] someone asked for: > "Is it possible to" block "the cell?" > but the solution involves the "tkcmd" that no longer exists ... > > tkcmd (.Tk.ID (table1), "tag", "celltag" "ZeroOne", "0.1") tcl() should be

Re: [R] tcltk table properties

2015-10-02 Thread peter dalgaard
On 02 Oct 2015, at 03:32 , Dan D wrote: > I have a tkwidget table (say, tbl1) that may be reconfigured at various times > depending on user input. Is there an easy way to later extract table > properties? Something like... > > nrow<-tkgetproperties(tbl1, rows) > More like

[R] tcltk table properties

2015-10-01 Thread Dan D
I have a tkwidget table (say, tbl1) that may be reconfigured at various times depending on user input. Is there an easy way to later extract table properties? Something like... nrow<-tkgetproperties(tbl1, rows) Muchas thanks in advance. -Dan -- View this message in context:

Re: [R] tcltk problem

2015-03-12 Thread peter dalgaard
On 11 Mar 2015, at 23:41 , 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 Which demos? Doesn't look like any the ones in the package. (Please at least be specific when you imply that someone is

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 pda...@gmail.com wrote: On 11 Mar 2015, at 23:41 , Erich Neuwirth erich.neuwi...@univie.ac.at mailto:erich.neuwi...@univie.ac.at

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 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 This one

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

[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,

[R] tcltk

2014-12-25 Thread Ivan Calandra
Dear useRs, I have just upgraded to R 3.1.2 for MacOS 10.6.8 (with the binary for Snow Leopard). Everything is fine except that I get an error when loading TclTk: library(tcltk) Error : .onLoad a échoué dans loadNamespace() pour 'tcltk', détails : appel : system2(otool, c(-L, shQuote(DLL)),

Re: [R] tcltk

2014-12-25 Thread Prof Brian Ripley
On 25/12/2014 14:26, Ivan Calandra wrote: Dear useRs, I have just upgraded to R 3.1.2 for MacOS 10.6.8 (with the binary for Snow Leopard). Rather belatedly Everything is fine except that I get an error when loading TclTk: library(tcltk) Error : .onLoad a échoué dans loadNamespace()

[R] tcltk makes R crash under Mavericks

2014-01-13 Thread Claudia Tebaldi
Hello I was just forced to upgrade my OS X to Mavericks. Everything seemed to be OK, R still worked seemingly fine within emacs (am using the latest version, R 3.0.2, and the latest version of ESS, with Emacs 24.3.1) until I tried loading the library extRemes. Apparently the call within that

Re: [R] tcltk makes R crash under Mavericks

2014-01-13 Thread Berend Hasselman
On 13-01-2014, at 19:30, Claudia Tebaldi claudia.teba...@gmail.com wrote: Hello I was just forced to upgrade my OS X to Mavericks. Everything seemed to be OK, R still worked seemingly fine within emacs (am using the latest version, R 3.0.2, and the latest version of ESS, with Emacs 24.3.1)

Re: [R] tcltk makes R crash under Mavericks

2014-01-13 Thread Claudia Tebaldi
Yes, thank you, as I said I did reinstall R and tcltk. That's not the problem. For some reason loading the package still makes R crash. Claudia Tebaldi Project Scientist, CGD/NCAR and Science Fellow Climate Central (303) 497 1710 w (303) 775 5365 c On Mon, Jan 13, 2014 at 11:51 AM, Berend

Re: [R] tcltk makes R crash under Mavericks

2014-01-13 Thread Berend Hasselman
On 13-01-2014, at 19:53, Claudia Tebaldi claudia.teba...@gmail.com wrote: Yes, thank you, as I said I did reinstall R and tcltk. That's not the problem. Look at what you wrote: I tried reinstalling everything (R and the packages, and the tools' tcltk package -- even if I think it should

Re: [R] tcltk makes R crash under Mavericks

2014-01-13 Thread John Fox
Dear Claudia, The R Commander installation notes at http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html have some information (near the bottom) about trouble-shooting tcltk problems on Mac OS X. Maybe they will help. Best, John

[R] tcltk installation problem in R (Mac OS X version)

2012-09-13 Thread Nitin Bhardwaj
Hi all, I just installed R on my Mac OS X machine and wanted to installed tcl/tk. So, I installed tcl/tk from this page: http://cran.r-project.org/bin/macosx/tools/ It gets placed in /usr/local dir. and then I installed R. Next, in R, I set the TCL_LIBRARY variable by saying

Re: [R] tcltk installation problem in R (Mac OS X version)

2012-09-13 Thread David Winsemius
On Sep 13, 2012, at 8:05 PM, Nitin Bhardwaj wrote: Hi all, I just installed R on my Mac OS X machine How did you do that? (... and please don't reply to this message in r-help. It should go to R-SIG-Mac and I am adding that address. You should delete the r=help address when you reply) and

Re: [R] tcltk installation problem in R (Mac OS X version)

2012-09-13 Thread peter dalgaard
On Sep 14, 2012, at 06:48 , David Winsemius wrote: On Sep 13, 2012, at 8:05 PM, Nitin Bhardwaj wrote: Hi all, I just installed R on my Mac OS X machine How did you do that? (... and please don't reply to this message in r-help. It should go to R-SIG-Mac and I am adding that address.

[R] Trying to build up a user interface with the R tcltk package

2012-08-07 Thread Julio Sergio Santana
I'm trying to build up a user inteface using the R tcltk component. Since the documentation for this R library is scarce and poor, I have decided to use only the .Tcl function to pass commands to the tcl interpreter. So I wrote my first very simple tcltk program, hoping to run it from inside R

Re: [R] tcltk on linux/rhel6

2012-01-04 Thread Prof Brian Ripley
On 04/01/2012 01:52, Peter Langfelder wrote: On Tue, Jan 3, 2012 at 4:03 PM, Carl Baribaultcrlbr...@gmail.com wrote: Dear All, I've seen posts to the effect that.. 1) choose.dir is only available for windows, and 2) tk_choose.dir would be the linux equivalent. I'm still having trouble with

Re: [R] tcltk on linux/rhel6

2012-01-04 Thread Carl Baribault
Brian, FYI, I had previously installed tcl-devel but had overlooked tk-devel on the OS. Now that I've installed tk-devel on the OS, the following sequence of commands has succeeded: sudo ./configure --with-tcltk sudo make sudo make check sudo make install R ... library(tcltk) Loading Tcl/Tk

[R] tcltk on linux/rhel6

2012-01-03 Thread Carl Baribault
Dear All, I've seen posts to the effect that.. 1) choose.dir is only available for windows, and 2) tk_choose.dir would be the linux equivalent. I'm still having trouble with the subject package on linux/rhel6. I've specified --with-tcltk during ./configure, and I still get the response...

Re: [R] tcltk on linux/rhel6

2012-01-03 Thread Peter Langfelder
On Tue, Jan 3, 2012 at 4:03 PM, Carl Baribault crlbr...@gmail.com wrote: Dear All, I've seen posts to the effect that.. 1) choose.dir is only available for windows, and 2) tk_choose.dir would be the linux equivalent. I'm still having trouble with the subject package on linux/rhel6. I've

[R] tcltk window freezes when using locator( )

2011-11-06 Thread Francois Rousseu
Hello useRs Using the following code: library(tcltk) win-tktoplevel() ff-function(){ plot(1:10,1:10) pol-locator(1) print(pol) } button-tkbutton(win,text=test,command=ff) tkpack(button) makes the win panel stop responding when the plot is closed before

Re: [R] tcltk window freezes when using locator( )

2011-11-06 Thread Francois Rousseu
=ff) tkpack(button) Francois Rousseu From: francoisrous...@hotmail.com To: r-help@r-project.org Date: Sun, 6 Nov 2011 21:55:58 -0500 Subject: [R] tcltk window freezes when using locator( ) Hello useRs Using the following code: library(tcltk) win-tktoplevel() ff-function

Re: [R] 'tcltk' does not have a name space

2011-11-02 Thread christear
It also have this problem when I install qvalue package ... -- View this message in context: http://r.789695.n4.nabble.com/tcltk-does-not-have-a-name-space-tp3020504p3971898.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] 'tcltk' does not have a name space

2011-11-02 Thread Uwe Ligges
Please quote the original message you are replying to and read the posting guide! Please update your version of R to R-2.14.0. Looks like the package assumes a more recent version of R without declaring the dependency. You may want to inform the package maintainer. Uwe Ligges On

Re: [R] tcltk freezes R

2011-09-21 Thread tm
hi, problem solved. it was a problem of the x-server. after installing the xquartz 2.6.3 for snow leopard (i have lion, but there is no such version), logging in and out to make it the default x-server, it worked. cheers, t -- View this message in context:

Re: [R] tcltk freezes R

2011-09-21 Thread Prof Brian Ripley
On Tue, 20 Sep 2011, tm wrote: Hi there, I have the following problem on my macbook air with mac os x lion on it. when any program tries to load the tcltk library the R GUI or R command line freezes. also happens if I just use library(tcltk) changing versions of tcltk and/or R doesn't help.

Re: [R] tcltk freezes R

2011-09-21 Thread tm
was all prebuilt. -- View this message in context: http://r.789695.n4.nabble.com/tcltk-freezes-R-tp3828263p3830663.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

[R] tcltk freezes R

2011-09-20 Thread tm
Hi there, I have the following problem on my macbook air with mac os x lion on it. when any program tries to load the tcltk library the R GUI or R command line freezes. also happens if I just use library(tcltk) changing versions of tcltk and/or R doesn't help. currently I have the following: R

[R] tcltk

2011-07-22 Thread R Heberto Ghezzo, Dr
Hello, I am trying to build some dialog boxes but I am having problems. I'm using R-2.13.1 in Windows 7 I want to have 4 numerical entry boxes and 3 radiobuttons in a row ( 4 rows) for entry data and 2 rows for output with a button for 'compute' and another for ;quit' Can somebody indicate a

Re: [R] tcltk

2011-07-22 Thread Greg Snow
. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of R Heberto Ghezzo, Dr Sent: Friday, July 22, 2011 9:50 AM To: r-help@r-project.org Subject: [R] tcltk

Re: [R] 'tcltk' does not have a name space

2011-04-15 Thread annihination
I am having the same problem on R-2.13.0. Anybody have ideas? Thanks! -- View this message in context: http://r.789695.n4.nabble.com/tcltk-does-not-have-a-name-space-tp3020504p3452810.html Sent from the R help mailing list archive at Nabble.com. __

[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

Re: [R] tcltk error compiling R 2.13.0 under Windows 7 x64

2010-12-14 Thread Uwe Ligges
On 14.12.2010 02:26, Peter Langfelder wrote: On Mon, Dec 13, 2010 at 4:33 PM, Joshua Wileyjwiley.ps...@gmail.com wrote: Hi All, I am trying to compile R 2.13.0 r53834 on 64-bit Windows 7 (home premium) using Rtools212.exe from Duncan Murdoch's site. I (think) I followed the installation

[R] tcltk error compiling R 2.13.0 under Windows 7 x64

2010-12-13 Thread Joshua Wiley
Hi All, I am trying to compile R 2.13.0 r53834 on 64-bit Windows 7 (home premium) using Rtools212.exe from Duncan Murdoch's site. I (think) I followed the installation guide for Windows. When installing Rtools, made sure I was installing 64-bit tools (including tcltk), etc. I created a copy of

Re: [R] tcltk error compiling R 2.13.0 under Windows 7 x64

2010-12-13 Thread Peter Langfelder
On Mon, Dec 13, 2010 at 4:33 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi All, I am trying to compile R 2.13.0 r53834 on 64-bit Windows 7 (home premium) using Rtools212.exe from Duncan Murdoch's site.  I (think) I followed the installation guide for Windows.  When installing Rtools,

Re: [R] tcltk error compiling R 2.13.0 under Windows 7 x64

2010-12-13 Thread Joshua Wiley
Hi Peter, On Mon, Dec 13, 2010 at 5:26 PM, Peter Langfelder peter.langfel...@gmail.com wrote: Just in case no one knowledgeable answers, here's my shot in the dark I switch between Windows and Linux so I'm always in the dark ;) (I'm mostly a linux user)... the compiler is looking for .h files

[R] 'tcltk' does not have a name space

2010-10-30 Thread chen chao
Hi, All I got trouble on installing the qvalue package. Error message: package 'tcltk' does not have a name space [cch...@ibibmem Yale_CB]$ R CMD INSTALL qvalue.tar.gz * installing to library '/cchome/cchen1/R/x86_64-unknown-linux-gnu-library/2.10' * installing *source* package 'qvalue' ... **

[R] TCLTK - ListBox - centralize text

2010-09-09 Thread Joaquim Neto
Hello, how do I centralize the texts inside a RTclTk listbox? The code I am using is: require(tcltk) tt-tktoplevel() tl-tklistbox(tt,height=4,selectmode=single,background=white) tkgrid(tklabel(tt,text=What's your favorite fruit?)) tkgrid(tl) fruits - c(Apple,Orange,Banana,Pear) for

Re: [R] tcltk lost after update r-base 2.11.1-2hardy0 to 2.11.1-5hardy0

2010-09-06 Thread Peter Dalgaard
On 09/06/2010 07:38 AM, Christian Lederer wrote: Dear R-Users, after the last upgrade from r-base 2.11.1-2hardy0 to 2.11.1-5hardy0 i lost the tlctk package. I this a general problem under Ubuntu Hardy or should i search for a configuration error on my system? Assuming that you didn't

[R] tcltk

2010-03-08 Thread Vasco Cadavez
Hi, I'm trying to install tcltk in R-2.10.1, however I get error. someone can help? thanks Vasco __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] tcltk

2010-03-08 Thread Rubén Roa
[mailto:r-help-boun...@r-project.org] En nombre de Vasco Cadavez Enviado el: lunes, 08 de marzo de 2010 15:46 Para: r-help@r-project.org Asunto: [R] tcltk Hi, I'm trying to install tcltk in R-2.10.1, however I get error. someone can help? thanks Vasco __ R

[R] tcltk in BATCH mode

2009-08-12 Thread Angel Spassov
DeaR list, I am writing a user friendly script for an interactive use of R. The user is supposed to click on a bat-File in Windows-environment and to enter some values in a pop-up window. Let us assume we have the script given below. If she sources this script within R, everything works smoothly.

[R] TCLTK Times out Leopard.

2009-06-11 Thread INBEL
I'm trying to get the Tcltk package loaded on R 2.9 (I think, it's just recently updated). At first it was looking for X11 files in the wrong library so created an alias to point it in the right direction. Now when I load it nothing happens, the program stops responding. Any ideas? I should point

[R] tcltk - insert scrollbar to window

2009-03-10 Thread thoeb
Hello, I hava a problem with inserting a scrollbar into a tcltk toplevel. The comand is as follows: require(tcltk) tt-tktoplevel() tkgrid(tklabel(tt,text=Choose path to the meteorology file used for CDM)) OnOK2 - function(){ wind.file-read.csv2(file.choose(),header=T,sep=;,dec=.)

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

2009-02-11 Thread Lawrence Hanser
). 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, Mac OS X Thanks. I seem to have gotten a bit further

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

2009-02-11 Thread Monte Milanuk
Larry, Since it looks like you've got your problem about whipped, hope you don't mind if I piggy back on here... Same sort of problem... installed Rcmdr via the Package Installer. Followed the directions for running X11/Tk ala the site mentioned earlier and this is what I get when I

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

2009-02-11 Thread Peter Dalgaard
Monte Milanuk wrote: Larry, Since it looks like you've got your problem about whipped, hope you don't mind if I piggy back on here... Same sort of problem... installed Rcmdr via the Package Installer. Followed the directions for running X11/Tk ala the site mentioned earlier and this

  1   2   >