R preprocessor