similar to: grid's viewports

Displaying 20 results from an estimated 1000 matches similar to: "grid's viewports"

2003 Feb 21
5
Problem Writeing a pipe using R (stdin is consumed)
Hi everybody, I a, trying to use R as a pipe like this: cat inputData | R --silent RCommandFile >outputData The RCommandFile would contain something like readLines(stdin()). I have tryed various things and none did work cleanly. One possible solution is to use the pipe() function inside R and to pass in the "cat inputData" however this is not very convenient since I would like to
2003 Jul 21
1
grid and gtkDevice package clipping bug.
Hello! When I draw points on grid's viewport with clip set to TRUE clipping does not have effect on some symbols. It happens only when drawing over gtkDevice (GTK ver. 1.2) (with postscript device clipping works OK - take a look at this screenshot http://www.hppi.troitsk.ru/Kondrin/clipbug.png) and only with symbols that are drawn with commands other than gdk_draw_polygon() (i.e. circles
2004 Mar 26
2
Omegahat down?
I was wondering the same thing. The traceroute seems to end at their border router, which leads me to believe that they has a hardware failure. Hoping that they get it up in a few days. I've checked around and there are a few mirrors but they all just hang, so I guess we have to wait... Mark Fowle ------------------------------------------------------- Navicom Inc. One Steelcase Road W
2003 Sep 27
1
CRAN mirror - howto?
Hello! There is a group of administartors of Russian internet site www.linuxportal.ru (this is mainly a forum for linux-users) who are intended to host on this site mirrors of linux distributions and open source software with http and ftp access. I have proposed to them to open there a CRAN mirror, making a point what this site would be a first R mirror in .ru domain, and they seems to accept
2003 May 12
3
grid - deleting and erasing grobs?
Hello! Don't quite understand how can I delete grobs and simultaneously erase graphic output they produce. I first change grob's "vp" field to null (grid.edit(gr,vp=NULL)) to erase it and then call rm(gr) (as grobs are external pointers I'm not shure what this method actually frees allocated memory). May be there is simpler method? Does garbage collector have any effect
2003 May 12
3
grid - deleting and erasing grobs?
Hello! Don't quite understand how can I delete grobs and simultaneously erase graphic output they produce. I first change grob's "vp" field to null (grid.edit(gr,vp=NULL)) to erase it and then call rm(gr) (as grobs are external pointers I'm not shure what this method actually frees allocated memory). May be there is simpler method? Does garbage collector have any effect
2013 Aug 29
1
Problem with "Peaks" package - followup…
Hi, I apologize for not following the posting rules? Here is the text from my previous post: "I started evaluating the 'Peaks' package a couple of months ago and found it to be quite useful. Getting back to it last week I had to set up my R environment due to hardware changes again. The Peaks package loads with no problem. After successfully reinstalling all packages (RedHat
2003 Feb 19
4
fitting a curve according to a custom loss function
Dear R-Users, I need to find a smooth function f() and coefficients a_i that give the best fit to y ~ a_0 + a_1*f(x_1) + a_2*f(x_2) Note that it is the same non-linear transformation f() that is applied to both x_1 and x_2. So my first question is how can I do it in R? A more general question is this: suppose I have a utility function U(a_i, f()), where f() is say a spline. Is there a general
2003 Oct 21
1
Patches for DBI/RMySQL "valueClass" problem?
According David Jame's response to my earlier question, there is a problem with setGeneric.setMethod in R 1.8.0 that affects DBI and RMySQL. Is there a fix for this? David Jame's refers to an 'R-patched version' but I haven't seen anything like this on CRAN. Would going back to an older version of R solve the problem? Thanks, Barnet Wagman "David James wrote:
2005 Oct 03
1
Grid: constructing a gTree with grobs that use named viewports from a vpTree
I'm trying to create a layout with named viewports that I can use for other functions. I create the viewport tree that I want, and a list of grobs with the viewports describing where they should go. library(grid) vp <- vpTree( viewport(layout=grid.layout(2,2), name="layout"), children=vpList( viewport(layout.pos.col = 1, layout.pos.row=1, name="tl"),
2005 Nov 02
0
Placing a grob in multiple viewports
Hi all, What's the best way of placing a grob into muliple viewports? I've been using code like: plot_grob_matrix <- function(gm, type=deparse(substitute(gm))) { grid <- expand.grid(x=1:nrow(gm), y=1:ncol(gm)) do.call(gList,mapply(function(x,y) editGrob(gm[[x,y]], vp=vp_path(x, y, type)), grid$x, grid$y, SIMPLIFY=FALSE)) } vp_path <- function(row, col, type) {
2010 Nov 20
1
Grid newbie: aligning & scaling viewports
Oh Knowledgeable Ones: I'm working on a project using grid graphics (for the first time). A toy example is given below, run it simply with >foobar() I am wondering why the pink dot and concentric circles are not centered on the 3-color axis system. Further, I feel like the concentric circles don't have the intended radius - if my math is right, the outmost circle should touch the
2003 Jul 17
6
Formal definitions of R-language.
Hello! Some CS-guys (the type who knows what Church formalism is) keep asking me questions about formal definitions of R-language that I can not answer (or even understand). Is there some freely available papers which I can throw at them where it would be explained is R functional/OOP/procedural language, does it use weak/strong, dynamic/static typization, does it use lazy or ...(do not know
2003 Sep 29
2
Solving nonlinear system equation
Hi all, I would like to ask that is there any function in R which can solve nonlinear system equations with several variables. Thats mean some functions similar to the 'fsolve' or 'fzero' in matlab. Thanks you Jerry _________________________________________________________________ Get 10Mb extra storage for MSN Hotmail. Subscribe Now!
2005 Mar 20
2
Using locator() to digitise
Hi Folks, I'm contemplating using locator() to digitise external graphics. To set context, I would be using X11 display on Linux. To pre-empt the obvious comment: I've found on the R site the suggestion to use the 'pixmap' package. I've tried this, and it works; but it involves building a big R object (the internal pixmap representation), and this chokes my somewhat puny
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] >
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
2014 Feb 13
0
[PATCH] nv50: mark scissors/viewports dirty on context switch
Commit 246ca4b001 ("nv50: implement multiple viewports/scissors, enable ARB_viewport_array") added dirty tracking to scissors/viewports. However it neglected to mark them all as dirty on a context switch. This fixes an apparent regression in webgl in chrome, but probably in any application that switches contexts. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- I'm
2010 Oct 24
0
[Announce] Compiz 0.9.2 is released!
Compiz 0.9.2 is released! This is the second unstable release of the Compiz 0.9 series. This release represents an evolution of the 0.9 development series and brings a few minor new features and plenty of stability, speed and bugfixes. It should be ready for general usage. The Compiz 0.9.2 tarballs are available at http://releases.compiz.org/0.9.2/ . You can verify these tarballs using the
2008 Aug 17
1
Making use of names of viewports (grid)
The following code, though not brilliant, works on an A4 page. It might look odd on other devices of a very different size. =============X8------- cut here ---------------------------- require(grid) wide <- 15 vps <- grid.layout(nrow = 3, ncol = 4, widths = unit(rep(1, 4), rep("null", 4)), heights = unit(c(99, 1, 99),