R_Code-1.r
Problem Statement
R_Code-1.r
R allows you to assign values to variables in three different ways.
Source Code
r
# Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 19 Mar 2026
# Repo: https://github.com/notamitgamer/bsc
# License: MIT
# R allows you to assign values to variables in three different ways.
# Write three lines of code assigning the string "R is fun" to a variable
# using Simple Assignment, Leftward Assignment, and Rightward Assignment.
simple = "R is fun"
left <- "R is fun"
"R is fun" -> right1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
● Author - Amit Dutta · Updated - 19 Mar 2026