Even inside a function?
It isnât that Pluto doesnât allow macros, itâs that Pluto doesnât show in the notebook whatever is written to the standard output or error. Those streams, instead, are shown in the terminal which started the notebook. The same happens with print
and println
functions, which arenât macros.
However the PlutoUI.jl
package offers the with_terminal
function to show the standard output inside the notebook:
3 Likes
No, but when I call a function, it says printf not defined, and the error mentions pluto.
Regards,
brett knoss
Privacy for your emails
There is both. When I tried to use pretty tables, there were no errors and it showed up in the terminal, but not on the screen. Can commands be entered in the terminal?
Iâll look into this.