Skip to content
Back to formatted view

Raw Message

Message-ID: <506A6E31.7080106@xtra.co.nz>
Date: 2012-10-02T04:31:45Z
From: Rolf Turner
Subject: Basic question about: <<- and method start with dot.
In-Reply-To: <CAN31xkfXsi_bsiNr2h6dxvbkEH9FBqnUMAGoZdWeS71ANzekBA@mail.gmail.com>

On 02/10/12 17:00, Fabrice Tourre wrote:
> Dear list,
>
> When I read some source code, I find lot of place used  symbol <<- , e.g.
>
> lastTime <<- newTime;
>
> What is the meaning here?
?"<<-"

See also:

     require("fortunes")
     fortune("<<-")
>
> Also, I find some method with the name start with dot, e.g.
>
> .RowStandardizeCentered = function(x) {
> 	div = sqrt( rowSums(x^2) );
> 	div[ div == 0 ] = 1;
> 	return( x/div );
> }
>
> What is the special meaning for the method name start with a dot?
?ls
Note the argument "all.names".

     cheers,

         Rolf Turner