Learn R Programming

highlight (version 0.4.7)

getStyleFile: helper function to get a style file

Description

helper function to get a style file

Usage

getStyleFile(name = "default", extension = "css")

Arguments

name
the name of the style file to look for
extension
the file extension (css, sty, or xterm)

Value

the name of the first file that is found, or NULL

Details

the search goes as follows: first the current working directory then the directory ~/.R/highlight, then the stylesheet directory in the installed package