Object not found in R

Hi! I am new to R. I installed RStudio - version 4.1.3 but when i type my command in the script & run it, i get the error message 'object not found'

You might want to post your script if it isn't too long. The odds are that you have left something undefined, or that you haven't opened a library.

If you look in the Environment tab in the upper right pane of RStudio, you will see that it is empty. That shows that you have not made any objects yet. You have not run the first three lines of your code. Place the cursor on each line and then press the keys CTRL +ENTER. You should then see the objects listed in the Environment tab.

Thank you. It worked!!!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.