search for: getrcmdr

Displaying 8 results from an estimated 8 matches for "getrcmdr".

Did you mean: ebrcmdr
2008 Nov 03
1
possible tcltk event loop problem
...w. What's odd is that the Rcmdr has three similar windows -- Script, Output, and Messages, created by the following code: For the messages window: messagesFrame <- tkframe(.commander) putRcmdr("messagesWindow", tktext(messagesFrame, bg="lightgray", font=getRcmdr("logFont"), height=3, width=log.width, wrap="none")) .messages <- MessagesWindow() messagesXscroll <- ttkscrollbar(messagesFrame, orient="horizontal", command=function(...) tkxview(.messages, ...)) messagesYscroll <- ttkscrollbar(messagesFr...
2010 Feb 15
1
R-Commander plug-in difficulties
Hi All, I have recently created an Rcmdr plugin package and it passed all the checks and was uploaded to CRAN. I then downloaded it from CRAN and tried running it from my local R program and received this error: ... Error in f(libname, pkgname) : could not find function "getRcmdr" Error in library(pkg, character.only = TRUE) : .First.lib failed for 'RcmdrPlugin.MAc' In my .R file with all the relevant functions that are read into the package, I have placed this at the top, which seems to be related to one of the sources of error (?): .packageName <- &qu...
2013 Feb 12
2
Private environments and/or assignInMyNamespace
...t has to be confirmed and is subsequently returned to the notebook widget in the state it was in when pressing OK. These widgets are currently held in the environment RcmdrEnv; they work when RcmdrEnv is on the search path; however, it is not sufficient to retrieve them with John's function getRcmdr, which works fine for objects other than widgets. Here my question: Would it be an option to place the widgets in a private environment of my plugin package (then I would have to learn how to create one and work with it), or won't they be found that way? Alternatively, I could have unexport...
2007 Jan 07
1
Scoping issues
Hi everyone, I'm trying to split up a large R file that implements a tcl/tk gui into several smaller ones. The problem is that the main GUI creation function defines many tclVars and tkframes that need to be accessible to functions that are currently defined in main function, but which I'd like to move to different source files. These files make up a package, so it seems that using
2013 Jan 22
1
FactoMineR
Dear Users, I installed R Commander and the FactoMineR plug-in. Everything is fine, I can see the new menu, I can import datasets, but if I want to use any of the items in the FactoMineR menu, i get the following error: Error in get(.activeDataSet) : object '.activeDataSet' not found even if there is an active dataset (if there is none, all the menu items are grey of course). I have R
2009 Jan 04
1
Problems with Rcmdr and BiodiversityR
Dear all, I run R 2.7.2 under Windows and integrated BiodiversityR sucessfully into the R commander. Most functions of BiodiversityR run but others (like "analysis of species as response") produce blank windows and the message: Error in get(x, envir = RcmdrEnv(), mode = mode, inherits = FALSE) : Variable "operatorFont" nicht gefunden What's wrong? Best regards, Frieda
2005 Apr 23
1
tclServiceMode: stop Tcl/Tk from updating
In Windows, Tcl/Tk programs running under the tcltk package can update too frequently: for exmaple, we might go through a long sequence of operations to construct a complex display, and in Windows each addition will be shown separately. To work around this, I've added a function "tclServiceMode" which serves as an R interface to the "Tcl_SetServiceMode" function in the
2012 Feb 21
2
Dataframes in PLS package
...pls[1],pls[2],pls[3],pls[4]) B <- c(pls[5],pls[6],pls[7],pls[8]) I then put these into the data.fram C, retaining the matrix structure per guidelines in the JSS article on the pls package C <- data.frame(h = I(as.matrix(A)), c = I(as.matrix(B))) showData(C, placement='-20+200', font=getRcmdr('logFont'), maxwidth=80, maxheight=30) 63 55 1 0 44 37200 4 0 145 52 1 1 33 69300 4 1 104 32 0 1 68 56900 3 1 109 69 1 1 94 44300 6 1 221 61 0 1 72 79800 6 0 110 40 1 1 48 17600 5 1 194 41 0 0 85 58100 4 0 120 76 1 1 19 76700 3 0 210 61 0 0 41 37600 1 0 243 10...