# Open a connection to a virtual device:
my_device <- demo_adf(write_protected = FALSE)
## List files in directory 'Devs':
list_adf_entries(my_device, "Devs")
## remove the file 'system-configuration' from the virtual device
remove_adf_entry(my_device, "devs/system-configuration")
## List files in directory 'Devs' again:
list_adf_entries(my_device, "Devs")
## close the connection to the virtual device
close(my_device)
Run the code above in your browser using DataLab