CancerRegistryOfNorway / nordcansurvival

Other
0 stars 0 forks source link

nordcansurvival directory separator character #3

Closed BjarteAAGNES closed 3 years ago

BjarteAAGNES commented 3 years ago

nordcansurvival directory separator character

Friday, Huidong experience some new issues with paths, which could be related to use of the normalizePath()

In the nordcansurvival package the following should be followed:

1) If using normalizePath() set the argument winslash = "/"

2) If hard-coding the directory separator character; use the forward slash (/) character.

The forward slash is the only recognized directory separator character on Unix systems, and is the AltDirectorySeparatorChar on Windows.

Stata will interpret the forward slash correctly as a path delimiter on any system.