When I run the following code in RStudio the output is returned in the console, but it doesn\'t save as a value in the global environment - instead, it returns as a NULL value.