Commits

Faheem Mitha committed 3eb313b

Update patches/gtableaddgrob.diff

Comments (0)

Files changed (1)

patches/gtableaddgrob.diff

 Index: gtable-0.1.2/R/add-grob.r
 ===================================================================
---- gtable-0.1.2.orig/R/add-grob.r	2013-06-14 15:03:38.000000000 +0530
-+++ gtable-0.1.2/R/add-grob.r	2013-06-14 15:40:33.000000000 +0530
+--- gtable-0.1.2.orig/R/add-grob.r	2013-06-14 15:40:43.000000000 +0530
++++ gtable-0.1.2/R/add-grob.r	2013-06-14 16:30:22.000000000 +0530
 @@ -20,8 +20,16 @@
  #' @param name name of the grob - used to modify the grob name before it's
  #'   plotted.
 +  print("grobs")
 +  print(str(grobs))
 +  ##save(list= c("x", "grobs"), ascii=TRUE, file="addgrob.save")
-+  save(list= c("x", "grobs"), file="addgrob.save")
++  save(list= c("x", "grobs", "layout"), file="addgrob.save")
 +  ## problem here
    x$grobs <- c(x$grobs, grobs)
 +  print("x$grobs <- c(x$grobs, grobs) finished")