Cmdstanr: don't use symlinks on windows?

Created on 24 Oct 2019  路  5Comments  路  Source: stan-dev/cmdstanr

Currently install_cmdstan installs the latest CmdStan and creates a symlink for it so it can just be referred to by cmdstan instead of the including the particular version number. This is convenient, but I've heard symlinks could be problematic on Windows. @rok-cesnovar do you know anything about this?

question

All 5 comments

Havent tried installing cmdstan via install_cmdstan() on Windows yet, but in general these simple symlinks should work.

The symlinks that dont usually work is when you are trying to dynamically link a .dll file via symlink. Will investigate. Assigning myself.

Thanks!

ln -s ${CS} essentially does a copy on Windows which I guess is fine. I will open a PR to cleanup some of the minor Windows issues. I am also wondering why is there a need for the symlink at all.

Thanks, and yeah i think you鈥檙e probably right to question using symlinks at all. if you want and have time feel free to remove the symlink usage in the package entirely.

We can close this one as we no longer use symlinks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrjohns picture andrjohns  路  6Comments

rok-cesnovar picture rok-cesnovar  路  12Comments

beyondpie picture beyondpie  路  8Comments

bnicenboim picture bnicenboim  路  9Comments

yizhang-yiz picture yizhang-yiz  路  4Comments