similar to: HowTo get callback on destroy of grDevices::windows()

Displaying 20 results from an estimated 2000 matches similar to: "HowTo get callback on destroy of grDevices::windows()"

2010 Jul 26
1
HowTo get callback on destroy of grDevices::windows()
I'm build with the usage of the tcltk/tcltk2 package a gui which is started with rscript.exe. At this gui the user is able to open and close plot windows. Now I'm looking for a way that a r function is called when a grDevices::windows window is closed. Is there a way to attach a callback function or so, which would be triggert if the user click at close of the grDevices::window? My
2012 Mar 30
1
Error in use of "gwindow" and ".First" function
Hi, I saved an image and planed to open it whenever I want to load it. However, when I open it, It doesn't work. The code is following, and saved it as an image. .First<-function(){ require(tcltk) require(TeachingDemos) library(gWidgetstcltk) options(guiToolkit = "tcltk") win <- gwindow("Don't worry", visible = FALSE) } Error message is following, Error :
2010 Jul 27
1
rgl package don't draw points with a color over points with another color
I want to plot points with different colors to show different selections of points in a 3d plot. My problem is that if I plot a red point at a location where already a blue point was plotted, than the point is still blue. Is there a parameter or so which can be used to draw over a existing point? Example: > require(rgl) > open3d() > plot3d(a<-c(1,2,3,4,5),a,a,type="l",
2012 Apr 20
1
error loading tcltk2
Hello, I just installed R-2.15.0 on windows XP and cannot load package tcltk2 (which I just downloaded from CRAN as tcltk2_1.2-1.zip; package install reported no problems): > library(tcltk2) Carico il pacchetto richiesto: tcltk Loading Tcl/Tk interface ... done Error : .onLoad failed in loadNamespace() for 'tcltk2', details: call: system("cat /etc/issue", intern = TRUE,
2012 Apr 23
1
tcltk2 bug
Hola. A los que tuvieseis problemas con la versión 1.2.0 de tcltk2, comentaros que ya está disponible en CRAN la nueva versión (1.2.1) que soluciona el asunto. http://cran.r-project.org/web/packages/tcltk2/ Un Saludo, ________________________________________________________ Miguel Ángel Rodríguez Muíños Dirección Xeral de Innovación e Xestión da Saúde Pública Consellería de Sanidade Xunta de
2011 Apr 08
7
Where is the tcltk package?
Perhaps I'm being even thicker than usual, but I can't find the tcltk package on CRAN. There is a tcltk2 package, which says that it is a collection of supplements to tcltk, but I cannot see a just-plain tcltk anywhere. If I try to install tcltk2 (from the Linux command line, or using install.packages() in R) it complains that it needs tcltk. If I try to install tcltk using
2008 Sep 25
1
Bug while loading Package "tcltk" with R-2.7.2 (PR#13016)
Full_Name: Cyril Alegret Version: 2.7.2 OS: Windows Submission from: (NULL) (90.80.39.42) An error occurs when I try to load the package "tcltk2_1.0-7" with R-2.7.2 (whereas it works with version 2.6.2). Please find below the error message : "> source("C:\\Data\\Travail\\Software&Method\\R\\Procs\\Chargement des librairies.R") Le chargement a n?cessit? le package
2023 Mar 13
1
tcl tk: set the position button
Dear Rodrigo, Try tkwm.geometry(win1, "-0+0"), which should position win1 at the top right. I hope this helps, John -- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada web: https://socialsciences.mcmaster.ca/jfox/ On 2023-03-12 8:41 p.m., Rodrigo Badilla wrote: > Hi all, > I am using tcltk2 library to show buttons and messages. Everything > work
2016 Apr 28
2
paths for install and libraries?
I've written a fairly elaborate package (called "eoa") that relies on functions from several other packages. I've built the package into a zip file on Windows using Hadley's devtools::build(binary = T) and have sent the zip to a couple dozen people for testing. My package installs fine, but some people are having trouble loading it. After library(eoa), they get something
2016 Apr 28
2
paths for install and libraries?
I've written a fairly elaborate package (called "eoa") that relies on functions from several other packages. I've built the package into a zip file on Windows using Hadley's devtools::build(binary = T) and have sent the zip to a couple dozen people for testing. My package installs fine, but some people are having trouble loading it. After library(eoa), they get something
2012 Apr 02
1
yet another update error
Hi, After upgrading R I always update installed packages to the new version. This time an error I have never seen or heard of appeared: thousands, perhaps millions of lines like the ones below. --------------8><-------------- error reading package index file /usr/local/lib/R/library/tcltk2/tklibs/datefield0.2/pkgIndex.tcl: too many nested evaluations (infinite loop?) error reading
2023 Mar 13
1
tcl tk: set the position button
Hi all, I am using tcltk2 library to show buttons and messages. Everything work fine but I would like set the tk2button to the right of my screen, by default it display at the left of my screen. my script example: library(tcltk2) win1 <- tktoplevel() butOK <- tk2button(win1, text = "TEST", width = 77) tkgrid(butOK) Thanks in advance Saludos Rodrigo? -- Este correo electr?nico ha
2006 Jul 17
7
R and DDE (Dynamic Data Exchange)
R and DDE (Dynamic Data Exchange) Dear Rusers, I run an application (not mine) which acts as a DDE server. I would like to use R to get data from this application, say once per minute, and do some processing on it. I didn't find much info on the R DDE abilities, apart the tcltk2 package in which I will try to go deeper. I would be very thankful for any info, pointer or advice about the
2009 Feb 10
3
tcltk, tcltk2, Rcmdr, Mac OS X
Dear Colleagues, When I try to install Rcmdr the following happens: ---------------------------------- > library(Rcmdr) Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name "font". Error : .onAttach failed in 'attachNamespace' Error: package/namespace load failed for
2014 Sep 04
0
howto force shutdown if nut-snmp Communications lost
On Sep 3, 2014, at 9:38 AM, Heiko L. <HL at fh-lausitz.de> wrote: > Howto force shutdown if nut-snmp Communications lost? > > My 1. suggestion was option DEADTIME, but seem to be information only. (s. below) DEADTIME expiration is a critical condition if the UPS is on battery when comms are lost, otherwise you are correct, it is only informative. What about a NOTIFYCMD script
2009 Apr 30
1
[Fwd: problems installing rjags | tcltk]
Quick followup. Confirmed that TCl/Tk are both installed on the machine (they are, in both 32- and 64-bit flavours), as are all tcl and tk-related libs, devel packages, and about everything else I could find. It occurred to me that perhaps the R I compiled isn't 'tcltk' aware. I checked the config.log, and there is some hint that this might be the case. Just before ## File
2014 Sep 03
2
howto force shutdown if nut-snmp Communications lost
Hallo, I have one ups with snmp and any ups without snmp. Shutdown works while network online. But some batteries are empty, so that the communication break early. Howto force shutdown if nut-snmp Communications lost? My 1. suggestion was option DEADTIME, but seem to be information only. (s. below) Any suggestions? The last way would be a ugly cronjob (like: ping || shutdown). regards Heiko
2008 Sep 01
2
Error with Rcmdr package
Dear all, A friend of mine, who just installed Rcmdr package. When calling the package, the error as following comes up. And actually, I've checked in CRAN packages, the tcltk package doesn't exist anymore, but tcltk2. Any help is appreciated Regards Nguyen D Nguyen Garvan Institute of Medical Research Sydney, Australia library(Rcmdr) Loading required package: tcltk Loading Tcl/Tk
2012 Jan 28
1
need gui matrix editor: does R Core team have advice on how?
Dear R-devel: Would R core team consider endorsing a graphical toolkit and trying to facilitate development of little GUI tools? I need a gui matrix editor for users that want to be able to write matrices that are later used to simulate data. Instead of teaching them to write a covariance matrix (for example, for mvtnorm), I want to tell them run a function that pops up a table they can fill
2015 Nov 15
4
will bad things happen if samba4 AD not binding 127.0.0.1?
hi: my company has two dns servers, but samba4 internal dns forward can only forward to 1 server. to workarround it i run dnsmasq as dns cache at 127.0.0.1 and let samba4 dns forward to 127.0.0.1. my smb.conf looks like: dns forwarder = 127.0.0.1 interfaces = 10.1.1.1 bind interfaces only = Yes with the setting samba won't bind to 127.0.0.1, so dnsmasq can use 127.0.0.1 to do the work.