Fix a bug where the enviroment is not specified by default for older versions or R. <2.16.0