|
132 | 132 | .quarto-layout-cell-subref figcaption {
|
133 | 133 | font-style: italic;
|
134 | 134 | }
|
| 135 | + .quarto-figure > figure { |
| 136 | + width: 100%; |
| 137 | + } |
| 138 | + .quarto-figure-left > figure > p { |
| 139 | + text-align: left; |
| 140 | + } |
| 141 | + .quarto-figure-center > figure > p { |
| 142 | + text-align: center; |
| 143 | + } |
| 144 | + .quarto-figure-right > figure > p { |
| 145 | + text-align: right; |
| 146 | + } |
135 | 147 | figure > p:empty {
|
136 | 148 | display: none;
|
137 | 149 | }
|
|
147 | 159 | <body data-bs-spy="scroll" data-bs-target="#quarto-toc-sidebar">
|
148 | 160 | <div id="quarto-search-results"></div>
|
149 | 161 | <header id="quarto-header" class="headroom fixed-top"><nav class="quarto-secondary-nav py-2 d-lg-none d-md-block " data-bs-toggle="collapse" data-bs-target="#quarto-sidebar" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"><div class="container-fluid d-flex justify-content-between">
|
150 |
| - <h1 class="quarto-secondary-nav-title mb-0 fs-5 d-inline">Appendix A — Installing R and RStudio</h1> |
| 162 | + <h1 class="quarto-secondary-nav-title mb-0 fs-3 d-inline">Appendix A — Installing R and RStudio</h1> |
151 | 163 | <button type="button" class="quarto-btn-toggle btn d-lg-none py-0 px-1 d-inline-block border-0 ">
|
152 | 164 | <i class="bi bi-chevron-right"></i>
|
153 | 165 | </button>
|
154 | 166 | </div>
|
155 | 167 | </nav></header><!-- /navbar/sidebar --><div class="container-fluid quarto-container d-flex flex-column" id="quarto-content">
|
156 | 168 | <div class="row flex-fill">
|
157 | 169 | <div id="quarto-sidebar" class="col col-12 col-lg-3 d-lg-flex px-0 pt-0 sidebar collapse sidebar-navigation">
|
158 |
| - <nav class="ms-lg-auto py-2 floating overflow-scroll "><div class="px-3 pt-lg-3 text-center"> |
| 170 | + <nav class="ms-lg-auto py-2 floating overflow-scroll "><div class="px-3 pt-lg-2 text-center"> |
159 | 171 | <h4 class="sidebar-title text-center mt-1 mb-0 py-0">Hands-On Programming with R</h4>
|
160 | 172 | <div class="sidebar-tools-main mt-1">
|
161 | 173 | <a href="https://github.com/jjallaire/hopr/" title="Source Code" class="sidebar-tool px-1"><i class="bi bi-github"></i></a>
|
@@ -341,7 +353,7 @@ <h4 class="sidebar-title text-center mt-1 mb-0 py-0">Hands-On Programming with R
|
341 | 353 | </nav>
|
342 | 354 | </div>
|
343 | 355 | <div class="col mx-auto col-sm-12 col-md-9 col-lg-7 px-lg-4">
|
344 |
| -<main><header id="title-block-header"><h1 class="title d-none d-lg-block display-6">Appendix A — Installing R and RStudio</h1> |
| 356 | +<main><header id="title-block-header"><h1 class="title d-none d-lg-block display-7">Appendix A — Installing R and RStudio</h1> |
345 | 357 | </header><p>To get started with R, you need to acquire your own copy. This appendix will show you how to download R as well as RStudio, a software application that makes R easier to use. You’ll go from downloading R to opening your first R session.</p>
|
346 | 358 | <p>Both R and RStudio are free and easy to download.</p>
|
347 | 359 | <section class="level2" data-number="A.1"><h2 data-number="A.1" class="anchored" id="how-to-download-and-install-r">
|
@@ -419,7 +431,7 @@ <h4 class="sidebar-title text-center mt-1 mb-0 py-0">Hands-On Programming with R
|
419 | 431 | </div>
|
420 | 432 | </div>
|
421 | 433 | <p>When you open RStudio, a window appears with three panes in it, as in <a href="#fig:layout">fig. <span>A.1</span></a>. The largest pane is a console window. This is where you’ll run your R code and see results. The console window is exactly what you’d see if you ran R from a UNIX console or the Windows or Mac GUIs. Everything else you see is unique to RStudio. Hidden in the other panes are a text editor, a graphics window, a debugger, a file manager, and much more. You’ll learn about these panes as they become useful throughout the course of this book.</p>
|
422 |
| -<div id="fig:layout" class="quarto-figure" style="text-align: center;"> |
| 434 | +<div id="fig:layout" class="quarto-figure quarto-figure-center"> |
423 | 435 | <figure class="figure"><p><img src="images/hopr_aa01.png" class="img-fluid figure-img"></p>
|
424 | 436 | <p></p>
|
425 | 437 | <figcaption aria-hidden="true" class="figure-caption">Figure A.1: The RStudio IDE for R.</figcaption><p></p>
|
|
0 commit comments