Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Hello, R! | Basic Syntax and Operations
TEST R COURSE
course content

Contenu du cours

TEST R COURSE

TEST R COURSE

1. Basic Syntax and Operations
2. Vectors

book
Hello, R!

Welcome to the introductory R course! During this course, you will learn R's basic syntax, operations, and data types.

Unlike many other programming languages, there is no need to use the dedicated function to output values. For example, we can start our R Journey with the most straightforward and basic arithmetic.

In R, you can perform basic arithmetic operations using standard operators. + for addition, - for subtraction, * for multiplication, and / for division. For example, let's calculate some math expressions.

123
12 + 21 32 - 16 10 * 11
copy

Note that each new operation starts on the new line.

Tâche

Swipe to start coding

Using basic math operations, perform the next calculations:

  1. 30 + 24.
  2. 50 - 36.
  3. 19 * 7.

Click button below the code to check the solution of this task.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 1
toggle bottom row

book
Hello, R!

Welcome to the introductory R course! During this course, you will learn R's basic syntax, operations, and data types.

Unlike many other programming languages, there is no need to use the dedicated function to output values. For example, we can start our R Journey with the most straightforward and basic arithmetic.

In R, you can perform basic arithmetic operations using standard operators. + for addition, - for subtraction, * for multiplication, and / for division. For example, let's calculate some math expressions.

123
12 + 21 32 - 16 10 * 11
copy

Note that each new operation starts on the new line.

Tâche

Swipe to start coding

Using basic math operations, perform the next calculations:

  1. 30 + 24.
  2. 50 - 36.
  3. 19 * 7.

Click button below the code to check the solution of this task.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 1
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt