# define image directory
wd_images_ID <- system.file("pictures/sample_images", package = "camtrapR")
wd_images_ID_copy <- paste(getwd(), "sample_species_images", sep = "/")
species_to_copy <- "VTA" # = Viverra tangalunga, Malay Civet
specImagecopy <- getSpeciesImages(species = species_to_copy,
inDir = wd_images_ID,
outDir = wd_images_ID_copy,
stationSubfolders = FALSE,
emptyOutDir = FALSE
)
Run the code above in your browser using DataLab