Table of Contents

About

How to manage the output stream of R.

Management

Configuration

  • Invisible functions return values which can be assigned, but do not print when they are not assigned.

example:

invisible(.libPaths())

Function

  • cat
cat("nico","gerard","\n",sep=" ")
  • sprintf
cat(sprintf("Current working dir: %s\n", wd))
  • print
print("nico")
  • message
message(sprintf("Current working dir: %s\n", wd))