similar to: adding R site search to Rgui

Displaying 20 results from an estimated 3000 matches similar to: "adding R site search to Rgui"

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)
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
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
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
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 variable. I can think of some unsophisticated ways
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
2007 Nov 07
2
Adding submenus to existing consol GUI menu
If possible I would like to add two sub-menus to the R Console under Windows. For example, I would like to add: winMenuAddItem("File", "Load CSV...", "loadCSV()") winMenuAddItem("File", "Save CSV...", "saveCSV()") and have them appear under the initial 'File' item rather than add a new 'File' menu item. I seem to
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
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
2006 Mar 20
1
Platform independent dialogs & menus?
Dear list mates, Are {utils} dialog box functions, and winMenuAdd... functions used to change (e.g. Console) menus, platform dependent? I'm writing a script loaded with .First that provides first time users in a lab course with the ability to select, load, and change between what I called a 'session' (more specific save that focuses on the session object I defined rather than the
2011 Mar 13
2
Having a problem with choose.files
I am relatively new to R, and 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
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 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
2010 Sep 18
1
Check for updates under Windows (Was: a reliable way to check the latest version of R on CRAN?)
Dear R developers, I asked this question in r-help list but have not got a definite solution yet, and I think it might be more appropriate to ask developers or CRAN maintainers directly. Many software packages often have a menu item like "Check for updates" under the "Help" menu, e.g. Filezilla and Firefox, and I believe it is also necessary for R (at least for R GUI under
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]]
2013 Jul 29
1
Samba4 - Classicupgrade - pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain
Hi Team, *I'm migrating to samba4 (samba 4.0.7) and doing "Upgrading In Place" **and running classicupgrade; *I have installed openldap-devel...as im migrating database from ldap.* * *while doing this am getting the following error message:* # /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/samba-backup/ --use-xattrs=yes --realm=mydomain.com/samba-backup/smb.conf
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