Tried the suggested output format settings and the system-generated messages still appeared following the solutions. I'm not sure why the "write!" function is so rigid and inflexible not allowing some basic formatting....!
On Tuesday, November 23, 2021 at 12:15:02 PM UTC-6 [email protected] wrote: > > Tried running the fricas in batch mode as following: > > > fricas -nosman < file.input > file.out > > I remember that I used something like > > echo ")read file.input" | fricas -nosman > file.out > > But that changes only whether the input commands will be printed or not. > > > Is there a way to suppress all messages (complete silent mode) and output > > only the solutions? > > Not that I know. > > However, the results in the FriCAS-book are generated using a little > trick. It uses ioHook to print something before and after the output. In > that way you can easily single out the stuff that you actually want. > > If you do not need 2d output, you can also try > > (202) -> setFormat!(Format1D)$JFriCASSupport > > (204) n + a > --FORMAT:BEG:Format1D > n^r+a > --FORMAT:END:Format1D > > Switch that output off via > > )set output formatted off > > Oh, but maybe it could help if you simply do > > > )set output algebra off > some computation commands > )set output algebra on > your output command > END_OF_INPUT_FILE > > Let me know what helps. > > Ralf > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/f89f535d-c940-4aad-8fb2-82e3801f7d44n%40googlegroups.com.
