Hello,
I am having problems with 'write_data': it appears not to be writing
data to a file. I don't see any obvious problem with the following
example, which is essentially copied from section 1.5.7 of Ted
Woollett's tutorial. Any pointers appreciated.
$ uname -a
Linux etch 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686
GNU/Linux
$ maxima
Maxima 5.10.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) t: makelist(makelist(i+j,i,0,2),j,0,3);
(%o1) [[0, 1, 2], [1, 2, 3], [2, 3, 4], [3, 4, 5]]
(%i2) write_data(t,"test.data");
(%o2) write_data([[0, 1, 2], [1, 2, 3], [2, 3, 4], [3, 4, 5]],
test.data)
(%i3) printfile("test.data");
Could not find `test.data' using paths in file_search_usage (combined
values:
[/usr/share/maxima/5.10.0/share/##.{usg,texi},
/usr/share/maxima/5.10.0/share/\
{affine,algebra,algebra/charsets,algebra/solver,calculus,combinatorics,contrib\
,contrib/boolsimp,contrib/descriptive,contrib/diffequations,contrib/diffequati\
ons/tests,contrib/distrib,contrib/ezunits,contrib/format,contrib/gentran,contr\
ib/gentran/test,contrib/Grobner,contrib/lurkmathml,contrib/maximaMathML,contri\
b/mcclim,contrib/numericalio,contrib/pdiff,contrib/prim,contrib/rand,contrib/s\
arag,contrib/simplex,contrib/simplex/Tests,contrib/solve_rec,contrib/state,con\
trib/stringproc,contrib/unit,contrib/Zeilberger,diffequations,lbfgs,linearalge\
bra,integequations,integration,macro,matrix,misc,numeric,orthopoly,physics,sim\
plification,sym,tensor,tensor/tests,trigonometry,utils,vector}/##.{usg,texi},
/usr/share/maxima/5.10.0/doc/##.{usg,texi}] )
-- an error. Quitting. To debug this try debugmode(true);
Thanks,
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.