Re: [R] !0 + !0 == !0 - !0

2013-03-18 Thread Ben Bolker
Bert Gunter gunter.berton at gene.com writes:

 
 But this has nothing to do with 7.31 and everything to do with operator
 precedence and automatic casting  from integers to logical and vice-versa.
 
 I also think it fair to say that all (??) languages have these sorts of
 malapropisms due to operator precedence.
 

  Maybe FAQ 7.31 was referred to not for its direct relevance but as
a measure of the old-hand-ness of the people who will get the joke.
I have to admit it took me a minute ...

  Ben Bolker

__
R-help@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.


Re: [R] !0 + !0 == !0 - !0

2013-03-18 Thread Charles Berry
Ben Bolker bbolker at gmail.com writes:


   Maybe FAQ 7.31 was referred to not for its direct relevance but as
 a measure of the old-hand-ness of the people who will get the joke.


   !1i|!0

Chuck

__
R-help@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.


Re: [R] !0 + !0 == !0 - !0

2013-03-18 Thread Sam Steingold
 * Bert Gunter thagre.ore...@trar.pbz [2013-03-17 20:30:56 -0700]:

 I also think it fair to say that all (??) languages have these sorts
 of malapropisms due to operator precedence.

Except for those languages which do _not_ have operator precedence.
Like, e.g., Lisp.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://openvotingconsortium.org http://jihadwatch.org
http://palestinefacts.org http://mideasttruth.com http://camera.org
DRM access management == prison freedom management.

__
R-help@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.


Re: [R] !0 + !0 == !0 - !0

2013-03-18 Thread Bert Gunter
Sam:

Yes.  Good point. (which is why my ?? was necessary).

-- Bert

On Mon, Mar 18, 2013 at 10:05 AM, Sam Steingold s...@gnu.org wrote:

  * Bert Gunter thagre.ore...@trar.pbz [2013-03-17 20:30:56 -0700]:
 
  I also think it fair to say that all (??) languages have these sorts
  of malapropisms due to operator precedence.

 Except for those languages which do _not_ have operator precedence.
 Like, e.g., Lisp.

 --
 Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X
 11.0.11103000
 http://www.childpsy.net/ http://openvotingconsortium.org
 http://jihadwatch.org
 http://palestinefacts.org http://mideasttruth.com http://camera.org
 DRM access management == prison freedom management.




-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

[[alternative HTML version deleted]]

__
R-help@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.


[R] !0 + !0 == !0 - !0

2013-03-17 Thread Charles Berry


Hi all,

The subject line is TRUE.

Today I accidentally typed rnorm(!0).

My old eyes took a minute to focus clearly enough to see what I really typed and
why I got '!0' random numbers instead of '10' random normal numbers.

If the subject line is disturbing, be assured that this is TRUE:

 !0^2 == !0 * !0  #  ;-)

Anyway, I hope the hands who have been around long enough to know FAQ 7.31 by
heart and know why precedence of operators matters have a laugh.

Best,

Chuck

__
R-help@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.


Re: [R] !0 + !0 == !0 - !0

2013-03-17 Thread Patrick Burns

Chuck,

What an absolutely wonderful R Infernoism.

Pat

On 18/03/2013 02:17, Charles Berry wrote:



Hi all,

The subject line is TRUE.

Today I accidentally typed rnorm(!0).

My old eyes took a minute to focus clearly enough to see what I really typed and
why I got '!0' random numbers instead of '10' random normal numbers.

If the subject line is disturbing, be assured that this is TRUE:

  !0^2 == !0 * !0  #  ;-)

Anyway, I hope the hands who have been around long enough to know FAQ 7.31 by
heart and know why precedence of operators matters have a laugh.

Best,

Chuck

__
R-help@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.



--
Patrick Burns
pbu...@pburns.seanet.com
twitter: @burnsstat @portfolioprobe
http://www.portfolioprobe.com/blog
http://www.burns-stat.com
(home of:
 'Impatient R'
 'The R Inferno'
 'Tao Te Programming')

__
R-help@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.


Re: [R] !0 + !0 == !0 - !0

2013-03-17 Thread Bert Gunter
But this has nothing to do with 7.31 and everything to do with operator
precedence and automatic casting  from integers to logical and vice-versa.

I also think it fair to say that all (??) languages have these sorts of
malapropisms due to operator precedence.

-- Bert

On Sun, Mar 17, 2013 at 7:17 PM, Charles Berry ccbe...@ucsd.edu wrote:



 Hi all,

 The subject line is TRUE.

 Today I accidentally typed rnorm(!0).

 My old eyes took a minute to focus clearly enough to see what I really
 typed and
 why I got '!0' random numbers instead of '10' random normal numbers.

 If the subject line is disturbing, be assured that this is TRUE:

  !0^2 == !0 * !0  #  ;-)

 Anyway, I hope the hands who have been around long enough to know FAQ 7.31
 by
 heart and know why precedence of operators matters have a laugh.

 Best,

 Chuck

 __
 R-help@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.




-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

[[alternative HTML version deleted]]

__
R-help@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.