Skip to content

Commit

Permalink
Update lab 9 with how to relaunch posit cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjessen committed Nov 5, 2024
1 parent 7810254 commit 664ec77
Show file tree
Hide file tree
Showing 6 changed files with 217 additions and 214 deletions.
416 changes: 208 additions & 208 deletions docs/lab05.html

Large diffs are not rendered by default.

Binary file modified docs/lab06_files/figure-html/unnamed-chunk-27-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion docs/lab09.html
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@ <h3 class="anchored" data-anchor-id="getting-started">Getting Started</h3>
</section>
<section id="initial-hello-shiny-world" class="level3">
<h3 class="anchored" data-anchor-id="initial-hello-shiny-world">Initial “Hello Shiny World”</h3>
<p>Now let us get started on <code>Shiny</code>. First, find the console and enter:</p>
<p><em>IMPORTANT: If the Posit Cloud “hangs” for some reason, look in the upper right corner, there you will find a circle with three dots, click it and choose <code>Relaunch Project</code>. Also, you have limited ram, so in case you clutter your work environment, you may have to run a <code>rm(list = ls())</code> to clear your ram</em></p>
<p>Now, let us get started on <code>Shiny</code>! First, find the console and enter:</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(<span class="st">"shiny"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/primer_on_linear_models_in_r.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ <h3 class="anchored" data-anchor-id="data">Data</h3>
<div class="cell">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">run_simulation</span>(<span class="at">temp =</span> <span class="fu">c</span>(<span class="dv">15</span>, <span class="dv">20</span>, <span class="dv">25</span>, <span class="dv">30</span>, <span class="dv">35</span>))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>[1] 33.28554 38.50953 51.78287 64.54884 72.80202</code></pre>
<pre><code>[1] 37.51114 40.57495 54.96180 63.10703 71.33548</code></pre>
</div>
</div>
<p>Let’s just go ahead and create some data, we can work with. For this example, we take samples starting at 5 degree celsius and then in increments of 1 up to 50 degrees:</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/search.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion lab09.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ _Once you are done, click `OK` to close the `Options`_

### Initial "Hello Shiny World"

Now let us get started on `Shiny`. First, find the console and enter:
_IMPORTANT: If the Posit Cloud "hangs" for some reason, look in the upper right corner, there you will find a circle with three dots, click it and choose `Relaunch Project`. Also, you have limited ram, so in case you clutter your work environment, you may have to run a `rm(list = ls())` to clear your ram_

Now, let us get started on `Shiny`! First, find the console and enter:

```{r}
#| echo: true
Expand Down

0 comments on commit 664ec77

Please sign in to comment.