Learn R Programming

pragma (version 0.1.3)

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

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.

Arguments

Details

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

References

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

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

Examples

Run this code
  # See \code{\link{setPragma}} 

Run the code above in your browser using DataLab