This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/warning.html
warning {base}R Documentation

Warning Messages

Description

warning prints the message given as its argument.

Usage

warning(message)

Examples

if(eigenval < 1.e-7) warning("system near singular")

[Package base version 0.60 ]