similar to: Adding submenus to existing consol GUI menu

Displaying 20 results from an estimated 200 matches similar to: "Adding submenus to existing consol GUI menu"

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 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" &
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
2016 Apr 09
0
Arguments to utils:::menuInstallPkgs
On 09/04/2016 8:14 AM, Jose Claudio Faria wrote: > Dears, > > Is it possible (in any viable way) to pass arguments to the base function > (install.packages I think) using the utils:::menu? No, but why not just call install.packages directly? (If you are using Rgui in Windows, you can add menu items using winMenuAddItem). Duncan Murdoch > For example: > > >
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
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 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
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
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),
2003 Nov 27
2
Getting rid of loops?
I wrote a function to calculate cosine distances between rows of a matrix. It uses two loops and is slow. Any suggestions to speed this up? Thanks in advance. theta.dist <- function(x){ res <- matrix(NA, nrow(x), nrow(x)) for (i in 1:nrow(x)){ for(j in 1:nrow(x)){ if (i > j) res[i, j] <- res[j, i] else { v1 <- x[i,] v2 <- x[j,]
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
2016 Apr 09
2
Arguments to utils:::menuInstallPkgs
Dears, Is it possible (in any viable way) to pass arguments to the base function (install.packages I think) using the utils:::menu? For example: > utils:::menuInstallPkgs(loc=.libPaths()[2]) > utils:::menuInstallLocal(loc=.libPaths()[2]) Thanks, ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ Jose Claudio Faria Estatistica UESC/DCET/Brasil joseclaudio.faria at gmail.com Telefones:
2011 Nov 23
2
bizarre seq() behavior?
Is there any rational explanation for the bizarre seq() behavior below? > seq(2,8.1, lenght.out=3) [1] 2 3 4 5 6 7 8 > help(seq) > seq(2,8,length.out=3) [1] 2 5 8 > seq(2,8.1,length.out=3) [1] 2.00 5.05 8.10 Except maybe that it is early in the morning :) Best regards, Ryszard Ryszard Czerminski AstraZeneca Pharmaceuticals LP 35 Gatehouse Drive Waltham, MA 02451 USA 781-839-4304
2012 Jan 10
2
strange Sys.Date() side effect
Any ideas what is the problem with this code? > N <- 2; c(Sys.Date(), sprintf('N = %d', N)) [1] "2012-01-10" NA Warning message: In as.POSIXlt.Date(x) : NAs introduced by coercion Best regards, Ryszard Ryszard Czerminski AstraZeneca Pharmaceuticals LP 35 Gatehouse Drive Waltham, MA 02451 USA 781-839-4304 ryszard.czerminski@astrazeneca.com
2001 Nov 13
4
Floating windows in TCLTK
Dear anybody dealing with TCLTK on R I'm trying, without any success, to get a simple TCLTK window to remain floating on top of the RGui and RConsol windows when the later have focus. I cannot find reference in the TCKTK documentation and fear that I'm missing something quite fundamental. My objective is to make a simple button populated menu to invoke R functions. I wish the TCLTK menu
2005 Feb 01
1
Hugh image created from modest data
Dear R users, I am running R2.1 on windows XP SP2. I have a problem that I fear I am providing insufficient information to resolve. But if anyone can suggest directions to understand the problem I would be most grateful. I import modest datasets which create a list of data frames (primary data object) amounting to 15.9Mb when measured internally by object.size() . The sizes of the list
2012 Jan 12
3
strsplit() does not split on "."?
Any ideas what is wrong? > strsplit("a.b", ".") # generates empty strings with split="." [[1]] [1] "" "" "" > strsplit("a b", " ") # seems to work fine with split=" ", and other characters... [[1]] [1] "a" "b" > > R.Version() $platform [1]
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
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