Skip to content

Commit

Permalink
Added link to slideshow in index.
Browse files Browse the repository at this point in the history
  • Loading branch information
abner-hb committed Jun 11, 2024
1 parent cd34da1 commit c799b9f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/01_the_r_environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h2 data-number="1.2" class="anchored" data-anchor-id="why-isnt-everyone-a-user"
<section id="suggestions-for-learning-r" class="level2" data-number="1.3">
<h2 data-number="1.3" class="anchored" data-anchor-id="suggestions-for-learning-r"><span class="header-section-number">1.3</span> Suggestions for Learning <strong>R</strong></h2>
<ul>
<li>Learn interactively! Retype and experiment with lots of sample code; you won’t break it. These notes contain several code examples and you can find many more online.</li>
<li>Learn interactively! Retype and experiment with lots of sample code; you won’t break it. These notes contain many code examples and you can find many more online.</li>
<li>Don’t worry about getting errors. Even experienced <strong>R</strong> users make errors all the time. Besides, you can learn a lot from error messages.</li>
<li>Ask other <strong>R</strong> users for help.</li>
<li>Some useful links are:
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ <h1 class="title">Introduction to R</h1>

</header>

<p>Last modified: 2024-06-05</p>
<p>Last modified: 2024-06-11</p>
<section id="preface" class="level1 unnumbered">
<h1 class="unnumbered">Preface</h1>
<section id="who-are-this-notes-for" class="level2 unnumbered">
<h2 class="unnumbered anchored" data-anchor-id="who-are-this-notes-for">Who are this notes for?</h2>
<p>These notes are a intended for anyone that wants to use <strong>R</strong> but has little or no experience using it, and little or no experience in programming.</p>
<p>These notes are a intended for anyone that wants to use <strong>R</strong> but has little or no experience using it, and little or no experience in programming. These notes are self-contained and form the basis for in-person workshops hosted by CSCAR (see contact information below). During the workshops, we also use a slideshow based on these notes. This slideshow is available <a href="https://cscar.github.io/workshop-r-intro/slideshow.html">here</a>.</p>
</section>
<section id="creation-of-this-document" class="level2 unnumbered">
<h2 class="unnumbered anchored" data-anchor-id="creation-of-this-document">Creation of this document</h2>
Expand Down
4 changes: 2 additions & 2 deletions docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"href": "index.html#who-are-this-notes-for",
"title": "Introduction to R",
"section": "Who are this notes for?",
"text": "Who are this notes for?\nThese notes are a intended for anyone that wants to use R but has little or no experience using it, and little or no experience in programming."
"text": "Who are this notes for?\nThese notes are a intended for anyone that wants to use R but has little or no experience using it, and little or no experience in programming. These notes are self-contained and form the basis for in-person workshops hosted by CSCAR (see contact information below). During the workshops, we also use a slideshow based on these notes. This slideshow is available here."
},
{
"objectID": "index.html#creation-of-this-document",
Expand Down Expand Up @@ -53,7 +53,7 @@
"href": "01_the_r_environment.html#suggestions-for-learning-r",
"title": "1  The R Environment",
"section": "1.3 Suggestions for Learning R",
"text": "1.3 Suggestions for Learning R\n\nLearn interactively! Retype and experiment with lots of sample code; you won’t break it. These notes contain several code examples and you can find many more online.\nDon’t worry about getting errors. Even experienced R users make errors all the time. Besides, you can learn a lot from error messages.\nAsk other R users for help.\nSome useful links are:\n\nhttps://www.r-project.org: The R Home page, the central webpage for the R project. Here you will find links for downloading R, downloading additional packages for R, and almost everything else that you would like to know about the software or the people behind it.\nhttps://cran.r-project.org/web/views/: Task views summarize the most important packages involved in a subject field or analysis type.\nhttps://journal.r-project.org: The R Journal\nhttps://stats.stackexchange.com: Cross-Validated\nhttps://www.r-bloggers.com\nhttps://stats.idre.ucla.edu/r/: Institute for Digital Research and Education at UCLA\nhttps://socialsciences.mcmaster.ca/jfox/: John Fox’s home page\nhttps://sas-and-r.blogspot.com/: Examples of code to perform same task in SAS and R."
"text": "1.3 Suggestions for Learning R\n\nLearn interactively! Retype and experiment with lots of sample code; you won’t break it. These notes contain many code examples and you can find many more online.\nDon’t worry about getting errors. Even experienced R users make errors all the time. Besides, you can learn a lot from error messages.\nAsk other R users for help.\nSome useful links are:\n\nhttps://www.r-project.org: The R Home page, the central webpage for the R project. Here you will find links for downloading R, downloading additional packages for R, and almost everything else that you would like to know about the software or the people behind it.\nhttps://cran.r-project.org/web/views/: Task views summarize the most important packages involved in a subject field or analysis type.\nhttps://journal.r-project.org: The R Journal\nhttps://stats.stackexchange.com: Cross-Validated\nhttps://www.r-bloggers.com\nhttps://stats.idre.ucla.edu/r/: Institute for Digital Research and Education at UCLA\nhttps://socialsciences.mcmaster.ca/jfox/: John Fox’s home page\nhttps://sas-and-r.blogspot.com/: Examples of code to perform same task in SAS and R."
},
{
"objectID": "01_the_r_environment.html#how-to-get-r",
Expand Down
4 changes: 2 additions & 2 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Last modified: `r Sys.Date()`

## Who are this notes for? {.unnumbered}

These notes are a intended for anyone that wants to use **R** but has little or no
experience using it, and little or no experience in programming.
These notes are a intended for anyone that wants to use **R** but has little or
no experience using it, and little or no experience in programming. These notes are self-contained and form the basis for in-person workshops hosted by CSCAR (see contact information below). During the workshops, we also use a slideshow based on these notes. This slideshow is available [here](https://cscar.github.io/workshop-r-intro/slideshow.html).

## Creation of this document {.unnumbered}

Expand Down
5 changes: 5 additions & 0 deletions slideshow.html
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,11 @@ <h2>Object names have rules</h2>
<li class="fragment">Names can <em>not</em> include white spaces.</li>
<li class="fragment">If a name starts with a period <code>.</code>, it can <em>not</em> be followed by a digit.</li>
<li class="fragment">Names can <em>not</em> start with a number or an underscore <code>_</code>.</li>
</ul>
</section>
<section id="object-names-have-rules-1" class="slide level2">
<h2>Object names have rules</h2>
<ul>
<li class="fragment">Names are case-sensitive (<code>age</code>, <code>Age</code> and <code>AGE</code> are three different objects).</li>
<li class="fragment">Reserved words can <em>not</em> be used as names (<code>TRUE</code>, <code>FALSE</code>, <code>NULL</code>, <code>if</code>, …).</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions slideshow.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ Think of an integer, double it, add six, divide it in half, subtract the number
+ Names can *not* include white spaces.
+ If a name starts with a period `.`, it can *not* be followed by a digit.
+ Names can *not* start with a number or an underscore `_`.

## Object names have rules

+ Names are case-sensitive (`age`, `Age` and `AGE` are three different objects).
+ Reserved words can *not* be used as names (`TRUE`, `FALSE`, `NULL`, `if`, ...).

Expand Down

0 comments on commit c799b9f

Please # to comment.