# getGAUSSHome¶

## Purpose¶

Returns the full path to the GAUSS home directory.

## Format¶

g_home = getGAUSSHome
Returns: g_home (string) – full path to GAUSS home directory.

## Examples¶

### locate the GAUSS home directory¶

If you installed GAUSS in the directory, C:\gauss:

g_home = getGAUSSHome();
print g_home;

C:\gauss


// Create full path to dataset
f_name = getGAUSSHome() \$+ "examples/fueleconomy.dat";


getGAUSSHome() can be used to load and save files in directories that are relative to the GAUSS installation directory without knowing its exact location ahead of time. This can help to make programs that will run on multiple computers, using different paths without any changes to the code.
Functions __FILE_DIR