[R] pass longer arguments to adj of text()

Charles C. Berry cberry at tajo.ucsd.edu
Tue Oct 21 18:18:43 CEST 2008

On Mon, 20 Oct 2008, Thomas Steiner wrote:

> Brian, thank you for your reply.
>> Why do you expect this to be vectorized when the help page clearly says
>> otherwise?
> Sure, it's in line with the help, no problem there. I just asked if
> this feature is somehow possible.
> I expected it, because "pos" does take arrays and it "overrides any
> adj value given" (see help). So if "pos" does, why not "adj"?
>> What is wrong with two or more text() calls?
> it's quicker and more beautiful.
> See my code at the end (last loop) of
> http://commons.wikimedia.org/wiki/Image:Sonnenstand.png


 	mapply( text, px, py, angle2date(jp), adj=adj, MoreArgs=list(cex=0.85))

is more to your liking?



> Thomas
>> NB: library(fortunes); fortune("WTFM") applies.
> This one I didn't get. They help to do it without a loop?
> ______________________________________________
> R-help at 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.

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901

More information about the R-help mailing list