Fixed broken R references.