## First setup a connection to a virtual device
my_device <- demo_adf()
## List all entries in the disk's root:
list_adf_entries(my_device)
## List all entries on the disk as a vector of `virtual paths`:
list_adf_entries(my_device, recursive = TRUE)
## List all entries on the disk as a nested list:
list_adf_entries(my_device, recursive = TRUE, nested = TRUE)
close(my_device)
Run the code above in your browser using DataLab