On Friday, 23 Mar 2018 at 07:55, stardiviner wrote:
> I got the following error after executing src block:
>
> ```
>
> error: invalid call to script /usr/share/octave/4.2.2/m/help/ans.m
I see the same. Not sure why this is happening but you can fix it but
adding any line after the saveas statemen
I got the following error after executing src block:
```
error: invalid call to script /usr/share/octave/4.2.2/m/help/ans.m
```
Here is my code:
#+begin_src octave :results file :dir "data/images" :file "figure1.png"
clf ();surf (peaks);saveas (1,"figure1.png");#+end_src