Therneau, Terry M., Ph.D.
2014-May-07 12:21 UTC
[Rd] precedence (was 'historical NA question')
Hadley asked about the Blue book; my shelf still has the earlier brown book Becker and Chambers, 1984, S: An interactive environment for data analysis and graphics. The manual page for precedence is $ component select %x special operator - unary minus : sequence operator ^ ** exponentiation * / mult/div + - add/sub < > <= >= == != logical ! not & | and/or <- -> assignment Terry Therneau
luke-tierney at uiowa.edu
2014-May-07 14:40 UTC
[Rd] precedence (was 'historical NA question')
On Wed, 7 May 2014, Therneau, Terry M., Ph.D. wrote:> Hadley asked about the Blue book; my shelf still has the earlier brown book > Becker and Chambers, 1984, S: An interactive environment for data analysis > and graphics. > > The manual page for precedence is > > $ component select > %x special operator > - unary minus > : sequence operator > ^ ** exponentiation > * / mult/div > + - add/sub > < > <= >= == != logical > ! not > & | and/or > <- -> assignment >which did lead to some head scratching after plotting exp(-x^2) :-) luke> Terry Therneau > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Luke Tierney Chair, Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics and Fax: 319-335-3017 Actuarial Science 241 Schaeffer Hall email: luke-tierney at uiowa.edu Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu
On 5/7/14, 5:21 AM, Therneau, Terry M., Ph.D. wrote:> Hadley asked about the Blue book; my shelf still has the earlier brown book > Becker and Chambers, 1984, S: An interactive environment for data > analysis and graphics.Historically interesting, but there was never a guarantee that Version 3 of S (the "blue book") was back-compatible with earlier versions. We gave users some help in "getting on the road" to converting, that was all (see Appendix 4 to the blue book). For that one brief moment, we felt free to innovate. John> > The manual page for precedence is > > $ component select > %x special operator > - unary minus > : sequence operator > ^ ** exponentiation > * / mult/div > + - add/sub > < > <= >= == != logical > ! not > & | and/or > <- -> assignment > > Terry Therneau > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel