similar to: winMenuAdd misbehaving?

Displaying 20 results from an estimated 500 matches similar to: "winMenuAdd misbehaving?"

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
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" &
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)
2001 Jun 25
1
Linking R to GIS
Dear All, Has anyone worked with linking R to both ArcView and MapInfo GIS systems? My desire is to capture object selection from GIS and pass to R and to return spatially based statistical model results from R to GIS. If both could simultaneously access the same data file this would be a bonus. My inclination is to put together some routines based on ODBC linking but thought I would seek like
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
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
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)
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
2002 Aug 25
1
windows focus and setting active device
Dear R users, I am using R 5.1 on Windows 2000. Is there a system call or somesuch way of identifying the graphic window which currently has focus and using that information to make it the active device for futher plotting etc. I have done a quick seaqrch in R the archives using 'focus active device' but came up with nothing useful. Any information would be most welcome. Thanks in
2003 Apr 02
4
vectorize an expression
Dear listers, I'm having a bad R day. I just can't think of the vectorized equivalent of: for (ii in 1:n) aa[ii] = bb[ii,cc[ii]] Any suggestion received with embarrassment and gratitude Simon Gatehouse CSIRO Exploration and Mining, Newbigin Close off Julius Ave North Ryde, NSW Mail: PO Box 136, North Ryde NSW 1670, Australia
2002 Oct 24
1
Rjava failing to initialize in Windows 2000
Dear Any, I am trying to initialise Rjava with the objective of running ORCA within R. I am running R1.5.1 on Windows2000 and get the same problem with Sun Java run time jre-1.2.2_013 Java j2re-1.4.1_01 Microsoft Java Virtual Machine Build 3805 .JavaInit() is failing at : .C("s_start_VM", as.character(classPath), as.character(classPath),
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
2002 Mar 21
1
RGui error on Windows 2000
The following might be of benefit to those who find themselves in a similar predicament with an apparently corrupted R in Windows 2000. The problem was traced back to a corrupted register in my user profile in Windows 2000 apparently caused by a DLL in Visual Basic installation not self registering correctly. The fix was to copy a new uncorrupted register from the default user. Though some of
2002 May 21
1
windows common dialog for color selection in R
Dear R users, I run R on windows 2000 and windows 98 I am seeking opinion, or better still a code snippet, on what might be the quickest, not necessarily the best or preferred way, of making the Windows color selection common dialog available in R. Would it be an executable called with system() or shell() or perhaps a tcltk module or have I missed something obvious? I don't believe that I
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
2002 Mar 19
0
RGui error
R on windows users, I've noted a similar problem reported before [Rd] Rgui.exe crash on Windows 2000 (PR#912) but could not find the solution. I have been running R1.4.1 in windows 2000 since the day it was released with plenty of RAM for my purposes. In two of my .Rdata files I run TclTk as a menuing system to invoke a series of functions for plotting statistics etc. On occasions,
2009 Jun 20
3
Usb drivers and linux apps
Hello Situation: I'm moving from a windows XP box to fedora 11. I used winXP to run skype with a dlink dph-50u USB adaptor so that I could talk on skype with my regular phone. Been working fine for months I'm now on fedora 11, able to run skype linux without problem, even the webcam work! Problem, cannot make the dlink dph-50u to work. After a lot of googling, cannot find anything. I
2003 Nov 14
2
installing the next version of R while in an older version
Hello - I am a fairly new user of R. I currently have R1.7 installed. I tried to install the KernSmooth package but a message tells me I need R1.8. Is there a way to update to R1.8 while in R1.7 in the same manner that I can use "update.packages", or do I have to install R1.8 in a separate directory and re-install the many packages I have already installed in R1.7? Thanks in advance for
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]]