[Rcpp-commits] r3393 - in pkg/int64: . R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Nov 21 22:20:02 CET 2011
Author: romain
Date: 2011-11-21 22:20:01 +0100 (Mon, 21 Nov 2011)
New Revision: 3393
Modified:
pkg/int64/DESCRIPTION
pkg/int64/R/int64.R
Log:
implementing setAs as per gabor's suggestion
Modified: pkg/int64/DESCRIPTION
===================================================================
--- pkg/int64/DESCRIPTION 2011-11-19 12:53:44 UTC (rev 3392)
+++ pkg/int64/DESCRIPTION 2011-11-21 21:20:01 UTC (rev 3393)
@@ -1,8 +1,8 @@
Package: int64
Type: Package
Title: 64 bit integer types
-Version: 1.0.0
-Date: 2011-10-21
+Version: 1.1.0
+Date: 2011-11-21
Author: Romain Francois, sponsored by the Google Open Source Programs Office
Maintainer: Romain Francois <romain at r-enthusiasts.com>
Description: 64 bit integer types
Modified: pkg/int64/R/int64.R
===================================================================
--- pkg/int64/R/int64.R 2011-11-19 12:53:44 UTC (rev 3392)
+++ pkg/int64/R/int64.R 2011-11-21 21:20:01 UTC (rev 3393)
@@ -307,4 +307,6 @@
setMethod( "c", "int64", c_int64( as.int64, int64 ) )
setMethod( "c", "uint64", c_int64( as.uint64, uint64 ) )
+setAs("character", "int64", function(from) as.int64(from))
+setAs("character", "uint64", function(from) as.uint64(from))
More information about the Rcpp-commits
mailing list