indentation, fixing error on free of ds_namev, returning R_NilValue instead of exit(0), handling case when R_NilValue is returned in getVal