added R loader