Description Objects from the Class Slots Extends Methods Author(s) See Also Examples
Vector of signed 64 bit integers
Objects can be created by using the uint64
function,
by converting character vectors or integer vectors using the
as.uint64
function.
.Data
:list of integer vectors of length 2. Each uint64 number is coded as two integers.
NAMES
:Used for names of vectors. This is only being
used through the names
and names<-
functions.
Class "list"
, from data part.
Class "vector"
, by class "list", distance 2.
signature(x = "uint64")
: ...
signature(x = "uint64")
: ...
signature(e1 = "ANY", e2 = "uint64")
: ...
signature(e1 = "uint64", e2 = "ANY")
: ...
signature(e1 = "uint64", e2 = "uint64")
: ...
signature(x = "uint64")
: ...
signature(e1 = "ANY", e2 = "uint64")
: ...
signature(e1 = "uint64", e2 = "ANY")
: ...
signature(e1 = "uint64", e2 = "uint64")
: ...
signature(x = "uint64")
: ...
signature(x = "uint64")
: ...
signature(x = "uint64")
: ...
signature(x = "uint64")
: ...
signature(x = "uint64")
: ...
signature(x = "uint64")
: ...
Romain Francois. Sponsored the Google Open Source Programs Office.
as.uint64
to convert character or integer vectors.
uint64
to create new uint64
vectors of a given size.
The int64
class to represent signed 64 bit
integer vectors.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | x <- uint64( 4 )
# setting subsets
x[1:2] <- 1:2
x[3:4] <- c("123456789012345", "9876543219876")
x
# arithmetic operations
x * 2L
x + x
x - 3L
# logical operations
x < 3L
x != c( 1L, 2L )
# Summary operations
range( x )
min( x )
max( x )
length(x)
df <- data.frame( a = 1:4 )
df$b <- x
df
as.character( x )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.