Displaying 20 results from an estimated 700 matches similar to: "latticist and playwith"
2008 Jun 19
0
playwith 0.8-55
playwith package version 0.8-55 is now on CRAN.
It provides a GTK+ interface for interacting with R plots.
Screenshots of some examples are online at:
http://code.google.com/p/playwith/wiki/Screenshots
Changes in Version 0.8-55
o argument `parameters`: automatically constructs
widgets to control parameter values appearing in the call.
o default action when dragging on the plot is zoom.
2008 Jun 19
0
playwith 0.8-55
playwith package version 0.8-55 is now on CRAN.
It provides a GTK+ interface for interacting with R plots.
Screenshots of some examples are online at:
http://code.google.com/p/playwith/wiki/Screenshots
Changes in Version 0.8-55
o argument `parameters`: automatically constructs
widgets to control parameter values appearing in the call.
o default action when dragging on the plot is zoom.
2008 Jul 24
1
plot.dendrogram xlim/ylim
list(...),
I would like to zoom in to the leaves of large trees in a dendrogram
plot. The playwith package allows zooming by passing xlim and ylim
arguments to the plot call (Hmisc does this too I think). But
currently stats:::plot.dendrogram does not accept xlim or ylim. So I
would like to enable that. In place of the existing code chunk:
xlim <- c(x1 - 1/2, x2 + 1/2)
ylim <- c(0,
2007 Aug 02
2
new package plotAndPlayGTK
Package plotAndPlayGTK provides a graphical user interface for R
plots. Wrap it around your plot commands, like playwith(plot(mydata)).
A window pops up with a Cairo plot device and a toolbar with buttons
to interact with the plot. The default buttons allow you to add
persistent labels to data points, zoom in and out and around, save the
plot to a file, and so on. Furthermore, you can edit the
2007 Aug 02
2
new package plotAndPlayGTK
Package plotAndPlayGTK provides a graphical user interface for R
plots. Wrap it around your plot commands, like playwith(plot(mydata)).
A window pops up with a Cairo plot device and a toolbar with buttons
to interact with the plot. The default buttons allow you to add
persistent labels to data points, zoom in and out and around, save the
plot to a file, and so on. Furthermore, you can edit the
2007 Jun 24
0
plot just one page of lattice plot
Great stuff, thanks. I'm copying this solution to R-help for reference.
On 6/24/07, deepayan.sarkar at gmail.com <deepayan.sarkar at gmail.com> wrote:
> On 6/23/07, Felix Andrews <felix at nfrac.org> wrote:
> > Hi Deepayan,
> >
> > I have a Lattice question: is there any way to plot just one
> > (specified) page of a multi-page display?
>
> Not in
2007 Jul 12
0
time-varying recursive filter - vectorized
A question about vectorized operations (avoiding loops, for speed)...
I need to run a simple recursive (autoregressive) filter with a
time-varying coefficient. It is just a one-step recursive filter, so
it would be an exponential decay if the filter was constant.
I just want to do this, where 'x' is the data and 'w' is the weight to
apply to the previous time step:
x <- c(1,
2008 Jul 28
1
equivalent to "require" for imports? (cairoDevice)
Hi R-devel
I use the packages RGtk2 and cairoDevice. The cairoDevice package has
a few stand-alone functions, plus "asCairoDevice" which depends on
RGtk2 and calls require(RGtk2). So cairoDevice lists RGtk2 under
"Suggests" in the DESCRIPTION file. It can not Import RGtk2 because
that would force all users to install RGtk2.
The upshot of this is, if you *import* the RGtk2
2009 Jan 16
1
interrupting R from a GUI
list(...),
I am looking for a way to interrupt R from a callback: specifically,
to interrupt plotting (typically on a cairoDevice, but would be good
if it worked with other devices too). Of course, one can interrupt R
nicely from the console with Ctrl-C (or Esc in Rgui), but I need to do
it from a GUI. Callbacks run in a new thread, so obviously stop() etc
will not work. I tried to look into how
2007 Aug 16
1
time series with quality codes
list(...),
I am working with environmental time series (eg rainfall, stream flow)
that have attached quality codes for each data point. The quality
codes have just a few factor levels, like "good", "suspect", "poor",
"imputed". I use the quality codes in plots and summaries. They are
carried through when a time series is aggregated to a longer
time-step,
2008 Jan 15
1
navigating ggplot viewports
list(...)
I can not get at the grid viewports in a ggplot2 plot.
I know there is supposed to be a viewport called "panel_1_1" but
downViewport() can't find it. Has the viewport been popped?
I had a quick look at the functions involved (eg ggplot_plot)
but there is no obvious problem there.
> library(ggplot2)
> qplot(1:10, 1:10)
> current.viewport()
viewport[ROOT]
>
2009 Jan 05
1
bug involving quote(); ghost in the machine
Hi list(...),
I've narrowed down a weird bug. It's like a ghost in the machine, in
that functions seem to remember things that they should not be able
to. In the example below, the result of the second (and subseqent)
calls depend on what was given in the first call.
foo <- function(given = NULL) {
callObj <- quote(callFunc())
if (!is.null(given))
callObj$given
2007 Jul 14
0
ts model challenge (transfer function)
Dear useRs,
I am trying to model a time series with a transfer function. I think
it can be put into the ARMA framework, and estimated with the 'arima'
function (and others have made similar comments on this list). I have
tried to do that, but the results have so far been disappointing.
Maybe I am trying to make 'arima' do something it can't...
The data are time series of
2009 May 25
2
cairoDevice.dll error, but it exists..?
Hello, running windows vista, R2.9. Installed the following libraries:
(*latticist*, *playwith* and *Cairo*)
Wanted then to run, to evaluate the visualization features:
>data(iris)
>library(latticist)
>latticist(iris)
However, i tested my desktop and laptop and get the following error
after typing latticist(iris):
latticist(iris)
Loading required package: playwith
Loading
2008 Jul 28
1
grid.ls() after grid.remove() fails
Dr Murrell and others,
It seems grid.ls() fails after any use of grid.remove(). It gives an
infinite recursion error even in the simplest cases, and no matter
what arguments are passed to grid.ls.
> library(grid)
> grid.newpage()
> grid.lines(name="foo")
> grid.ls()
foo
> grid.remove("foo")
> grid.ls()
Error: evaluation nested too deeply: infinite recursion
2008 Sep 03
1
Problems with playwith()
Hello,
I am trying to execute an example provided in the help files for the
playwith() function. I try to execute the first example:
library(playwith)
if (interactive()) {
options(device.ask.default = FALSE)
## Scatterplot (Lattice graphics).
## Labels are taken from rownames of data.
## Just click on the plot to identify points.
playwith(xyplot(Income ~ log(Population / Area),
data =
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'
2012 Jan 19
1
question re. package playwith not able to run command getting error message that I'm attempting to use non function
Hello, I managed to install playwith package and all its prerequisites. My
R version is R 2.14:
R version 2.14.1 (2011-12-22)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i486-pc-linux-gnu (32-bit)
All my packages were updated, and recently installed. When I attempt
to use the command playwith I get the following error message:
>
2010 Mar 22
4
Playwith on Mint
Hello,
I am having trouble installing the package playwith on the latest Mint
"helena",
running R version 2.10.1 (2009-12-14).
I suspect it has to do with the GTK library but as far as I can tell there
is nothing wrong with it.
Any help extremely appreciated.
I include the output:
> install.packages("playwith")
Warning in install.packages("playwith") :
2007 Oct 13
1
Make playwith a default graphic device
Hi,
I looking for a graphic device on Linux with more functionalities than the X11
(). I find the plotAndPlayGTK package and the playwith function. It is a good
device. It is possible to make it default in my system.
Now I need:
> library(plotAndPlayGTK )
Loading required package: RGtk2
Loading required package: cairoDevice
>
> playwith(plot(1,1))
Error in plot.new() : figure margins