Commits

Faheem Mitha committed a5bece9

Add README and addgrob.asc.save

  • Participants

Comments (0)

Files changed (2)

+SUMMARY: loading the ggplot2 package produces errors with str which
+are not present otherwise.
+
+To reproduce this bug, do the following.
+
+Start R. Then
+
+> ls()
+character(0)
+> load("addgrob.asc.save")
+> ls()
+[1] "grobs"  "layout" "x"
+
+> str(x, max.level=1)
+List of 10
+ $ grobs   :List of 8
+ $ layout  :'data.frame':       8 obs. of  7 variables:
+   $ widths  :Class 'unit'  atomic [1:6] 1.5 6.096 0.762 1.961 0 ...
+  .. ..- attr(*, "unit")= chr "mm"
+  .. ..- attr(*, "valid.unit")= int 7
+ $ heights :Class 'unit'  atomic [1:7] 1.5 2.53 1.52 6.1 6.1 ...
+  .. ..- attr(*, "unit")= chr "mm"
+  .. ..- attr(*, "valid.unit")= int 7
+ $ respect : logi FALSE
+ $ rownames: NULL
+ $ colnames: NULL
+ $ name    : chr "layout"
+ $ gp      : NULL
+ $ vp      : NULL
+ - attr(*, "class")= chr [1:3] "gtable" "grob" "gDesc"
+
+> x$grobs <- c(x$grobs, grobs)
+> x$layout <- rbind(x$layout, layout)
+
+> str(x, max.level=1)
+List of 10
+ $ grobs   :List of 11
+ $ layout  :'data.frame':       11 obs. of  7 variables:
+   $ widths  :Class 'unit'  atomic [1:6] 1.5 6.096 0.762 1.961 0 ...
+  .. ..- attr(*, "unit")= chr "mm"
+  .. ..- attr(*, "valid.unit")= int 7
+ $ heights :Class 'unit'  atomic [1:7] 1.5 2.53 1.52 6.1 6.1 ...
+  .. ..- attr(*, "unit")= chr "mm"
+  .. ..- attr(*, "valid.unit")= int 7
+ $ respect : logi FALSE
+ $ rownames: NULL
+ $ colnames: NULL
+ $ name    : chr "layout"
+ $ gp      : NULL
+ $ vp      : NULL
+ - attr(*, "class")= chr [1:3] "gtable" "grob" "gDesc"
+
+> library(ggplot2)
+
+> str(x, max.level=1)
+List of 11
+ $ grobs   :List of 11
+ $ layout  :'data.frame':       11 obs. of  7 variables:
+   $ widths  :Class 'unit'  atomic [1:6] 1.5 6.096 0.762 1.961 0 ...
+  .. ..- attr(*, "unit")= chr "mm"
+  .. ..- attr(*, "valid.unit")= int 7
+ $ heights :Class 'unit'  atomic [1:7] 1.5 2.53 1.52 6.1 6.1 ...
+  .. ..- attr(*, "unit")= chr "mm"
+  .. ..- attr(*, "valid.unit")= int 7
+ $ respect : logi FALSE
+ $ rownames: NULL
+ $ colnames: NULL
+ $ name    : chr "layout"
+ $ gp      : NULL
+ $ vp      : NULL
+ $ NA:Error in object[[i]] : subscript out of bounds

File addgrob.asc.save

+RDA2
+A
+2
+134915
+131840
+1026
+1
+262153
+1
+x
+787
+10
+19
+8
+787
+10
+782
+1
+0.5
+1026
+1
+262153
+4
+unit
+16
+1
+262153
+3
+npc
+1026
+1
+262153
+10
+valid.unit
+13
+1
+0
+1026
+1
+262153
+5
+class
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+1
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+1
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+6
+centre
+254
+254
+16
+1
+262153
+25
+legend.background.rect.52
+787
+4
+14
+1
+1.417322833752868
+10
+1
+NA
+16
+1
+262153
+5
+white
+14
+1
+1
+1026
+1
+262153
+5
+names
+16
+4
+262153
+3
+lwd
+262153
+3
+col
+262153
+4
+fill
+262153
+3
+lty
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+10
+262153
+1
+x
+262153
+1
+y
+262153
+5
+width
+262153
+6
+height
+262153
+4
+just
+262153
+5
+hjust
+262153
+5
+vjust
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+4
+rect
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+11
+16
+1
+262153
+4
+size
+782
+1
+0
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+6
+centre
+14
+1
+0
+14
+1
+0.5
+14
+1
+0
+10
+1
+0
+16
+1
+262153
+19
+guide.title.text.35
+787
+5
+14
+1
+9.600000000000001
+16
+1
+262153
+5
+black
+16
+1
+262153
+0
+
+14
+1
+0.9
+13
+1
+2
+1026
+1535
+16
+5
+262153
+8
+fontsize
+262153
+3
+col
+262153
+10
+fontfamily
+262153
+10
+lineheight
+262153
+4
+font
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+11
+262153
+5
+label
+262153
+1
+x
+262153
+1
+y
+262153
+4
+just
+262153
+5
+hjust
+262153
+5
+vjust
+262153
+3
+rot
+262153
+13
+check.overlap
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+4
+text
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+10
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+1
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+1
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+6
+centre
+254
+254
+16
+1
+262153
+18
+legend.key.rect.43
+787
+4
+14
+1
+1.417322833752868
+16
+1
+262153
+6
+grey80
+16
+1
+262153
+5
+white
+14
+1
+1
+1026
+1535
+16
+4
+262153
+3
+lwd
+262153
+3
+col
+262153
+4
+fill
+262153
+3
+lty
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+10
+262153
+1
+x
+262153
+1
+y
+262153
+5
+width
+262153
+6
+height
+262153
+4
+just
+262153
+5
+hjust
+262153
+5
+vjust
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+4
+rect
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+7
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+6
+native
+1026
+1023
+13
+1
+4
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+6
+native
+1026
+1023
+13
+1
+4
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+13
+1
+16
+782
+1
+1
+1026
+767
+16
+1
+262153
+2
+mm
+1026
+1023
+13
+1
+7
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+14
+GRID.points.44
+787
+3
+16
+1
+262153
+9
+#000000FF
+16
+1
+9
+-1
+14
+1
+2.834645667505735
+1026
+1535
+16
+3
+262153
+3
+col
+262153
+4
+fill
+262153
+8
+fontsize
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+7
+262153
+1
+x
+262153
+1
+y
+262153
+3
+pch
+262153
+4
+size
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+6
+points
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+10
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+1
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+1
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+6
+centre
+254
+254
+16
+1
+262153
+18
+legend.key.rect.46
+787
+4
+14
+1
+1.417322833752868
+16
+1
+262153
+6
+grey80
+16
+1
+262153
+5
+white
+14
+1
+1
+1026
+1535
+16
+4
+262153
+3
+lwd
+262153
+3
+col
+262153
+4
+fill
+262153
+3
+lty
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+10
+262153
+1
+x
+262153
+1
+y
+262153
+5
+width
+262153
+6
+height
+262153
+4
+just
+262153
+5
+hjust
+262153
+5
+vjust
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+4
+rect
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+7
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+6
+native
+1026
+1023
+13
+1
+4
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+6
+native
+1026
+1023
+13
+1
+4
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+13
+1
+16
+782
+1
+3.5
+1026
+767
+16
+1
+262153
+2
+mm
+1026
+1023
+13
+1
+7
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+14
+GRID.points.47
+787
+3
+16
+1
+262153
+9
+#000000FF
+16
+1
+9
+-1
+14
+1
+9.921259836270073
+1026
+1535
+16
+3
+262153
+3
+col
+262153
+4
+fill
+262153
+8
+fontsize
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+7
+262153
+1
+x
+262153
+1
+y
+262153
+3
+pch
+262153
+4
+size
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+6
+points
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+10
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+1
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+1
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+6
+centre
+254
+254
+16
+1
+262153
+18
+legend.key.rect.49
+787
+4
+14
+1
+1.417322833752868
+16
+1
+262153
+6
+grey80
+16
+1
+262153
+5
+white
+14
+1
+1
+1026
+1535
+16
+4
+262153
+3
+lwd
+262153
+3
+col
+262153
+4
+fill
+262153
+3
+lty
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+10
+262153
+1
+x
+262153
+1
+y
+262153
+5
+width
+262153
+6
+height
+262153
+4
+just
+262153
+5
+hjust
+262153
+5
+vjust
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+4
+rect
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+7
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+6
+native
+1026
+1023
+13
+1
+4
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+6
+native
+1026
+1023
+13
+1
+4
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+13
+1
+16
+782
+1
+6
+1026
+767
+16
+1
+262153
+2
+mm
+1026
+1023
+13
+1
+7
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+14
+GRID.points.50
+787
+3
+16
+1
+262153
+9
+#000000FF
+16
+1
+9
+-1
+14
+1
+17.00787400503441
+1026
+1535
+16
+3
+262153
+3
+col
+262153
+4
+fill
+262153
+8
+fontsize
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+7
+262153
+1
+x
+262153
+1
+y
+262153
+3
+pch
+262153
+4
+size
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+6
+points
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+7
+14
+8
+1
+2
+4
+4
+5
+5
+6
+6
+14
+8
+1
+2
+2
+2
+2
+2
+2
+2
+14
+8
+7
+2
+4
+4
+5
+5
+6
+6
+14
+8
+6
+5
+2
+2
+2
+2
+2
+2
+14
+8
+1
+2
+3
+4
+5
+6
+7
+8
+16
+8
+262153
+3
+off
+262153
+3
+off
+262153
+3
+off
+262153
+3
+off
+262153
+3
+off
+262153
+3
+off
+262153
+3
+off
+262153
+3
+off
+16
+8
+262153
+10
+background
+262153
+5
+title
+262153
+10
+key-3-1-bg
+262153
+9
+key-3-1-1
+262153
+10
+key-4-1-bg
+262153
+9
+key-4-1-1
+262153
+10
+key-5-1-bg
+262153
+9
+key-5-1-1
+1026
+1535
+16
+7
+262153
+1
+t
+262153
+1
+l
+262153
+1
+b
+262153
+1
+r
+262153
+1
+z
+262153
+4
+clip
+262153
+4
+name
+1026
+1
+262153
+9
+row.names
+13
+2
+NA
+8
+1026
+1279
+16
+1
+262153
+10
+data.frame
+254
+782
+6
+1.5
+6.096
+0.762
+1.961444444444444
+0
+1.5
+1026
+767
+16
+1
+262153
+2
+mm
+1026
+1023
+13
+1
+7
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+7
+1.5
+2.532944444444446
+1.524
+6.096
+6.096
+6.096
+1.5
+1026
+767
+16
+1
+262153
+2
+mm
+1026
+1023
+13
+1
+7
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+10
+1
+0
+254
+254
+16
+1
+262153
+6
+layout
+254
+254
+1026
+1535
+16
+10
+262153
+5
+grobs
+262153
+6
+layout
+262153
+6
+widths
+262153
+7
+heights
+262153
+7
+respect
+262153
+8
+rownames
+262153
+8
+colnames
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+6
+gtable
+262153
+4
+grob
+262153
+5
+gDesc
+254
+1026
+1
+262153
+5
+grobs
+19
+3
+787
+11
+16
+1
+262153
+1
+1
+782
+1
+0
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+6
+centre
+14
+1
+0
+14
+1
+0.5
+14
+1
+0
+10
+1
+0
+16
+1
+262153
+19
+guide.label.text.37
+787
+5
+14
+1
+9.600000000000001
+16
+1
+262153
+5
+black
+16
+1
+262153
+0
+
+14
+1
+0.9
+13
+1
+1
+1026
+1535
+16
+5
+262153
+8
+fontsize
+262153
+3
+col
+262153
+10
+fontfamily
+262153
+10
+lineheight
+262153
+4
+font
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+11
+262153
+5
+label
+262153
+1
+x
+262153
+1
+y
+262153
+4
+just
+262153
+5
+hjust
+262153
+5
+vjust
+262153
+3
+rot
+262153
+13
+check.overlap
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+4
+text
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+11
+16
+1
+262153
+1
+2
+782
+1
+0
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+6
+centre
+14
+1
+0
+14
+1
+0.5
+14
+1
+0
+10
+1
+0
+16
+1
+262153
+19
+guide.label.text.39
+787
+5
+14
+1
+9.600000000000001
+16
+1
+262153
+5
+black
+16
+1
+262153
+0
+
+14
+1
+0.9
+13
+1
+1
+1026
+1535
+16
+5
+262153
+8
+fontsize
+262153
+3
+col
+262153
+10
+fontfamily
+262153
+10
+lineheight
+262153
+4
+font
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+11
+262153
+5
+label
+262153
+1
+x
+262153
+1
+y
+262153
+4
+just
+262153
+5
+hjust
+262153
+5
+vjust
+262153
+3
+rot
+262153
+13
+check.overlap
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+4
+text
+262153
+4
+grob
+262153
+5
+gDesc
+254
+787
+11
+16
+1
+262153
+1
+3
+782
+1
+0
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+782
+1
+0.5
+1026
+767
+16
+1
+262153
+3
+npc
+1026
+1023
+13
+1
+0
+1026
+1279
+16
+1
+262153
+4
+unit
+254
+16
+1
+262153
+6
+centre
+14
+1
+0
+14
+1
+0.5
+14
+1
+0
+10
+1
+0
+16
+1
+262153
+19
+guide.label.text.41
+787
+5
+14
+1
+9.600000000000001
+16
+1
+262153
+5
+black
+16
+1
+262153
+0
+
+14
+1
+0.9
+13
+1
+1
+1026
+1535
+16
+5
+262153
+8
+fontsize
+262153
+3
+col
+262153
+10
+fontfamily
+262153
+10
+lineheight
+262153
+4
+font
+1026
+1279
+16
+1
+262153
+4
+gpar
+254
+254
+1026
+1535
+16
+11
+262153
+5
+label
+262153
+1
+x
+262153
+1
+y
+262153
+4
+just
+262153
+5
+hjust
+262153
+5
+vjust
+262153
+3
+rot
+262153
+13
+check.overlap
+262153
+4
+name
+262153
+2
+gp
+262153
+2
+vp
+1026
+1279
+16
+3
+262153
+4
+text
+262153
+4
+grob
+262153
+5
+gDesc
+254
+1026
+1
+262153
+6
+layout
+787
+7
+14
+3
+4
+5
+6
+14
+3
+4
+4
+4
+14
+3
+4
+5
+6
+14
+3
+4
+4
+4
+14
+3
+9
+10
+11
+16
+3
+262153
+3
+off
+262153
+3
+off
+262153
+3