Add R activity for algorithms