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.
12312 + 21 32 - 16 10 * 11
Note that each new operation starts on the new line.
Swipe to start coding
Using basic math operations, perform the next calculations:
30 + 24
.50 - 36
.19 * 7
.
Click button below the code to check the solution of this task.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Summarize this chapter
Explain the code in file
Explain why file doesn't solve the task
Awesome!
Completion rate improved to 12.5
Hello, R!
Swipe to show menu
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.
12312 + 21 32 - 16 10 * 11
Note that each new operation starts on the new line.
Swipe to start coding
Using basic math operations, perform the next calculations:
30 + 24
.50 - 36
.19 * 7
.
Click button below the code to check the solution of this task.
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 12.5single