Commits

Faheem Mitha committed 84100c1

Update patches/gtableaddgrob.diff

  • Participants
  • Parent commits 3eb313b

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:40:43.000000000 +0530
-+++ gtable-0.1.2/R/add-grob.r	2013-06-14 16:30:22.000000000 +0530
+--- gtable-0.1.2.orig/R/add-grob.r	2013-06-15 00:53:13.000000000 +0530
++++ gtable-0.1.2/R/add-grob.r	2013-06-15 02:36:53.000000000 +0530
 @@ -20,8 +20,16 @@
  #' @param name name of the grob - used to modify the grob name before it's
  #'   plotted.
 +  print(str(x))
 +  print("grobs")
 +  print(str(grobs))
-+  ##save(list= c("x", "grobs"), ascii=TRUE, file="addgrob.save")
-+  save(list= c("x", "grobs", "layout"), file="addgrob.save")
++  save(list= c("x", "grobs"), ascii=TRUE, 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")