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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/print.function.R

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)

xterm256 documentation built on May 21, 2017, 12:56 a.m.

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