Skip to content
Prev 33644 / 398513 Next

right assignment ("->") and functions

Hi again list.

Thanks for these replies.  I guess the issue is one of parsing units
being different from my expectations.  I saw a related issue in a
slightly different context a couple of days ago:


R> f1 <- function(a,b)
{a
-b}
R> f2 <- function(a,b)
{a-
 b}


...which (rightly) give very different results [the original bug took
me *hours* to find].

cheers

rksh

  
    
Message-ID: <200306230554.h5N5sw3O004726@r.hankin.sges.auckland.ac.nz>
In-Reply-To: <Pine.A41.4.44.0306222129280.37202-100000@homer30.u.washington.edu> (message from Thomas Lumley on Sun, 22 Jun 2003 21:32:46 -0700 (PDT))