Questions tagged [tcltk2]
8 questions
6
votes
1 answer
Retrieve data with DDE in R using tcltk2 library
Connecting Excel with 'ABC' throught Excel works, connecting R with Excel by DDE works also, but how to connect R with 'ABC' application ?
I have application providing DDE interface, from Excel I could retrieve value from it with this DDE reference…

Qbik
- 5,885
- 14
- 62
- 93
1
vote
0 answers
R error in fPortfolio package: could not find function "tclVar"
I load fPortfolio with a pre-installed data frame attached:
library(fPortfolio)
library(PerformanceAnalytics)
data("edhec")
rets <- edhec
# compute the tangency portfolio
tp <- tangencyPortfolio(as.timeSeries(edhec))
frontier <-…

B D 100
- 57
- 5
1
vote
1 answer
How to clear tk2text box in R tcltk2, tcltk
I am trying to clear the content of a text box which i created using
Window_1$env$txt1 <- tk2text(Window_1, width = 90, height = 1)
I can update the values using
tkinsert(Window_1$env$txt1 "end", "test")
But can someone help me how to clear the…

Thevandalyst
- 79
- 1
- 2
1
vote
1 answer
Prevent from window resizing (tcltk in R)
I created a GUI window with tcltk package in R. The window looks like this one:
When I add radio buttons to or remove them from the window (by pressing buttons "Add C" or "Del A"), the window resizes.
How can I prevent this behavior and create a…

GegznaV
- 4,938
- 4
- 23
- 43
1
vote
1 answer
Can't find tk2toplevel function in any R package
I am learning how to Develop GUI with R and found this nice tutorial.
library(tcltk2)
win3 <- tk2toplevel(title = "Tk2 window", manage = "grid", padx = 70, pady = 30)
win3$butOK <- tk2button(text = "OK", width = -6, command =…

MYaseen208
- 22,666
- 37
- 165
- 309
0
votes
0 answers
tcl tk: set the position button
I am using tcltk2 library to show buttons and messages. Everything work fine but I would like set the tk2button to the right of my screen, by default it display at the left of my screen.
library(tcltk2)
win1 <- tktoplevel()
butOK <-…

Rodrigo_BC
- 161
- 11
0
votes
1 answer
how to update tcl variable value in file using tcl?
I have 2 tcl file, in data.tcl file i am keeping flag bits and test.tcl file work based on the flag value . I need to reset the flag value in data.tcl after every test . could you please help me to do the same. I tried the following code but its not…

Nagesh HS
- 95
- 1
- 3
- 14
0
votes
1 answer
Spinbox in "R" tcltk2
I created a spinbox in a "R" GUI by means of the "tcltk2" library
my_ratio <- tk2spinbox(my_window, from = 1, to = 10, increment = 1)
How can I give the value of the selection to a "R" numeric variable?