R cube