Dear Greg,
I am trying to save neurons as swc format. It saved two neurons successfully, but encountered some errors while saving the third one.
This is the code I am running:
```
library(nat)
library(nat.nblast)
write.neurons(kcs20, "/tmp/", format="swc", Force=TRUE)
```
I got the following errors:
```
Error in basename(attr(n, "file")): a character vector argument expected
Traceback:
1. write.neurons(kcs20, "/tmp/", format = "swc", Force = TRUE)
2. write.neuron(n, dir = thisdir, file = files[nn], format = format,
. Force = Force, ...)
3. basename(attr(n, "file"))
```
do you have any idea what is the problem?