############## ## ## ## R Basics ## ## ## ############## ## Operating RStudio and entering simple data 27+64 # run this simple calculation through the Console dog <- c(7,9,5,6,2) # input lists of values, assigning each list a name cat <- c(5,3,6,9,7) fish <- c(3,2,7,3,4) other <- c(1,3,2,1,4) dog # view the values in each list by 'calling' the list name cat fish other pet<-c(dog,cat,fish,other) # combine the lists into a single list of values pet # view the values in the combined list sum(pet) # sum up all the values in the combined list