Hi,
Please, I installed the RStudio Version 1.2.1335 and R version 3.6.1on my MacBook Pro.
However, I keep receiving the "Error: object 'a' not found" despite defining the object.
I type "a", then "print(a)" also but its the same outcome.
I try doing other things like finding log(8) and 2^3 and it returned the values without an error message.
I downloaded the library (dslabs) and I called it at the beginning, not sure if that is necessary though.
Also when I type in ls() to see the object saved in the workspace, it returns
I just figured out i was typing in wrong place.
I was typing in the upper left panel in RStudio and expected the result to be in the console.
It's working fine now.
You've probably figured this out by now, but typing in the upper left (the script pane, by default), is actually a good idea once you get going! You can use Cmd-Enter (or the little green Run button) to automatically send your current line or selection to the Console to be executed.
For a lot more about why writing all your code in script files is a good idea, see here: