saveOutput: Save Output (Printed Results) from a function

Description Usage Arguments Details Value Examples

Description

saveOutput Takes print function calls from function and returns output in desired format.

Usage

1
2
saveOutput(..., file = NULL, append = FALSE, type = c("output",
  "message"), split = FALSE)

Arguments

x:

first value for multiplication

y:

second value for multiplication

Details

This function takes every print call in the function called as a parameter and adds the argument of the print function to a character vector and returns the output in specified file format.

Value

the result of x multiplied by y

Examples

1
mult(2,3)

cfrusso/ARR documentation built on May 28, 2019, 11:04 p.m.