Displaying 20 results from an estimated 1000 matches similar to: "gtk button: how to create signal handler?"
2007 Jul 18
3
How to open an URL using RGtk2
Hi
I am working on R 2.5.0 on window. I am trying to provide a Hyper-link to
the user as a result, I have tried using gtkLinkButton to exercise the
facility, however, i am not able to perform the required task, i.e. when I
clicked on the LinkButton actually nothing happened.
I have gone through the documentation for the same and found that
GtkLinkButtonUriFunc is a function which is require to
2007 Mar 05
4
plot(): I want to display dates on X-axis.
Hi,
I want to display dates on my x-axis of the plot. I was trying to use plot()
command for the same and passing the values in following manner:
The variable "dat" is a data frame. The first column has numeric values and
second column has date.
e.g. dat
[,1] dat[,2]
[1,] 300 20060101
[2,] 257
2007 Feb 21
2
Splom plot:how to plot with different symbols?
Hi,
Kindly let me know if I posted a wrong question in the forum.
I want to draw a splom plot with different symbols in plot. My command is as
follows:
splom(~ log10(splomData[2:3]), groups = programs, data = splomData,
panel = panel.superpose,
key = list(title = paste(splomLoop,"Programs of Hog Analysis (Sorted by
LR(GB))"),
panel = panel.superpose,
columns =
2007 Feb 14
2
Is this a correct forum to discuss basic R problem?
Hi
Sorry if this is a wrong post in the forum. Please suggest if this is a
correct forum to discuss R related basic problem.
I wanted to perform the following task by using R:
e.g.
input data.frame
x y
============
a 10
b 20
a 10
a 10
b 15
b 15
b 20
In o/p i need
x
2007 Mar 23
1
Creating new directory/folder from R script on run time.
Hi,
Please correct me if this request does not belong to this discussion forum.
Kindly suggest me if there is a way to create a new folder from R on
runtime?
for e.g.
>From one of my R script I want to store the PDF result file in a perticular
folder let say c:\tt
for that initially i am creating "tt" folder manually and using the
following command:
fname <-
2009 May 29
1
GTK Tooltips under Linux
Dear all,
I want to set tool-tips for a gtkButton. I use the following code
which works under Windows. However, it doesn't work under Linux. Any
hints? Thanks.
library(RGtk2)
b<-gtkButtonNewWithLabel("OK")
gtkTooltips()$setTip(b,"Memo for a Button.")
gw <- gtkWindow(show=F)
gw$Add(b)
gw$Show()
> sessionInfo()
R version 2.8.0 Patched (2008-12-10 r47137)
2007 Apr 19
2
Accessing R applications from Web
Hi
I am trying to provide web interface to my R application. My requirements
are simple and can be written down as follows :
1) User must provide all the input parameters on web interface.
2) Based on the input values, R will do some computations.
3) Project the numerical results as well as plots as html page to the user
on web.
Kindly tell me which package can help me in doing this. Your help
2007 Mar 22
2
R difftime function: How can we fix the difftime unit?
Hi,
I am trying to take difference of two time objects. I want to fix the
result's unit to minutes. How can I do that?
Here is an example:
> difftime(x, y)
Time difference of 2.030720 hours
> difftime(x, z)
Time difference of 30.34672 mins
where x = '2007-03-05 08:32:58'
y = '2007-03-05 06:31:07'
and z = '2007-03-05 08:02:37'
How can I get answer
2007 May 16
2
Running R function as a Batch process
Hi,
I am struggling with using R CMD BATCH command. Kindly suggest solution to
the following problem.
I have a function named CinC with accept two input parameters. This can be
shown as:
CinC <- function(start, end)
where start and end both are character strings.
Please suggest me how can I run this function using command R CMD BATCH.
Currently I am trying to do like this -> R CMD
2011 Apr 04
1
RGtk2: How to populate an GtkListStore data model?
hello all
I am trying to learn how to use the RGtk2 package...
so, my first problem is: I don't get the right way for populate my
gtkListStore object!
any help is welcome... because I am trying several day to mount the code...
Thanks in advanced
Cleber N. Borges
---------------------------
# my testing code
library(RGtk2)
win <- gtkWindowNew()
datamodel <-
2007 Mar 01
1
R (Input from Keyboard): How do I remove error?
Hi,
I am trying to read some value from keyboard in one of my R program. I want
to do manipulation on data based on this value. But I am facing a problem
which is described below with the help of an example:
My code is similar to:
:
:
cat("\n","Enter value:: ","\n")
y<-scan(n=1)
a <- b*y
cat("\n","Enter new value::","\n")
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
I'd like to announce three new packages on CRAN: pmg, gWidgets, and
gWidgetsRGtk2.
--John Verzani
1 PMG
*=*=*=
The pmg package for R provides a relatively simple graphical user
interface for R in a manner similar to the more mature RCmdr package.
Basically this means a menu-driven interface to dialogs that collect
arguments for R functions. This GUI was written with an eye towards
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
I'd like to announce three new packages on CRAN: pmg, gWidgets, and
gWidgetsRGtk2.
--John Verzani
1 PMG
*=*=*=
The pmg package for R provides a relatively simple graphical user
interface for R in a manner similar to the more mature RCmdr package.
Basically this means a menu-driven interface to dialogs that collect
arguments for R functions. This GUI was written with an eye towards
2012 Nov 30
1
How to add widgets of gWidgets to widgets of rgtk2 ???
I have a layout in gwidgets. To this, I wanted to add a Textbox(gtkEntry)
created from rgtk2...
The code is as follows:
MainLayOut <- glayout(homogeneous = FALSE, spacing = 10, container =
SubGroup)
MainLayOut[1, 1, anchor=left] <- "Number of Total Patients: "
font(MainLayOut[1, 1, anchor=left]) <- c(weight="bold")
patients <- gtkEntry()
2011 Mar 01
2
problems with playwith
hello, i tried to run playwith but :
> library(playwith)
Loading required package: lattice
Loading required package: cairoDevice
Loading required package: gWidgetsRGtk2
Loading required package: gWidgets
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'H:/R/cran/RGtk2/libs/i386/RGtk2.dll':
LoadLibrary failure: The specified procedure could
2008 Feb 12
1
gWidgets process management
Hello,
I'm trying to make a graphical interface for an R function
I've written. A common use for the function is to call it with
specific parameters, and then watch the output as it evolves.
There's not necessarily a logical stopping point, so I usually
use ctrl-C when I'm done to stop it.
I've made a gWidgets interface to the function that gets some
user info and then on a
2009 Nov 28
1
how to put ggobi display into a GUI window setup by gWidgets
Hi,
I want to put a ggobi display into a GUI window setup by gWidgets, but error
occur said it is not a S4 object.
Does anyone have any idea about how to put it in or maybe it can not be put
into a widget at all?
Thanks A LOT!
--
View this message in context: http://n4.nabble.com/how-to-put-ggobi-display-into-a-GUI-window-setup-by-gWidgets-tp930529p930529.html
Sent from the R help mailing list
2011 Jun 10
2
Require of gWidgetsRGtk2 fails: RGtk2.dll can't be found, but it's there
Dear list,
I've been trying to get gWidgets/gWidgetsRGtk2 to run every other month
for a while, but somehow I simply can't figure out what's going wrong.
I tried several distributions of the GTK runtime environment for Windows
(http://downloads.sourceforge.net/gladewin32/gtk-2.12.9-win32-1.exe as
described in the package's vignette,
2008 Oct 14
3
gWidgets install
Hi,
I wanted to install the gWidgets package and ran the following code:
------------------------------------------
> install.packages("gWidgets")
trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.7/gWidgets_0.0-30.zip'
Content type 'application/zip' length 1354268 bytes (1.3 Mb)
opened URL
downloaded 1.3 Mb
package 'gWidgets'
2008 Feb 11
2
RGTK2 and glade on Windows - GUI newbie
Hallo,
I'd like to write a GUI (first choice with GTK+).
I've surfed through the R- an Omegahat-Pages, because I'd like to use
RGTK2, GTK 2.10.11 in combination with glade on Windows XP (perhaps later
Unix, Mac).
I've found a lot of different information. Because of the information I'm
not sure, if this combination is running on Windows XP and I'm unsure how
it works.
Is