Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

osink

Opens and Closes a sink Connection


Description

Opens and closes a sink connection.

Usage

osink(file, suffix, append=FALSE)

csink(file)

Arguments

file

File name. No sink is done if it has the value NULL.

suffix

Suffix which should be put next to the file name

append

Optional logical indicating whether console output should be appended to an already existing file. See argument append in base::sink.

See Also

Examples

## The function 'osink' is currently defined as
function (file, suffix){
    if (!is.null(file)) {
        base::sink(paste0(file, suffix), split=TRUE)
       }
  }

## The function 'csink' is currently defined as
function (file){
    if (!is.null(file)) {
        base::sink()
        }
  }

CDM

Cognitive Diagnosis Modeling

v7.5-15
GPL (>= 2)
Authors
Alexander Robitzsch [aut, cre], Thomas Kiefer [aut], Ann Cathrice George [aut], Ali Uenlue [aut]
Initial release
2020-03-10 14:19:21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.