s-news
[Top] [All Lists]

Unexpected behavior of !

To: s-news@lists.biostat.wustl.edu
Subject: Unexpected behavior of !
From: Dennis Fisher <fisher@plessthan.com>
Date: Sat, 19 Jul 2008 06:02:25 -0700
Colleagues:

In S-Plus 8.0.4 (Linux), the command:
!is.R()
yields the following response:
Badly placed ()'s.

If I enter: 

{ !is.R() }

I get the desired response:

[1] T


If I enter:

is.R()

I also get the desired response:

[1] F


Can anyone explain why I need {} ?

Dennis



Dennis Fisher MD

P < (The "P Less Than" Company)

Phone: 1-866-PLessThan (1-866-753-7784)

Fax: 1-415-564-2220

www.PLessThan.com


<Prev in Thread] Current Thread [Next in Thread>