search for: windialogstring

Displaying 18 results from an estimated 18 matches for "windialogstring".

2007 Dec 12
1
eliminating cancel button in winDialogString call
I would like to use the function winDialogString to get input from a user to a program but would like to eliminate the cancel button option and just have the OK button appear. The problem is that if a user enters data then accidently hits Cancel instead of OK, the program may either run incorrectly or quit due to the error of having NULL for a va...
2008 Mar 29
0
cpu usage high with windows change dir / winDialogString (PR#11051)
...g here? I'd guess it's not R using the cpu, rather some other process hooked to the dialog, but even if it really is R, why is this a bug? Duncan Murdoch > This also occurs when I incant Help / Apropos or Help / Search help... > or at the "command prompt" > >> winDialogString("hello", "nonsense") > > Note the latter also applies to R.exe inside a cmd window. > > I've checked this with a few windows machines for 2.6.2 & 2.6.1 - > including with --vanilla. This machine here has the following... >> sessionInfo() > R ve...
2008 Mar 28
1
cpu usage high with windows change dir / winDialogString (PR#11045)
...t the dialog box is visible, e.g. * check CPU usage is low * On the RGui.exe menu chose File / Change dir... * the CPU usage goes to 100% * hit OK * the CPU usage goes back down again This also occurs when I incant Help / Apropos or Help / Search help... or at the "command prompt" > winDialogString("hello", "nonsense") Note the latter also applies to R.exe inside a cmd window. I've checked this with a few windows machines for 2.6.2 & 2.6.1 - including with --vanilla. This machine here has the following... > sessionInfo() R version 2.6.2 (2008-02-08) i386-pc-m...
2011 Mar 13
2
Having a problem with choose.files
...am having a problem with the following snippet of code, and I do not at all understand why it is behaving this way. I am running Windows XP, with R 2.12.1. I copy and paste these 4 lines into the R Console: t<-c("a","b","c") ans<-select.list(t) txtNBS<-winDialogString("NBS","300") choose.files() I click on OK in the Select One dialog, and on OK in the Question dialog, and then Cancel in the file dialog. Everything behaves as I expect it to. (All 3 of those dialog functions are in the utils package.) I then copy and paste these 6 lines d...
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 [[alte...
2000 Mar 29
2
Dialog boxes
...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 return a single value. Does anyone know how these might be extended for more flexibility? Thanks -- Jack Lewis Redwood Sciences Laboratory 707-825-2929 voice Pacific Southwest Research Station 707-825-2901 fax...
2005 Apr 12
1
adding R site search to Rgui
.../search.r-project.org > > The results page should open in your browser shortly > > It would be nice if RSiteSearch were an entry in the Help menu > in the Windows GUI. One can easily add another menu (and menu item) for this in Rgui: winSearch <- function() { string <- winDialogString("Search string", "") RSiteSearch(string) } winMenuAdd("Search") winMenuAddItem("Search", "Search R Site", "winSearch()") Andy
2011 Dec 07
1
Convert a string to a variable name
Hello, I am trying to ask the user for which column their data is in, and then use this information in a function. So far I have: data <- read.csv(file.choose(), header=TRUE) col <- (winDialogString("Which column contains your data?","")) and I want to be able to reference such as: meas <- data$col and use this meas in the function. However, I can't seem to get this to work because the input is read into a string, and I can't figure out how to convert this st...
2004 Jul 28
1
R 1.9.1 Crash in Win2000 (PR#7139)
This probably should go to Duncan Murdoch ... The following reliably crashes R Version 1.9.1 on Win2000: winDialogString(paste(sample(letters,500,rep=TRUE), collapse=""),default="") (presumably because of the too lengthy message string; but what is the length limit?). -- Bert Gunter Non-Clinical Biostatistics Genentech MS: 240B Phone: 650-467-7374 "The business of the statistician is to...
2008 Jul 01
1
select.list() cannot be used non-interactively
...file: type<-select.list(list=c("Type 1","Type 2","Type 3")) Error in select.list(list = c("Type 1", "Type 2", "Type 3"): select.list() cannot be used non-interactivelyExecution halted Why? How can I solve my problem? winDialog and winDialogString work correctly! Many thanks! Fabio _________________________________________________________________ [[alternative HTML version deleted]]
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()
2004 Aug 05
0
Request for new Windoze GUI Widget
...y, and then install the whole thing on their machine. For my very simple efforts, the only thing that I have found missing in these Windows widgets is the equivalent of the Bioconductor argsWidget() ( in the tkWidgets package) for interactively entering arguments. This CAN be done one at time with winDialogString(), but doing it as argsWidget() does is much nicer. Of course, that's what I currently use for this purpose, but it would be better to have the native Windows equivalent in utils along with the others. Obviously, not a big deal, but it would be a nice little addition if someone wanted to bothe...
2000 Feb 11
1
R 0.99.0a for Ms Windows (9X/NT)
...reyed out if the corresponding files are not installed. Many of the menu items now call internal functions and so are much faster, but produce nothing on the console. Help files will be displayed in the internal pager with headings in a contrasting colour. There are new functions winDialog() and winDialogString() to produce dialog boxes, and functions winMenu* (use ?winMenus) to manipulate user menus. Following Unix, the handling of help(, offline=TRUE) has been altered. It will be necessary to adjust helpPRINT.bat to set the TEXINPUTS path to find Rd.sty. TeX processing of these help files normally uses...
2000 Feb 11
1
R 0.99.0a for Ms Windows (9X/NT)
...reyed out if the corresponding files are not installed. Many of the menu items now call internal functions and so are much faster, but produce nothing on the console. Help files will be displayed in the internal pager with headings in a contrasting colour. There are new functions winDialog() and winDialogString() to produce dialog boxes, and functions winMenu* (use ?winMenus) to manipulate user menus. Following Unix, the handling of help(, offline=TRUE) has been altered. It will be necessary to adjust helpPRINT.bat to set the TEXINPUTS path to find Rd.sty. TeX processing of these help files normally uses...
2007 Dec 21
1
R script to start session (without automatically finishing)
Hello R friends I am quite impressed by the power of R, I am using it only since some weeks now. But its visualizing capabilities are outstanding! But one thing I couldn't solve: I have programs producing lots of data, most times 3D. In R I am using the library rgl to visualize nicely the 3D data. What I would like to do is to write R scipts which read in a data file and show me the 3D
2005 Oct 16
3
asking the user for data
Hello everyone. How do I get R to ask users for data to be entered? Specifically I want to ask for a z score to be entered (the user would look this up in a table) and then use the entered data to compute a Dunn's post-hoc test (post kruskal.test). I've tried the "ask" function but it's not recognised - maybe I don't have to appropriate libary installed. A pointer
2006 Feb 03
1
Interfacing C-code (gets and printf) under WINDOWS (Visual C++)
Hi I try to develop a R interface to a set of C routines, in order to produce a R-package on Geostatistics. My C-code uses interaction with the user as I use printf and gets statements. I develop the code in a LINUX environment and do not face any problem having the questions and answers routed on my current Terminal. When I tried to port the package on Windows, the problems began. No message
2008 Feb 29
3
Graphic text
Can R handle graphic text ? I mean something like a pop-up message window or a text widget ? Thank you so much. -- Maura E.M