Skip to content

Commit 0da9579

Browse files
committed
Update the book
1 parent e90694b commit 0da9579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/environments.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ <h2><span class="header-section-number">6.1</span> Environments</h2>
358358
</div>
359359
<p>R uses a similar system to save R objects. Each object is saved inside of an environment, a list-like object that resembles a folder on your computer. Each environment is connected to a <em>parent environment</em>, a higher-level environment, which creates a hierarchy of environments.</p>
360360
<p>You can see R’s environment system with the <code>parenvs</code> function in the devtools package. <code>parenvs(all = TRUE)</code> will return a list of the environments that your R session is using. The actual output will vary from session to session depending on which packages you have loaded. Here’s the output from my current session:</p>
361-
<pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(devtools)
361+
<pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(pryr)
362362
<span class="kw">parenvs</span>(<span class="dt">all =</span> <span class="ot">TRUE</span>)
363363
## label name
364364
## 1 &lt;environment: R_GlobalEnv&gt; &quot;&quot;

0 commit comments

Comments
 (0)