[datatable-help] What does the L stand for

Timothée Carayol timothee.carayol at gmail.com
Tue Nov 29 17:09:31 CET 2011


It is equivalent to 'as.integer(42)'. See for example
http://cran.r-project.org/doc/manuals/R-lang.html#Constants

On Tue, Nov 29, 2011 at 4:04 PM, Farrel Buchinsky <fjbuch at gmail.com> wrote:
> In the following examples, what does the "L" stand for. How could I have
> found out without bothering you for what is probably a simple matter
>
> DT[,z:=42L]                # add new column by reference
> DT[,z:=NULL]               # remove column
> DT["a",v:=42L]             # subassign v by reference
>
> Farrel Buchinsky
>
>
>
> _______________________________________________
> datatable-help mailing list
> datatable-help at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
>


More information about the datatable-help mailing list