Sponsored links: Algebra eBooks

### Related

maxima_userdir;

_N;

Calculate

##### maxima_userdir-save

maxima_userdir;

save("/usr/share/tom...

Calculate

##### maxima_userdir-stringout

/* Newton, Joule, Wat...

maxima_userdir;

stringout("/usr/share...

Calculate

maxima_userdir;

Calculate

##### maxima_userdir

? maxima_userdir;

Calculate

maxima_userdir;

_N;

Calculate

##### maxima_userdir-save

maxima_userdir;

save("/usr/share/tom...

Calculate

##### maxima_userdir-stringout

/* Newton, Joule, Wat...

maxima_userdir;

stringout("/usr/share...

Calculate

maxima_userdir;

Calculate

##### maxima_userdir

? maxima_userdir;

Calculate

### maxima_userdir

Run Example
```(%i1)? maxima_userdir;

-- System variable: maxima_userdir
`maxima_userdir' names a directory which Maxima searches to find
Maxima and Lisp files.  (Maxima searches some other directories as
well; `file_search_maxima' and `file_search_lisp' are the complete
lists.)

The initial value of `maxima_userdir' is a subdirectory of the
user's home directory, if Maxima can locate it; otherwise Maxima
makes a guess about a suitable directory.

`maxima_userdir' may be assigned a string which names a directory.
However, assigning to `maxima_userdir' does not automatically
change `file_search_maxima' and `file_search_lisp'; those
variables must be changed separately.

(%o1)                                true
(%i2) ```
Run Example
```maxima_userdir;
(%o1)                     /usr/share/tomcat6/.maxima
(%i2) x;
(%o2)                                  x
(%i3) x:22;
(%o3)                                 22
(%i4) save("/usr/share/tomcat6/a", x);
(%o4)                        /usr/share/tomcat6/a
(%i5) x:11;
(%o5)                                 11
(%i6) x;
(%o6)                                 11
(%i7) load("/usr/share/tomcat6/a");
(%o7)                        /usr/share/tomcat6/a
(%i8) x;
(%o8)                                 22
(%i9) ```
Run Example
```maxima_userdir;
(%o1)                     /usr/share/tomcat6/.maxima
(%i2) ```

### Related Help

Help for Maxima_userdir