Dear all,

I use the following to create a list of identical grobs,

require(grid)
rep.grob <- function(g, n){
 replicate(n, g, simplify=FALSE)
}

This approach suffers two problems:

1- R CMD check is not happy about the S3-like name. How can / Should I
make this a real S3 method?

2- I don't know if this is the most efficient way to do it.

Suggestions are welcome.


Regards,

baptiste

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to