CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

R For SAS Users

Afficher le cours

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.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de 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(___)
Modifier et exécuter le code