[Rd] Error in documentation for ?legend

POLITZER-AHLES, Stephen [CBS] stephen.politzerahles at polyu.edu.hk
Sat Mar 25 00:39:46 CET 2017


To whom it may concern:


The help page for ?legend refers to a `title.cex` parameter, which suggests that the function has such a parameter. As far as I can tell, though, it doesn't; here's an example:


> plot(1,1)
> legend("topright",pch=1, legend="something", title="my legend", title.cex=2)
Error in legend("topright", pch = 1, legend = "something", title = "my legend",  :
  unused argument (title.cex = 2)


This issue appears to have been discussed online before (e.g. here's a post from 2011 mentioning it: http://r.789695.n4.nabble.com/Change-the-text-size-of-the-title-in-a-legend-of-a-R-plot-td3482880.html) but I'm not sure if anyone ever reported it to R developers.


Is it possible for someone to update the ?legend documentation page so that it doens't refer to a parameter that isn't usable?


Best,

Steve Politzer-Ahles


---
Stephen Politzer-Ahles
The Hong Kong Polytechnic University
Department of Chinese and Bilingual Studies
http://www.mypolyuweb.hk/~sjpolit/<http://www.mypolyuweb.hk/%7Esjpolit/>


[http://mlm.polyu.edu.hk/PolyU80_Email_Signature.png]

www.polyu.edu.hk/80anniversary<http://www.polyu.edu.hk/80anniversary>

Disclaimer:\ \ This message (including any attachments) ...{{dropped:19}}



More information about the R-devel mailing list