1 | initial version |
See the very similar question about R here.
Cell 1:
%maxima
a:25
Cell 2:
A = maxima('a')._sage_()
A+2
yielding 27. Is this what you are looking for? (Note that if the answer includes any dummy variables like z266
then you may need to make Sage var('z266')
-type declarations.)