similar to: Platform independent dialogs & menus?

Displaying 20 results from an estimated 500 matches similar to: "Platform independent dialogs & menus?"

2004 Apr 16
2
Windows startup menu display problem in 1.9.0 (PR#6783)
Full_Name: Brian J. Smith Version: 1.9.0 OS: WinXp Submission from: (NULL) (129.255.217.48) WinXP; R 1.9.0 running under Rgui.exe. winMenuAdd calls via my .Rprofile file do not seem to work and, instead, result in the following error message after the R GUI starts: Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd" Any subsequent calls to winMenuAdd from
2004 Apr 21
1
Error with 1.9.0 - winMenuAdd not usable in .Rprofile
I had this problem too. The documentation for the winMenus says that these functions are part of the utils package. R must be loading this library after it sources in Rprofile. If you add library(utils) to the beginning of your .First function, it should take care of the problem. Brian Gregor, P.E. Transportation Planning Analysis Unit Oregon Department of Transportation Brian.J.GREGOR at
2004 Apr 16
1
Pb on startup with R1.9.0
I'm using Rprofile file on R1.9.0 startup and inside I'm loading a personal Library which uses winMenuAdd() and I've got this error : Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd" I hadn't this problem with others R versions. What Can I do now to avoid that? I'm using R1.9.0 under Win98. [[alternative HTML version deleted]]
2004 May 01
1
RWinEdt, R.profile and version 1.9.0
Hi, I have just upgraded from the 1.8.1 to the 1.9.0 version of R, and have some trouble to run RWinEdt from the .Rprofile file (in the user folder). The script is: library(MASS) library(lattice) cat("Load editor?(y/n default = y): ") nf <- as.character(readLines(n = 1)) if ((nf=="y")|(nf=="Y")|(nf=="")) {library(RWinEdt)} rm(nf) When run at start,
2008 Jul 06
1
Windows Only: winMenuAdd() problem
Folks: I don't know whether the following is a Windows or R problem, nor whether it is particular to my particular Windows version/setup. So any help would be appreciated. First the problem, then the info. The following code can be cut and pasted into your R session ############################# ### start R ### create a plot on device 2 (which can be determined by dev.cur()) plot(1:10)
2004 Jun 01
1
WinMenu's question
I am using the Windows menu functions below which will work on the first pass, but if I repeat the same script I cannot get the WinMenuAddItem to work. This is a problem if I change the menu structure and reread the source code I am forced to quit and restart Rgui. "try.menu" <- function(){ OS <- .Platform$OS.type GUI <- .Platform$GUI if (!(OS == "windows" &
2003 Jun 03
2
winMenuAdd misbehaving?
Microsoft Windows R users, I am operating Windows 2000 (build2195) with R1.7. It may be pertinent that I am using a dual head screen with the initial RGui filing the entire area of both screens. When starting R I use the .First() function to add menu items to the RGui interface using winMenuAdd() and winMenuAddItem(). The menus do not display until the RGui window is physically manipulated in
2006 Mar 31
1
Segfault with too many menu items on Rgui
Hi all, In the CHANGES file for R-2.3.0alpha, there is the following statement: winMenuAdd() now has no limits on the number of menus or items, and names are now limited to 500 (not 50) bytes. However, I can reproducibly get a segfault using this (admittedly silly) example: for( i in 1:5) winMenuAdd(paste("Test", letters[i], sep="")) for(i in 1:5) for(j in 1:24)
2003 Apr 22
2
Weird Windows startup menu display problem in 1.7.0 (PR#2817)
Folks: Winnt; R1.7.0 (freshly installed) running under Rgui.exe.,MDI=yes. The following is repeatable: On startup, in my Rprofile.site file, I use winMenuAdd() etc. to install some user menus. However, they do not appear when R GUI window opens. If I minimize and restore the window, the added menus now are present. The exact same procedure under 1.6.2 with exactly the same Rprofile.site and
2007 May 14
3
RFC: allow packages to advertise vignettes on Windows
Hello, The vignette concept, which started in Bioconductor, seems to be catching on. They are supported by R CMD build/check and documented in the Writing R Extensions manual. I think vignettes are a fantastic way to introduce new users to a package. However, getting new users to realize that a vignette is available can be challenging. For some time now, we have had a function in Biobase that
2005 Apr 12
1
adding R site search to Rgui
From: Gabor Grothendieck > On Apr 11, 2005 11:28 AM, Martin Maechler <maechler at stat.math.ethz.ch> wrote: > > > > If you use R 2.1.0 beta (which you should consider seriously as > > a good netizen ;-), this is as simple as > > > > > RSiteSearch("String manipulation---mixed case") > > A search query has been submitted to
2004 Aug 13
1
Bug or feature in winMenuDel?
I just noticed the following in Rgui: > winMenuAdd('test') # adds a menu > winMenuAddItem('test', 'item', 'x') # adds an item to it > winMenuDel('test') # deletes the menu... > winMenuItems('test') # but leaves the item behind. item "x" Would anyone object if I changed winMenuDel so that it deleted the
2009 Aug 26
1
Scripting - sort of
Dear R-ians: I'm running R2.9.2 on a 6 year old Windows XP DELL with 2 Gig RAM and a 3MHz Pentium 4 chip. I've written a package using the User Menus Under Windows commands (winMenuAdd, etc). It works very well. I have 6 test cases and running any one of them requires many selections form the menus and some keyboard entry, and it takes me hours to exercise them all to see
2010 Feb 12
1
Selective load of .First() function just for Rgui.exe
Hi all, I have a .First <- function() {...} in the Rprofile.site file. Through .First() I'm adding several menus to the GUI to access several functions I've been developing for own use. However, I also need to launch R scripts silently in a batch way, and in this case I get the error message: "Error in winMenuAdd(menuname, NULL, NULL): Menu functions can only be used in the
2006 Mar 25
1
MenuRead() Question
Dear List-mates, I'm trying to read a tk window menu from a file using {svWidgets} and 'menus.txt' but am receiving Warnings without seeing the desired consequences of the call. library(svWidgets) tkWinAdd("KSesnMain",title="kLab Session Manager for R", pos="+0+0") MenuRead(file="menus.txt") Warning messages: 1: Unrecognized menu type for
2012 May 18
4
Menus - best practices?
Hello, I need to design a fairly simple front-end for someone to use an R script system that I've built. My thought was to just use the text based menus available in the base R package, perhaps in some kind of loop. How have other people done this? Any "best practices" that you can recommend? Thanks! -- Noah Silverman UCLA Department of Statistics 8117 Math Sciences Building
2004 May 23
0
Re: Windows versus Unix packages in CRAN ...
Concerning the Rmetrics packages, (1) There is a _much_ better thing to do than >simply ... to remove the stuff related to MS Win from zzz.R; > in partricular the lines after if( .... ) to clear your message. > As you can see, the info relates to the WinMenu under MS Win. as Janusz Kawczak suggests, and that is to *wrap* the troublesome code in if
2007 May 16
2
'attach workspace' on R console File menu
Quite often I save misc functions and data objects as .RData files that I can use in other sessions. Although I could 'Load Workspace" these files, most of the times I prefer attaching them. It would be really convenient to have a menu item under the File menu on the Windows R Console to allow attaching workspaces, e.g. -------------------- Attach Workspace... Load Workspace... Save
2005 Mar 30
4
how i can get input from "user input"
Hello, Could you please tell me how i can get an input from the user in R? C-Ming Mar 29, 2005 --------------------------------- [[alternative HTML version deleted]]
2004 Aug 05
0
Request for new Windoze GUI Widget
Folks: I have found R's fewWindoze GUI Widgets (like winDialog, choose.files,winMenuAdd etc.) to be quite useful in building simple but functional interfaces (I hesitate to call them GUI's) for one-off applications for non-R users. It's quite easy for me to write statistical "solutions" in R, slap on a little GUI that allows users access to the functionality, and then