Finding environmental variables

For R, we can use the Sys.getenv() function to find all environmental variables:

To save space, only the top part is shown. Again, different users will get different results. For Python, we use the following commands:

import syssys.path 

The top part of the output is shown here:

For Julia, we use the ENV function, as in the following:

For Octave, we can use the getenv() function, as shown:

>> getenv('path') 

Get Hands-On Data Science with Anaconda now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.