some R tips on environment variables