Displaying 20 results from an estimated 2000 matches similar to: "Internationalization questions"
2006 Aug 02
2
tcl/tk bind destroy event
Hello!
I want to create a messagebox whenever the user wants to destroy the window
(e.g. <Alt-F4> or the 'x' in the right top corner) and ask if a modified file
should be saved or not.
If 'cancel' is chosen then nothing should happen and the windows still should be
existing. This doesn't work. When I press cancel the window will be destroyed
although.
I also
2007 Dec 29
3
tcltk again
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 windows I
use winDialog and it works. But I can't succeed in Linux. In short:
2006 Sep 05
2
winDialog UNIX equivalent?
Hi all,
I'm using winDialog and winDialogString in scripts running on a XP-machine. Since we're using some Linux-machines (Suse 10.0 and 10.1 on x86) I'm interested in equivalents of the above functions usable under Linux-OS. Are there any?
Thanks, Richard
--
Richard Müller - Am Spring 9 - D-58802 Balve-Eisborn
www.oeko-sorpe.de
[[alternative HTML version deleted]]
2005 Jul 20
0
Internationalization of the Rcmdr package
Dear r-devel list members,
I've prepared a version of the Rcmdr package that uses the new tools for
internationalization and localization in R 2.1.x. For the present, this is
the development version of the Rcmdr package (1.1-0), available at
<http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/index.html>. There is
currently a French translation provided with the package, courtesy of
2005 Sep 25
0
Tip: Working directory in titlebar
I hope others may find this useful. I use R in many different
directories. By adding the following line to the .Rprofile file:
utils:::setWindowTitle(paste("-",getwd()))
the titlebar of each R instance shows the directory from which it was
started. I have tested this with rterm.exe and rgui.exe under Windows
and with RECENT versions of R only.
-----
For changing directories
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
Dear all,
my aim is to integrate R in an interactive visualisation software
called Bulk Analyzer developed by VrVis (http://www.vrvis.at).
the code:
SEXP e, tmp;
ParseStatus status;
PROTECT(tmp = mkString("x <- c(1.234,-3.45)"));
PrintValue(tmp);
PROTECT(e = R_ParseVector(tmp, -1, &status, R_NilValue));
PrintValue(e);
UNPROTECT(2);
produces the following output:
[1] "x
2008 Mar 19
1
Radio Buttons or similars
Hello companions!!!
I have a function that creates a Radio Buttons, and I need that this
function return the selected value in the Radio Buttons. I would like that,
if somebody know as I could return the value, you say me as do it.
Next, I show the function
function1<-function(){
require(tcltk)
tt <- tktoplevel()
rb1 <- tkradiobutton(tt)
rb2 <- tkradiobutton(tt)
rbValue <-
2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello,
I have the TCl/Tk command
"tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R
script. Now I want to perform some operation in relation to the user's
choice, something like
"if (okpressed) xxx else yyy"
What values does this command give and how are they used?
Thank you, Richard
--
Richard M?ller -
2011 Oct 24
1
strsplit convert data
I am using the following code but I do not know the debug and run for
correct errors
library (tcltk)
file <-tclvalue (tkgetOpenFile ())
if (nchar (file))
{
tkmessageBox ("Select the file")
}
else
{
tkmessageBox (message = paste ("Was select file", file))
Dataset <- read.table (file, header = FALSE, sep = "", na.strings =
2004 Oct 29
1
winDialog (equivalent) on Unix anyone ?
Hi,
We have a few R scripts, that have a minimalistic
GUI Interface using winDialog() calls.
Is there any cross-plattform equivalent we can port to,
such that the code will run on both Windows and Unix ?
I thought about either tcltk or gtk Stuff.
I was astonished that I couldn't find anything
similar that had been implemented since the 0.99 release,
or do I miss something obvius ?
Yours,
2000 Oct 21
1
Creating dialogs in Windows 9x
I noticed the See Also section of the help page for winDialog refers to a
"package windlgs in the package source distribution..." but I can't seem to
find any documentation on this. Does anyone know if it exists or where to
find out more about it? Any information would be helpful, thanks.
--------------------------------------------
Till E. Stoeckenius, Senior Consultant
ENVIRON
2011 May 17
5
Email out of R (code)
Hi all,
I thought I would post code to send an email out of R. The code uses
Grothendieck and Bellosta's interface package rJython for executing Python
from R. The code itself provides basic email functionality for email servers
requiring authentication. It should be easy to extend it (e.g., for sending
attachments). I hope it's useful.
require(rJython)
rJython <- rJython()
2003 Jan 16
2
Built-in R GUI type features
All:
The select.list() command brings up a "modal dialog box with a (scrollable)
list of items ..." etc. -- i.e., a GUI control. I also know about winDialog,
file.choose and the winMenu commands. What other such GUIisms are built into
** base ** R (I know about the tcltk package)? Or, better yet, how can I
search on or list them?
Many thanks.
Bert Gunter
Biometrics Research RY 84-16
2006 Nov 27
1
R.DLL mapping by P/Invoke
After a long processing, I was able to create a version of a small C# class
that was able to emulate the rproxy by P/Invoke. This is mostly to find a
workaround a performance problem of the StatConnector.
It's almost work but ... I have strange memory exception when I call the
print function. The variable seems to not survive from one call to the
other.
As there is no debug symbol for
2012 Feb 24
1
tcl tk command function with arguments ??
Hello, I am using R 2.11.1 under Windows XP.
I would like to know if its possible to use a function with arguments as a
command in tcl tk. For example
require(tcltk)
PressedOK <- function()
{
tkmessageBox(message="You pressed OK!")
}
tt <- tktoplevel()
OK.but <- tkbutton(tt,text="OK",command=PressedOK)
tkgrid(OK.but)
tkfocus(tt)
the function PressedOK has no
2000 Mar 29
2
Dialog boxes
Hello:
I am brand new to R, though I've used S-Plus for some time. I've
developed some specialized plotting functions that I want to distribute
and would like to provide users with a dialogbox for entering input
arguments. Has anyone developed functions in R for displaying
dialogboxes that could accept multiple inputs? I found winDialog and
winDialogString, but these only accept and
2002 Nov 17
1
position of windows-dialogue
Hello all,
to interrupt a BATCH program I inserted, as adviced in this list, a windows
dialogue box (winDialog("ok")). The graphic display opens on the right part
of the screen, which is OK. The Windows dialoge opens in the center of the
screen and hides a part of the graphics window. Is it possible to determine
the coordinates where the Windows dialogue box opens? I'd like to
2003 Oct 22
1
Windows RConsole Focus
Hi,
I was looking for a Windows-specific R function to focus the
console window and couldn't find one. The motivation is that
after loading the tcltk package, the "main" Tk window "." is
presumably focused but then immediately withdrawn (hidden) so
the RConsole loses its focus and you have to click on it to
continue typing.
Would there be any interest in including a
2008 Jul 01
1
select.list() cannot be used non-interactively
Hi. With the previous version of R, it was possible to execute the function 'select.list()' in BATCH mode. In this way, I could write my R code in a .R file and execute that with a double click on a .bat file, that contain the instruction tu run my R code in batch mode (R CMD BATCH myRcode.R). When I do that, a windows appear and I just have to select an item from the list.
Now I've
2007 May 13
1
Dropdown boxes in tcltk and R
Hello,
I'm very much a newbie in R and more so in tcltk so apologies if this
question is stupid. Basically I am trying to use the combobox example
found here:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/DropDown.html .
What I want to do is in that example get fruitChoice as a variable in R
in general. When I run that code, however, and the ask for fruitChoice
it says