Skip to content

Suggestion for example run #1

@erex

Description

@erex

In make.simulation() and perhaps elsewhere, there is example code. Part of that code asks user to create path leading to empty directory where transect shape files can be written. I have had several queries asking what is to be provided here. The example code might be made more robust if the following lines are added:

#Edit the pathway below to point to an empty folder where the
#transect shapefile will be saved
shapefile.pathway <- "C:/..."
if (dir.exists(shapefile.pathway)) {
  if (length(list.files(shapefile.pathway))>0 ) print("Directory not empty")
} else {
  dir.create(shapefile.pathway)  
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions