pragma.package: Provides a pragma / directive / keyword syntax for R

Description Details Author(s) References Examples

Description

R is a functional language. All action taken are made through function calls. These calls are denoted by the use of parens – even when no arguments are necessary. Very often these parameterless functions are used to set some behaviour of the program, script or package. These abbreviated, argumentless functions are called pragmas ( or directives or keywords ).

This pragma syntax is non-essential. The same functionality can be used through the use of a standard function calls. What pragma mostly offers is a way for package authors to provide their users with a distinctive and clean syntax for adjusting package options.

Details

Package: pragma
Type: Package
Version: 0.1.3
Date: 2011-08-21
License: Decision Patterns
LazyLoad: yes

Author(s)

Christopher Brown

Maintainer: Christopher Brown <chris.brown@decisionpatterns.com>

References

http://en.wikipedia.org/wiki/Pragma

http://en.wikipedia.org/wiki/Directive_(programming)

Examples

1
  # See \code{\link{setPragma}} 

pragma documentation built on May 1, 2019, 8:18 p.m.