print.function: print functions using syntax highlighting and the xterm...

Description Usage Arguments Value Author(s) See Also Examples

Description

This function overrides print.function from the base package to allow highlight to perform syntax highlighting. The highlighted syntax is rendered using the xterm renderer.

Usage

1
print.function(x, useSource = TRUE, detective = getOption("detective"), ...)

Arguments

x

function to print

useSource

logical. Should the source attribute be used if it exists.

detective

the detective highlight should use

...

Ignored

Value

The x argument is returned invisibly

Author(s)

Romain Francois <francoisromain@free.fr>

See Also

highlight renderer_xterm

Examples

1
2
3
4
5
6
7
	## Not run: 
		print( print.function )
		
		# auto printing works too
		print.function
	
## End(Not run)


Search within the xterm256 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.