load R mode