Adding R::getAssocRow and tests. Closes #324.