[Maxima] What are the magic performed by (cl-user::run)?
XeCycle at Gmail.com
Fri Apr 27 09:07:45 CDT 2012
XeCycle <XeCycle at Gmail.com> writes:
> I want to embed maxima in my common lisp program, i.e. calling
> maxima routines directly. I tried embeddable maxima, which works
> in most cases except with some packages, namely FFT. That one
> doesn't load. Some else are loadable with the ($load "vect")
> syntax. My normal maxima installation can load FFT via
> load(fft);, but cannot accept ($load "fft"), unless I do
> (cl-user::run) then to_lisp(); and type that. Seems the (run)
> did some magic? Starting maxima and return to lisp is not
> acceptable for my task, can I do what it did to setup my
> environment correctly?
Yup, found a workaround. Start maxima normally, to_lisp(), then
save the core image. Loading this core image afterwards works.
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
More information about the Maxima