Get startedGet started for free

Load dataset and get details

For this exercise, you are going to load the abalone dataset in the native R native binary format .RData using the load() function. You will use the ls() command before and after loading the dataset to confirm that the abalone dataset was loaded to your global environment. This is similar to working with the WORK library in SAS. You can learn more about both of these functions using the help() command.

This exercise is part of the course

R For SAS Users

View Course

Exercise instructions

  • List the objects currently in the global environment.
  • Load the "abalone.RData" data file.
  • List the objects in the global environment again.
  • Get help on the load() and ls() functions.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# List the objects in global environment
ls()

# Load the "abalone.RData" dataset
load(___)

# List objects in global environment again 
___

# Learn more about the load function
help(___)

# Learn more about the ls function
help(___)
Edit and Run Code