R stores both data and output from data analysis (as well as everything else) in objects.
Creating a new object is as easy as typing the object's name and assigning a value to it. There are multiple ways to assign values to objects in R.
As in many computer languages you can use the equal sign (=) as an assignment operator. Copy the following code into your script, and run it.
#assign the value of the square root of 100 to #the object, variable 'result' result=sqrt(100)