Added new tutorial for R
New Macro added to define new R funcitons like methods in TRInterface
code parse by astyle