When using Juno how can I control where the output of a command is produced?
Some commands such as 1+1 produce an output on the right side of the line on the main document,inlined.
Some other output the result only on the REPL, for example versioninfo().
How can I force Juno to change it?
For example I want the result of 1+1 (executed at the main document) on the REPL, and I want the result ot versioninfo() (executed on the main document) on the main document.
The difference you’re seeing is between printing results to stdout (which is what e.g. versioninfo() does), and returning a result (which is what 1+1 does).
You can change how results are shown via the “Result Display Mode” option:
One question.
if I want to hide the output of a line, I put semicolon at the end of a line in Julia REPL or Jupyter notebook. This doesnot seem to work in Juno. Any workaround?
Ok, there was a bug with the “Display results in the console” mode that caused the result to be displayed always (which is what you were getting at, I guess). Should be fixed with this commit.