catln: Concatenate and Print with End-Of-Line

Description Usage Arguments Value Note Author(s) See Also Examples

Description

Outputs the objects and EOF, concatenating the representations.

Usage

1
2
catln(..., file = "", sep = " ", fill = FALSE, labels = NULL,
  append = FALSE, EOL = "\n")

Arguments

...

R objects (see cat 'Details' for the types of objects allowed).

file

see read.table.

sep

see read.table.

fill

see read.table.

labels

see read.table.

append

see read.table.

EOL

Object to append (default is end-of-line \n).

Value

None (invisible NULL).

Note

This function is mostly useful for printing values to console in plain R. RStudio always ends the line for cat.

Author(s)

Andrej Blejec andrej.blejec@nib.si

See Also

cat

Examples

1
2
3
catln("Two numbers:",1,2)
# Ended by tab and dot
catln("Number:",1,EOL="\t.")

ablejec/amisc documentation built on May 10, 2019, 4:13 a.m.