[Rcpp-commits] r3391 - in pkg/int64: . R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Nov 19 10:49:52 CET 2011


Author: romain
Date: 2011-11-19 10:49:52 +0100 (Sat, 19 Nov 2011)
New Revision: 3391

Modified:
   pkg/int64/NAMESPACE
   pkg/int64/R/int64.R
   pkg/int64/man/int64-class.Rd
   pkg/int64/man/uint64-class.Rd
Log:
no need for S4 methods format, as.data.frame, etc ...

Modified: pkg/int64/NAMESPACE
===================================================================
--- pkg/int64/NAMESPACE	2011-11-19 09:36:30 UTC (rev 3390)
+++ pkg/int64/NAMESPACE	2011-11-19 09:49:52 UTC (rev 3391)
@@ -6,9 +6,9 @@
 
 exportMethods( 
     show, length, "[", Arith, Compare, Summary, Math, Math2,  
-    as.character, format, names, "names<-", 
+    as.character, names, "names<-", 
     
-    as.data.frame, binary, unique, sort, is.na, c
+    binary, unique, sort, is.na, c
 )
 export( 
     int64, uint64, as.int64, as.uint64, numeric_limits

Modified: pkg/int64/R/int64.R
===================================================================
--- pkg/int64/R/int64.R	2011-11-19 09:36:30 UTC (rev 3390)
+++ pkg/int64/R/int64.R	2011-11-19 09:49:52 UTC (rev 3391)
@@ -213,17 +213,10 @@
 setMethod( "as.character", "uint64", function(x,...){
   .Call( int64_as_character_int64, x, TRUE)  
 })
-setGeneric("as.data.frame")
 as.data.frame.int64 <- as.data.frame.uint64 <- as.data.frame.vector
-setMethod( "as.data.frame", "int64" , as.data.frame.int64  )
-setMethod( "as.data.frame", "uint64", as.data.frame.uint64 )
-         
 format.int64 <- format.uint64 <- function(x, ...){
     as.character(x)   
 }
-setGeneric("format")
-setMethod( "format", "int64", format.int64 )
-setMethod( "format", "uint64", format.uint64 )
 
 numeric_limits <- function( type ){
     .Call( int64_limits, type )

Modified: pkg/int64/man/int64-class.Rd
===================================================================
--- pkg/int64/man/int64-class.Rd	2011-11-19 09:36:30 UTC (rev 3390)
+++ pkg/int64/man/int64-class.Rd	2011-11-19 09:49:52 UTC (rev 3391)
@@ -12,11 +12,9 @@
 \alias{as.character,int64-method}
 \alias{names,int64-method}
 \alias{names<-,int64-method}
-\alias{as.data.frame,int64-method}
 \alias{Compare,ANY,int64-method}
 \alias{Compare,int64,ANY-method}
 \alias{Compare,int64,int64-method}
-\alias{format,int64-method}
 \alias{length,int64-method}
 \alias{show,int64-method}
 \alias{Summary,int64-method}
@@ -52,11 +50,9 @@
     \item{Arith}{\code{signature(e1 = "int64", e2 = "ANY")}: ... }
     \item{Arith}{\code{signature(e1 = "int64", e2 = "int64")}: ... }
     \item{as.character}{\code{signature(x = "int64")}: ... }
-    \item{as.data.frame}{\code{signature(x = "int64")}: ... }
     \item{Compare}{\code{signature(e1 = "ANY", e2 = "int64")}: ... }
     \item{Compare}{\code{signature(e1 = "int64", e2 = "ANY")}: ... }
     \item{Compare}{\code{signature(e1 = "int64", e2 = "int64")}: ... }
-    \item{format}{\code{signature(x = "int64")}: ... }
     \item{length}{\code{signature(x = "int64")}: ... }
     \item{Summary}{\code{signature(x = "int64")}: ... }
     \item{Math}{\code{signature(x = "int64")}: ... }

Modified: pkg/int64/man/uint64-class.Rd
===================================================================
--- pkg/int64/man/uint64-class.Rd	2011-11-19 09:36:30 UTC (rev 3390)
+++ pkg/int64/man/uint64-class.Rd	2011-11-19 09:49:52 UTC (rev 3391)
@@ -12,11 +12,9 @@
 \alias{as.character,uint64-method}
 \alias{names,uint64-method}
 \alias{names<-,uint64-method}
-\alias{as.data.frame,uint64-method}
 \alias{Compare,ANY,uint64-method}
 \alias{Compare,uint64,ANY-method}
 \alias{Compare,uint64,uint64-method}
-\alias{format,uint64-method}
 \alias{length,uint64-method}
 \alias{show,uint64-method}
 \alias{Summary,uint64-method}
@@ -52,11 +50,9 @@
     \item{Arith}{\code{signature(e1 = "uint64", e2 = "ANY")}: ... }
     \item{Arith}{\code{signature(e1 = "uint64", e2 = "uint64")}: ... }
     \item{as.character}{\code{signature(x = "uint64")}: ... }
-    \item{as.data.frame}{\code{signature(x = "uint64")}: ... }
     \item{Compare}{\code{signature(e1 = "ANY", e2 = "uint64")}: ... }
     \item{Compare}{\code{signature(e1 = "uint64", e2 = "ANY")}: ... }
     \item{Compare}{\code{signature(e1 = "uint64", e2 = "uint64")}: ... }
-    \item{format}{\code{signature(x = "uint64")}: ... }
     \item{length}{\code{signature(x = "uint64")}: ... }
     \item{Summary}{\code{signature(x = "uint64")}: ... }
     \item{Math}{\code{signature(x = "uint64")}: ... }



More information about the Rcpp-commits mailing list