File: head_print.Rd

package info (click to toggle)
r-cran-igraph 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,044 kB
  • sloc: ansic: 204,981; cpp: 21,711; fortran: 4,090; yacc: 1,229; lex: 519; sh: 52; makefile: 8
file content (40 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download
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
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/printr.R
\name{head_print}
\alias{head_print}
\title{Print the only the head of an R object}
\usage{
head_print(
  x,
  max_lines = 20,
  header = "",
  footer = "",
  omitted_footer = "",
  ...
)
}
\arguments{
\item{x}{The object to print, or a callback function. See
\code{\link[=printer_callback]{printer_callback()}} for details.}

\item{max_lines}{Maximum number of lines to print, \emph{not}
including the header and the footer.}

\item{header}{The header, if a function, then it will be called,
otherwise printed using \code{cat}.}

\item{footer}{The footer, if a function, then it will be called,
otherwise printed using \code{cat}.}

\item{omitted_footer}{Footer that is only printed if anything
is omitted from the printout. If a function, then it will be called,
otherwise printed using \code{cat}.}

\item{...}{Extra arguments to pass to \code{print()}.}
}
\value{
\code{x}, invisibly.
}
\description{
Print the only the head of an R object
}