Hello anyone used to do similar things: search for the final C function that
corresponding to the drawing of a rectangle?
As listed in the subject, I started from heatmap() in R and after several steps
reached the GRect() in C. However, then it refers to rect() which further seems
to refer to
Hi R-devel,
It seems that grobX and grobY (from the grid package) do not refer to
the bounding box of a grid.points object.
library(grid)
library(lattice)
xyplot(1:10 ~ 1:10)
downViewport("plot1.panel.1.1.vp")
grob <- grid.get("GRID.points", grep=TRUE)
convertX(grobWidth(grob), "cm")
# 10.3430190
>> I was thinking about using the head and tail functions also for files i.e.
>> show me the first/last few lines of a file. For example:
>>
>> zz <- file("ex.data", "w") # open an output file connection
>> cat("TITLE extra line", "2 3 5 7", "", "11 13 17", file = zz, sep = "\n")
>> cat("One more
On 25/07/2008 7:30 AM, Gorjanc Gregor wrote:
Hi!
I was thinking about using the head and tail functions also for files i.e.
show me the first/last few lines of a file. For example:
zz <- file("ex.data", "w") # open an output file connection
cat("TITLE extra line", "2 3 5 7", "", "11 13 17", fi
Hi!
I was thinking about using the head and tail functions also for files i.e.
show me the first/last few lines of a file. For example:
zz <- file("ex.data", "w") # open an output file connection
cat("TITLE extra line", "2 3 5 7", "", "11 13 17", file = zz, sep = "\n")
cat("One more line\n", fil