[R] textbox in lattice
p.murrell at auckland.ac.nz
Wed Jun 9 03:37:56 CEST 2010
Shifting this to r-devel ...
On 6/6/2010 11:20 PM, baptiste auguie wrote:
> I've just added width/heightDetails methods following Paul's
> suggestion. I kept a duplicate of all on-the-fly grob size
> calculations; it is necessary to ensure that the table cells adjust to
> the content which can be subsequently edited (e.g changing the
> colnames to plotmath expressions). Drawing the full iris dataset (150
> x 5) takes 12 seconds when it was 8 seconds before. It is still
> reasonable; I don't think anyone would want to use it for huge tables
> Out of curiosity, could drawDetails and height/widthDetails be altered
> to share some information (thereby avoiding such duplication of
> calculations at drawing time), or do they have to be completely
> independent in the implementation?
> On 3 June 2010 07:58, baptiste auguie<baptiste.auguie at googlemail.com> wrote:
>> On 3 June 2010 05:26, Paul Murrell<p.murrell at auckland.ac.nz> wrote:
>>> Or the same drawing calculations have to be repeated within
>>> width/heightDetails - those methods should get run within the same graphical
>>> context as the drawDetails method.
>> Yes, the idea crossed my mind, but I did not find it very appealing
>> (already the function is slower than it could/should be). Something to
>> consider though, in a future version.
>>>> R-help at r-project.org mailing list
>>>> PLEASE do read the posting guide
>>>> and provide commented, minimal, self-contained, reproducible code.
>>> Dr Paul Murrell
>>> Department of Statistics
>>> The University of Auckland
>>> Private Bag 92019
>>> New Zealand
>>> 64 9 3737599 x85392
>>> paul at stat.auckland.ac.nz
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
64 9 3737599 x85392
paul at stat.auckland.ac.nz
More information about the R-help