LoslegenKostenlos starten

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.

Diese Übung ist Teil des Kurses

<Kurs>R For SAS Users</Kurs>
Kurs ansehen

Übungsanweisungen

  • 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.

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# 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(___)
Code bearbeiten und ausführen