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

Scorri per mostrare il menu

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.

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 1

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

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.

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 1
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt