For this it would be really convenient to be able to save the notebook as a text of WL language. There they can be called as executable scripts. So what I would like to do is develop WL scripts in the notebook environment on the workstation, with consideration for the fact that they will be run without a front end, and save them to the Pi environment. This can certainly be done in Python or C, but I'm interested in doing it in WL also. So I can develop code in my workstation environment - far more powerful than the Pi - but store the results in or even work out of the memory in the Pi. Also I have the Pi configured so its file system is shared. In this case, I have a Raspberry Pi running headless with remote shell functionality from Windows over my local network. Clearly I am following WRI's lead in this - they are certainly promoting WL as a language which transcends its usage in Mathematica. I am experimenting with the idea of Wolfram Language as a more general tool. This worked, but perhaps there is a better way for me too accomplish this. Give that a try and let me know if it's something that works with your architecture, That's something that I am just suggesting but don't have the setup to test. One may have to wrap UsingFrontEnd around the NotebookEvaluate call. This is to use the function NotebookEvaluate on the notebook pointing its argument to the notebook 's file path. m file as I described) on the raspberry pi even though it does not have a FrontEnd open associated with it. m file.Īnother possible approach to doing what you are describing might be to actually execute a notebook (and by pass the saving as a. m file in the approach above you can set them not to be Initialization Cells and then they will not end up in the resulting. By the way, any Input cells that you do not want to have included in the autosaved. But I'd argue and ask why one would want to do that when one can work directly and document as one goes along in a notebook. If you don't need a notebook directly then you can program a. I typically stay away from Workbench since I like to use the full arsenal of possibilities that notebooks afford me. Finance, Statistics & Business Analysis.Wolfram Knowledgebase Curated computable knowledge powering Wolfram|Alpha. Wolfram Universal Deployment System Instant deployment across cloud, desktop, mobile, and more. Wolfram Data Framework Semantic framework for real-world data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |