similar to: Adding a function with default parameters into the Rcmdr menu

Displaying 20 results from an estimated 4000 matches similar to: "Adding a function with default parameters into the Rcmdr menu"

2004 Apr 19
1
Menu addditions to Rcmdr v0.9-6
1) In general, I would appreciate help in adding functions to the Rcmdr menu system. I've been able to modify the menus themselves and source test code but I can't get R functions to execute from the menu. My latest proof of concept code follows: Three lines added to "Rcmdr-menus.txt": menu junkMenu topMenu "" ""
2007 Nov 01
1
Rcmdr Plugin and menus.txt
Hi all, I'm trying to write a plugin for R Commander, following the model of the TeachingDemos plugin. I am struggling trying to even add items by editing the menus.txt file. I would welcome any help from anyone who has messed with it. Essentially the problem I am having is: I cannot create a submenu to a newly created menu. Here is what the menus.txt file looks like: # type
2006 Apr 29
4
Event.observe mystery
Hi, I have a class ''Menu'' with a method ''addItem''. The method (simplified) looks like this: addItem: function(itemId, text) { this.container.innerHTML += ''<div id="''+itemId+''">''+text+''</div>''; Event.observe(itemId, ''mouseover'',
2008 Aug 19
1
Open directory within a menu in tcltk
Hello, I am trying to setup a menu to open files and directories. I have the following code: opendir<-function() { dirname<<-tclvalue(tkchooseDirectory()) } openfile<-function() { filename<<-tclvalue(tkgetOpenFile()) } require(tcltk) t1<-tktoplevel() topMenu<-tkmenu(t1) tkconfigure(t1,menu=topMenu) plotMenu<-tkmenu(topMenu, tearoff=FALSE)
2006 Aug 11
2
tkinsert
Dear List, I'm looking for some informations about the function "tkinsert()". I d'like to write lot of command in my text window and after to evaluate it with a button "Submit" for example, but i have some problems: here a exemple of my code: 1) My first problem tt=tktoplevel() txt=tktext(tt,height=40) tkpack(txt) var1=paste("x=2")
2006 May 02
1
Rcmdr problem - SciViews R
Hi, I am getting following error messages while using SciViews R. It displays a message saying: Package or Bundle Rcmdr was not found in C:\Software\R-22.1.1\Library would you like to install now?. However the Rcmdr package is there in the library. I reinstalled Rcmdr but still gives me same error message every time I try to use one of the GUI functions. Any pointers would be of great
2004 Nov 22
1
Rcmdr -> doItAndPrint -> summary method of S4-class object not in Rcmdr window but R Console
Dear list member, John Fox proposed to me posting this problem to R-Help: I have written a function suited for Rcmdr and included this in a R-file located in Rcmdr/etc as well as an augmented `Rcmdr-menus.txt'. Now, I am faced with the following problem: method show() of a S4-class object works flawlessly, that is `doItAndPrint' works flawlessly and its output is returned correctly into
2008 Apr 16
2
Blank windows in Rcmdr
I started to learn R and like to use Rcmdr. I have the latest R (R-2.6.2) and R commander (1.3-14). When I go to Tools menu (for example) pull down "load packages" in Rcmdr, a blank window is up and there is nothing in it. I can not select and move to next step. This also happens with the other functions like in Graphs menu. I know that Rcmdr uses Tcl/Tk interface. I do not have this
2005 Feb 01
2
Rcmdr doesn't seem to work
Context: Windows XP - R 2.0.1 with the latest updated packages (including Rcmdr) I'm trying to load Rcmdr to use the 3d plots (e.g. scatter3d) but here it is what happens: > library(Rcmdr) Loading required package: zoo Loading required package: strucchange Loading required package: sandwich Loading required package: relimp Loading required package: mvtnorm Loading required package:
2006 Jan 26
2
What's wrong with Rcmdr?
Hi all, I successfully installed Rcmdr. And I type "library(Rcmdr)", nothing happened; or if I select menu item "load package" and select "Rcmdr", still nothing happened... Why didn't Rcmdr start? Very strangely, if I close the R console and restart R console, every first time I load "Rcmdr", it starts! But not second, third time... What's wrong
2009 Sep 22
2
Rcmdr package dependencies
Dear r-devel members, My Rcmdr package "depends" on several other packages (tcltk, grDevices, utils, and car) and "suggests" a number of others (abind, aplpack, colorspace, effects, foreign, grid, Hmisc, lattice, leaps, lmtest, MASS, mgcv, multcomp, nlme, nnet, relimp, rgl, and RODBC). The reason for the distinction is that I don't want all of these packages to load when
2013 Jan 15
1
Can not load Rcmdr
I am getting the error message: > library(Rcmdr) Loading required package: car Loading required package: MASS Loading required package: nnet Error : .onAttach failed in attachNamespace() for 'Rcmdr', details: call: structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") error: [tcl] invalid command name "image".
2013 Mar 06
2
Refresh a partial onClick using ajax call in rails 3.x
Hi All, I want to refresh a partial onClick, onClick i am making ajax call and getting the data but i am unable to refresh the partial. here is the code IN views: home.html.erb $(document).ready(function() { var currentCellText; $(".inline").click(function() { currentCellText = $(this).text(); $.ajax({ type: ''GET'', dataType: "json",
2010 Jul 06
2
Rcmdr installation under Unbuntu installatiion errors
Unbuntu 10.04 R 2.10 I am trying to install Rcmdr and receive the following messages: The downloaded packages are in ?/tmp/RtmpzhjDZG/downloaded_packages? Warning messages: 1: In install.packages("Rcmdr", dependencies = TRUE) : installation of package 'Rmpi' had non-zero exit status 2: In install.packages("Rcmdr", dependencies = TRUE) : installation of package
2010 Feb 02
3
Update problem? Rcmdr disappears, won't re-open
WinXP, R 2.10.1 I just updated R, and now have trouble. Perhaps it was the method I used to keep all the packages. I copied all the new packages from 2.10.1 back into the 2.10.0 folder, then copied them and all the others I've previously added from the 2.10.0 folder and pasted them back into 2.10.1's appropriate folder. Is this the source of my troubles? I am trying unsuccessfully to
2012 Aug 17
1
Making data in R available to Rcmdr
I'm an R newbie. I'm trying to use Rcmdr to make a 3-D scatterplot of data from a two-independent-variable regression and of the regression plane. The object "dat" in R contains the data: > print(dat[1:20,]) y x1 x2 1 431.69 76.40 132.80 Rcmdr "knows" about dat. If I click Data, New data set, and enter the name dat, Rcmdr won't let me use
2006 Dec 11
2
Small Rcmdr issue
Just installed Rcmdr on a Linux box. When I exit from both Rcmdr and R together from the regular Rcmdr exit menu, it leaves my xterm with "stty -echo", so that nothing that is typed appears. If I exit only Rcmdr, and then exit R normally, everything is okay (stty echo). Other than that minor irritant, everything seems to work just fine. Linux 2.6.16-gentoo-r3 Athlon 64 X2 3800+ R
2011 Jun 16
2
cannot install Rcmdr on ubuntu 11.4
Hello, For one reason or another, I cannot install Rcmdr on my R 2.12.2 ubuntu 11.4 system. I run R as root When I try to install Rcmdr, then whatever mirror I select, I get the message: install.packages('Rcmdr',dependencies=TRUE) Installing package(s) into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk
2008 Sep 06
1
Problem with UTF-8 text in the Rcmdr package
Dear list members, I've attached some email correspondence with Jaro Lajovic (with his permission), detailing a problem with the Slovenian translation file for the Rcmdr package. In brief, while certain UTF-8 characters used in Slovenian used to appear properly in older versions of R, some characters do not display properly in the Rcmdr menus and output window under R 2.7.x. I've
2010 Oct 23
1
command to start R and Rcmdr?
Dear all I would like to start R with Rcmdr from the cli, without tweaking Rprofile.site. This has been discussed in the past [1], but I don't see a solution that (1) could be used with any working directory and (2) would avoid starting Rcmdr on every R start-up. Personally I tried the following, which starts R but not Rcmdr liv at liv-laptop:~$ R --interactive -e 'require(Rcmdr)'