tests/test.R

library(grid)
library(gridDebug)

grid.newpage()
grid.rect()
gridTree(grid=TRUE,
         grobNodeAttrs=list(shape="circle",
           fillcolor="black", fontcolor="white"))

grid.newpage()
grid.rect()
gridTreeTips(grid=TRUE,
             grobNodeAttrs=list(shape="circle",
               fillcolor="black", fontcolor="white"))

library(lattice)
xyplot(1:10 ~ 1:10)
grobBrowser()

Try the gridDebug package in your browser

Any scripts or data that you put into this service are public.

gridDebug documentation built on May 1, 2019, 7:06 p.m.