showRes: Show Results of Expression Represented by Text

Description Usage Arguments Value Author(s) Examples

View source: R/supportFuns.r

Description

Evaluate the supplied expression, reflect it on the command line, and show the results of the evaluation.

Usage

1
showRes(x, cr=TRUE, pau=TRUE)

Arguments

x

an R expression to evaluate

cr

logical: if TRUE, introduce extra carriage returns

pau

logical: if TRUE, pause after expression reflection and execution

Value

The results of the expression are return invisibly.

Author(s)

Jon T. Schnute, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC

Examples

1
2
3
local(envir=.PBSmodEnv,expr={
  showRes("x=rnorm(100)",pau=FALSE)
})

PBSmodelling documentation built on Dec. 27, 2017, 5:03 p.m.