From 5399d1e39dcccf7da7aa51ec031b30c2f2b2fcab Mon Sep 17 00:00:00 2001
From: Carine Rey <carine.rey@ens-lyon.fr>
Date: Tue, 27 Sep 2022 19:42:43 +0200
Subject: [PATCH] add Antoine's comments

---
 session_1/session_1.Rmd | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/session_1/session_1.Rmd b/session_1/session_1.Rmd
index 029b813..554d355 100644
--- a/session_1/session_1.Rmd
+++ b/session_1/session_1.Rmd
@@ -248,7 +248,7 @@ To call mathematical function you must with `function_name(<number>)`.
 For example, for the natural logarithm:
 
 ```{r calculatorstep8, include=TRUE}
-log(1)  # natural logarithm
+log(2)  # natural logarithm
 ```
 
 ```{r calculatorstep9, include=TRUE}
@@ -294,7 +294,7 @@ You can use the `↑` (upper arrow) key to edit the last command and go through
 
 - inequality (read as "is not equal to")
 ```{r calculatorstep14, include=TRUE}
-1 != 2 
+1 != 2
 ```
 
 - less than
@@ -337,7 +337,7 @@ Rstudio provides lots of such shortcuts (you can display them by pressing `alt`
 We assign a value to `x`, `x` is called a variable.
 
 ```{r VandAstep1, include=TRUE}
-x <- 1/40
+x <- 1 / 40
 
 ```
 
@@ -389,7 +389,7 @@ x + z
 How to test the type of the variable?
 ```{r VandAstep20, include=TRUE}
 is.character(z)
-b <- 1/40
+b <- 1 / 40
 b
 typeof(b)
 ```
@@ -402,7 +402,7 @@ This is called autocompletion, don't hesitate to spam your `tabulation` key as y
 
 Variable names can contain **letters**, **numbers**, **underscores** and **periods**.
 
-They **cannot start with a number** nor contain spaces at all.
+They **cannot start with a number or an underscore** nor contain spaces at all.
 
 Different people use different conventions for long variable names, these include:
 
-- 
GitLab