Probably, you found the answer already.
What I do NOT see in your command console the earlier statements like '> name <- "Mike Mackgrath"'. So earlier statement with 'name' is not executed. Select all the statements and try R. It will work.
------------------------------
Manash Sarma
------------------------------
Original Message:
Sent: Fri February 07, 2020 11:14 PM
From: Md Ashfaqul Alam Joarder
Subject: Debugging script in RStudio on Skills Network Labs
Hello : I've just started to learn R Programming on Skills Network Labs platform
I'm writing code in RScript as:
name <- "Username"
name <- "Mike Mackgrath"
print(name)
However, after running the script I'm getting following error:
>print(name)
Error in print(name) : object 'name' not found
Can anyone help me to resolve this problem.
------------------------------
Md Ashfaqul Alam Joarder
------------------------------
#GlobalAIandDataScience
#GlobalDataScience