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

Swipe um das Menü anzuzeigen

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.

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 1

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

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.

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 1
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt