{
#load data
data(selection_files)
# save 'Raven' selection tables in the temporary directory
out <- lapply(1:2, function(x)
writeLines(selection_files[[x]], con = file.path(tempdir(), names(selection_files)[x])))
# try drag and drop selection files into Raven (shouldn't work)
# now convert files
to_sound_selection(sound.file.path = tempdir(),
sound.file.col = "Begin Path", path = tempdir())
# try drag and drop into Raven again (should work now)
}
Run the code above in your browser using DataLab