[R] Passing arguments to gpar

Sebastien Bihorel Sebastien.Bihorel at cognigencorp.com
Fri Dec 4 00:18:57 CET 2009


Dear R-users,

I would like to know how to pass arguments to gpar() without hard-coding 
them. I tried to store my arguments in a list and passed this list to 
gpar(), but it did find the way to do it properly. Any help would be 
appreciated.

a<- list(fontisze=8,col=3)
gpar(fontsize=8,col=3)
gpar(a)
gpar(unlist(a))




More information about the R-help mailing list