Learn R Programming

ff (version 4.0.4)

vecprint: Print beginning and end of big vector

Description

Print beginning and end of big vector

Usage

vecprint(x, maxlength = 16, digits = getOption("digits"))
 # S3 method for vecprint
print(x, quote = FALSE, …)

Arguments

x

a vector

maxlength

max number of elements for printing

digits

see format

quote

see print

see print

Value

a list of class 'vecprint' with components

subscript

a list with two vectors of subscripts: vector begin and vector end

example

the extracted example vector as.character including seperator

sep

the row seperator ":"

See Also

matprint

Examples

Run this code
# NOT RUN {
  vecprint(10000:1)
# }

Run the code above in your browser using DataLab