MulaiMulai sekarang secara gratis

Reading from a path

What if your CSV file is saved in a different folder?

You'll need to define the path before using read.csv().

Latihan ini adalah bagian dari kursus

Introduction to Importing Data in R

Lihat Kursus

Petunjuk latihan

  • Define the path to swimming_pools.csv, which is located in the "datasets" folder of the home directory.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Define the path
path <- ___("___", "___", "___")

path
Edit dan Jalankan Kode