4
$\begingroup$

Is there a way to take an arbitrary Mathematica snippet (say from Emacs) and to have it be evaluated by Mathematica Online (i.e., start a new notebook in a browser and evaluate the snippet)?

$\endgroup$
3
  • $\begingroup$ You can write an APIFunction then ping that. It might not be cheap though as the Wolfram Cloud is almost prohibitively expensive for casual use. $\endgroup$
    – b3m2a1
    Jul 16, 2018 at 5:48
  • 2
    $\begingroup$ I believe you're looking for wolframscript (unless you want to continue working in the notebook session). Try something like wolframscript -cloud -code 'StringReverse["Hello"]' - that will evaluate in the cloud on your account. It also doesn't appear to use Cloud Credits. $\endgroup$
    – Carl Lange
    Jul 17, 2018 at 22:48
  • 1
    $\begingroup$ By the way, if you're writing an emacs package to evaluate Mathematica snippets, ping me when you're done! There are a handful of syntax highlighters but no org-babel integration that I know of, for instance. $\endgroup$
    – Carl Lange
    Jul 17, 2018 at 22:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.