PBSmodelling (version 2.68.8)

showRes: Show Results of Expression Represented by Text

Description

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

Usage

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

Value

The results of the expression are return invisibly.

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

Author

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

Examples

Run this code
local(envir=.PBSmodEnv,expr={
  showRes("x=rnorm(100)",pau=FALSE)
})

Run the code above in your browser using DataCamp Workspace