Skip to content
Prev 17365 / 29559 Next

spGRASS6 issue

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/02/13 12:55, Roger Bivand wrote:
Hi Roger

this has bittan many users, including myself, as it is a little aux contraire to R, as here 11 is
acepted as integer in most circumstances.

Would it be possible to use a different check for integer e.g.

if(as.integer(x) == x) then {x <- as.integer(x)} else {ERROR}

I have the feeling that would be more in line with the treating in R of different numerical
storage modes.

Cheers,

Rainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJREkrsAAoJENvXNx4PUvmC4YYIAPJnH4dmYQZTCJewHCGwW3zD
szbWSeWB7Yye2DxP/7ADMQUL6buR7ZAAQWpQDjps1u6o82inoRUQ0JiUHeXGB/oW
MHMiYFlcvK6+WU6/ZIhL8uKsyUeDscyDUfuLOeyuNpsLe1Y8RvinQWtmrwefhLVZ
4sjDrtSXJs0YBKRdHyhtmIkCUzXfra7VvbuOA5ehb76t0Re66Dvmzha1VvgBSa1Y
oOP/zlzj+AqK/RrJX2Jlt2YrdU97wsb80MeHlkIX7h33qKriaqf9okcURPyMkIib
pR+qED66Fjz916qnyn8RWiI8lRSg64uYyWbgGyx2OlsyRNxfvD7dvG45ZnuqrLQ=
=X7qL
-----END PGP SIGNATURE-----