Add R solution