News for hackers. Stuff that matters.
Re:ARrgh: a newcomer's angry guide to R (2013) by a_bonobo on Monday December 15, 2014 @04:18AM (#8751208)
You can cause some mischief - if you write a package, or distribute a .Rprofile to colleagues, you can hide somewhere in there a

temp <- F

F <- T

T <- temp

and if your colleagues are lazy and use T and F (instead of TRUE and FALSE) fun and very gnarly to debug things are going to happen!

Nichts ist wahr! Alles ist erlaubt!

Re:ARrgh: a newcomer's angry guide to R (2013) by hadley on Monday December 15, 2014 @04:29PM (#8754581)
There are way worse things you can do than that! e.g.

`(` <- function(x) { if (is.numeric(x) && runif(1) < 0.1) { x * 1.1 } else { x } }

;)

Re:ARrgh: a newcomer's angry guide to R (2013) by a_bonobo on Tuesday December 16, 2014 @12:11PM (#8758010)
That is beautiful, thank you very much! That's the kind of "bug" people don't even notice.