Subject: loading draw fails in Maxima-console of 5.31.2
From: Leo Butler
Date: Tue, 12 Nov 2013 01:52:20 GMT
> From: Martin Kraska <kraska at fh-brandenburg.de>
> Date: Tue, 12 Nov 2013 00:34:01 +0100
>
> Leo,
>
> removing the files solved the issue. Thank you for your help.
>
> This means that it is not safe to use different Maxima installations in
> parallel unless they have different maxima_userdir.
>
> Is there sort of cleanup option for maxima_userdir from within Maxima?
Martin, glad to help.
I don't believe that there is a way to clean the object files from
maxima_objdir (not maxima_userdir) entirely within Maxima.
Here is how it could be done from within Maxima, assuming there is a
(ba)sh shell available:
system(printf(false,"find '~a' -type f | grep draw | xargs rm -f", maxima_objdir));
If you put in a feature request on sourceforge, I'll try to look at
porting a version of cl-fad in the next month or so. Then all the
filesystem work could be done entirely within Maxima without 'system'.
Leo