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

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)

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

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

PBSmodelling

GUI Tools Made Easy: Interact with Models and Explore Data

v2.68.8
GPL (>= 2)
Authors
Jon T. Schnute [aut], Alex Couture-Beil [aut], Rowan Haigh [aut, cre], Nicholas Boers [ctb], Anisa Egeli [ctb], A. R. Kronlund [ctb], Steve Martell [ctb], Norm Olsen [ctb]
Initial release
2019-03-12

We don't support your browser anymore

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