Skip to contents

This function takes a vector of species names and writes them to a .dat file. The file will be written to the location specified by the name argument. If the file already exists, it will be overwritten. The file format is plain text, with each line terminated by a newline character.

Usage

species_names(species_names = NULL, name = "Problem")

Arguments

species_names

a vector with the names of species

name

The name of the output file

Value

.dat file. This function is used for the side-effect of writing values to a file.

Author

Derek Corcoran

Examples


species_names(species_names = c("Spp1", "Spp2"))
#>           used (Mb) gc trigger  (Mb) max used  (Mb)
#> Ncells 1782507 95.2    3301388 176.4  3301388 176.4
#> Vcells 3176507 24.3   10146329  77.5 10117639  77.2
file.remove("Problem.dat")
#> [1] TRUE