Skip to content

Commit 6a0460c

Browse files
plotlyBook changed to plotly_book
1 parent 1e6481f commit 6a0460c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ <h2><span class="header-section-number">1.5</span> Run code examples</h2>
492492
<p>This book contains many code examples in an effort to teach the art and science behind creating interactive web-based graphics using <strong>plotly</strong>. To see the actual interactive result of the code (rather than a video or static version), you may want to run the code examples in a suitable computational environment. Visit <a href="http://bit.ly/plotly-book-cloud" class="uri">http://bit.ly/plotly-book-cloud</a> for a cloud-based instance of RStudio with all the required software to run the code examples in this book. Most, if not all of these code examples assume you have the <strong>plotly</strong> package loaded:</p>
493493
<pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(plotly)</code></pre>
494494
<p>Within some chapters, there may be examples that assume packages we loaded during a previous example. If you’d like to avoid this situation, please load the</p>
495-
<pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(plotlyBook)</code></pre>
495+
<pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(plotly_book)</code></pre>
496496
<p>If you’d like to run examples on your local machine (instead of RStudio Cloud), you can install all the necessary R packages with:</p>
497497
<pre class="sourceCode r"><code class="sourceCode r"><span class="cf">if</span> (<span class="op">!</span><span class="kw">require</span>(remotes)) <span class="kw">install.packages</span>(<span class="st">&quot;remotes&quot;</span>)
498498
remotes<span class="op">::</span><span class="kw">install_github</span>(<span class="st">&quot;cpsievert/plotly_book&quot;</span>)</code></pre>

0 commit comments

Comments
 (0)