bedatadriven / renjin

JVM-based interpreter for the R language for the statistical analysis.
https://www.renjin.org
GNU General Public License v2.0
513 stars 82 forks source link

getwd() begins with / on windows which differs from GNU R #549

Open perNyfelt opened 2 years ago

perNyfelt commented 2 years ago

getwd() starts with / on windows but in GNU R it does not.

Renjin 3.5-beta76
Copyright (C) 2019 The R Foundation for Statistical Computing
Copyright (C) 2019 BeDataDriven
Using native reference BLAS libraries.
> print(getwd())
[1] "/D:/Development/renjin-3.5-beta76/bin"

GNU R:

R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
> print(getwd())
print(getwd())
[1] "D:/Development/renjin-3.5-beta76/bin"