<document exts="r" langs="R">

<item name="options" wrap="0" xml_format="1"> 
</item>

<item name="keywords" type="keywords" color="keywords" fontstyle="bold">
\b(FALSE|Inf|NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|NaN|NextMethod|TRUE|UseMethod|apply|break|else|for|for|function|if|in|lapply|next|repeat|switch|tapply|while)\b</item>

<item name="keywords2" type="keywords" color="keywords" fontstyle="bold">
\b(array|complex|matrix|library)\b
</item>


<item name="types" type="keywords" color="type">
\b(logical|integer|real|complex|character|raw)\b</item>

<item name="class" type="item" color="class">\bC[A-Za-z]+\b</item>

<item name="operator" type="item" color="operator" fontstyle="bold">[=\+\*\/\(\)\[]|]</item>

<item name="include" type="item" color="include" fontstyle="italic">^#include</item>

<item name="label" type="item" color="label" fontstyle="bold">^[a-zA-Z_][a-zA-Z0-9_]*\:$</item>

<item name="preproc" type="item" color="preproc" fontstyle="italic">^#.*</item>

<item name="quotes" type="item" color="quotes">("[^\"]*")</item>

<item name="char" type="item" color="quotes">('[^']*')</item>

<item name="single comment" type="item" color="single comment" fontstyle="italic">#.*</item>

<item name="mcomment-start" type="mcomment-start" color="mcomment-start" fontstyle="italic">/\*</item>

<item name="mcomment-end" type="mcomment-end">\*/</item>

<item name="cm_mult" type="comment">/*%s*/</item>

<item name="cm_single" type="comment">#%s</item>

</document>