From wdunlap at tibco.com  Fri Jan 20 18:16:42 2017
From: wdunlap at tibco.com (William Dunlap)
Date: Fri, 20 Jan 2017 09:16:42 -0800
Subject: [Rd] How to handle INT8 data
In-Reply-To: <20170120143335.GE9661@aphp.fr>
References: <20170120143335.GE9661@aphp.fr>
Message-ID: <CAF8bMcbB6mnDv=enrh8KYjXhRzUX1uaSdp2Ly9=DFv-ST5CRuw@mail.gmail.com>

If these are identifiers, store them as strings.  If not, what sort of
calculations do you plan on doing with them?
Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Fri, Jan 20, 2017 at 6:33 AM, Nicolas Paris <nicolas.paris at aphp.fr> wrote:
> Hello r users,
>
> I have to deal with int8 data with R. AFAIK  R does only handle int4
> with `as.integer` function [1]. I wonder:
> 1. what is the better approach to handle int8 ? `as.character` ?
> `as.numeric` ?
> 2. is there any plan to handle int8 in the future ? As you might know,
> int4 is to small to deal with earth population right now.
>
> Thanks for you ideas,
>
> int8 eg:
>
>      human_id
> ----------------------
>  -1311071933951566764
>  -4708675461424073238
>  -6865005668390999818
>   5578000650960353108
>  -3219674686933841021
>  -6469229889308771589
>   -606871692563545028
>  -8199987422425699249
>   -463287495999648233
>   7675955260644241951
>
> reference:
> 1. https://www.r-bloggers.com/r-in-a-64-bit-world/
>
> --
> Nicolas PARIS
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] How to handle INT8 data
William Dunlap