# Pluto noobie questions

**URL:** <https://discourse.julialang.org/t/pluto-noobie-questions/86887>\
**Category:** General Usage\
**Tags:** pluto\
**Created:** [September 7, 2022, 1:16pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887 "2022-09-07T13:16:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [September 7, 2022, 1:16pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/1 "2022-09-07T13:16:20Z")

</div>

How does one hide cell output of the cell in Pluto? Putting `;` at the end of the line does not seem to work.  
Also, when I have created a notebook for the first time and a ran a cell with `using`, Pluto initiated system-wide package update. Is it going to happen for every notebook I create. How do I suppress it?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [September 7, 2022, 1:24pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/2 "2022-09-07T13:24:50Z")

</div>

Could you show how `;` isn’t working? This is what I see:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/7/27b2eb653f33f007e369c689e6ca91f8214b216c.png)

(first cell without `;` produces an output, second line with `;` doesn’t)

Also what do you mean by “system-wide package update”? Pluto by default uses its own package management system, which creates a notebook-specific environment that packages get added to when you do `using`. You can read more about it here:

> **[🎁 Package management](https://github.com/fonsp/Pluto.jl/wiki/%F0%9F%8E%81-Package-management)**
>
> 🎈 Simple reactive notebooks for Julia. Contribute to fonsp/Pluto.jl development by creating an account on GitHub.

It also discusses how you “suppress” this feature, if that’s what you’re after:

> **Any notebook that calls [`Pkg.activate`](https://pkgdocs.julialang.org/v1/api/#Pkg.activate) will not use Pluto’s package management,** and run in ‘backwards compatibility mode’. The `Pkg.activate` call should be placed directly in your notebook code: it is detecting using the same syntax analysis used for reactivity.

---

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [September 7, 2022, 1:31pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/3 "2022-09-07T13:31:03Z")

</div>

> [@nilshg](#):
>
> Could you show how `;` isn’t working?

Thanks for quick response. I did load some data from a file:

```julia
begin
sdata14 = load("scors14.jld2");
Jvals14, γvals14, Δεs14, szcorss14 = sdata14["Jvals"], sdata14["γvals"], sdata14["Δεs"], sdata14["szcorss"];
end

```

And then it has shown the tuple in the last line. (It is very large, so I don’t show it here). Should I put “;” after `end`?

I am also trying to use `Interact` together with `Plots` inside the pluto notebook, however I get

> Failed to show value:  
> Invalid dependency (must be a url, file, or AssetRegistry path): /home/grigorii/.julia/packages/InteractBase/h8Fwe/src/…/assets/all.js

---

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [September 7, 2022, 1:35pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/4 "2022-09-07T13:35:25Z")

</div>

Looks like putting “;” after the hole `begin end` block worked. I still have a problem with Interact and Plots though.

---

<div class="post-metadata">

**Author:** ![Tomas\_Pevny](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomas_pevny/32/25466_2.png) [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Post date:** [September 7, 2022, 1:36pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/5 "2022-09-07T13:36:18Z")

</div>

Why do you need Interact in Pluto? Pluto contains its own set of primitives and it is interactive out of the box.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [September 7, 2022, 1:36pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/6 "2022-09-07T13:36:26Z")

</div>

Yes the `;` has to always be on the last line:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/0/306cacc123d33230b199818d6794d51f73d2b3ff.png)

This isn’t Pluto specific though:

![image](https://global.discourse-cdn.com/julialang/original/3X/2/e/2ec2de88489467b9df222561f0ff9fe2ca98a9d2.png)

---

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [September 7, 2022, 1:39pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/7 "2022-09-07T13:39:51Z")

</div>

> [@Tomas\_Pevny](#):
>
> Why do you need Interact in Pluto? Pluto contains its own set of primitives and it is interactive out of the box.

I don’t know. I’ve run into some problems with the jupyter installed on my working computer and decided to give Pluto a try. Thought it should work similar to jupyter.

If you say I don’t need to use Interact, could you send me the link to the place in the docs where `Pluto`-s counterpart of `Interact` is discussed?

---

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [September 7, 2022, 2:15pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/8 "2022-09-07T14:15:52Z")

</div>

Now I have the following problem: I load some file with the code using `using Revise` and `includet("name_of_file.jl")`. The file contains its own `using Pkgs` line, and I have a problem with one of the packages used by the file:

> ERROR: ArgumentError: Package StaticArrays not found in current path:
> 
> - Run `import Pkg; Pkg.add("StaticArrays")` to install the StaticArrays package.

If I try to run this line, Pluto says it will disable the internal package management.  
So, I’ve opened a new REPL instance and ran

```julia
import Pluto
Pluto.activate_notebook_environment("pluto_notebook.jl")
] add StaticArrays

```

where “pluto\_notebook.jl” is the name of my pluto notebook I am playing around with.  
Nothing happened. I even tried to stop Pluto and start it again, however I still get an error that `StaticArrays` are not installed. (Although it is installed in my global environment.)

---

<div class="post-metadata">

**Author:** ![j-fu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/j-fu/32/11373_2.png) [@j-fu](https://discourse.julialang.org/u/j-fu)\
**Post date:** [September 7, 2022, 2:50pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/9 "2022-09-07T14:50:04Z")

</div>

If you have a larger project where you use pluto as a frontend, consider setting up an environment outside of the Pluto notebook which you activate in the first Pluto cell.

I wrote up some ideas on this [here](https://j-fu.github.io/marginalia/julia/project-workflow/).

---

<div class="post-metadata">

**Author:** ![barucden](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barucden/32/26154_2.png) [@barucden](https://discourse.julialang.org/u/barucden)\
**Post date:** [September 8, 2022, 1:21pm UTC](https://discourse.julialang.org/t/pluto-noobie-questions/86887/10 "2022-09-08T13:21:14Z")

</div>

Check out [PlutoUI.jl](https://github.com/JuliaPluto/PlutoUI.jl).
