Message about directory unavailable when fitting models with ulam()
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 35/100
Research direction
The repeated message comes from the Windows CMD call made while ulam() compiles and runs the Stan model, so start with the shell or system call that ulam() makes and check how it handles a UNC working directory. Reproduce by fitting a small model from a project on a UNC network path on Windows and count how often the message prints. Done when the path is handled without the warning or the extra delay.
Written by the indexing model from the issue text.
Description
When I fit a model with ulam(), I receive a message in the console that repeats about 12 times (I have removed the "directory path" which is the path to my RStudio project file). :
'\
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory
I am using RStudio 2026.05.1 build 225 and R version 4.5.0.
I still receive results so this does not appear to affect something (or I'm not aware of what it's affecting). It is strange behavior because it takes 30 seconds or so to print this repeated message after the model has finished running.
- Dominant language
- R
- Stars
- 2.4k
- Forks
- 632
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rmcelreath/rethinking
-
Typo: p.381Open
Difficulty 1/5 Under an hour Newbie friendliness 95/100
rmcelreath/rethinking#482 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
rmcelreath/rethinking#476 ·
-
Typo: p.302Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
rmcelreath/rethinking#475 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
rmcelreath/rethinking#474 ·
-
Comma splice: p.557Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
rmcelreath/rethinking#471 ·
All issues in rmcelreath/rethinking
Similar issues
-
1.7
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pharmaverse/admiral#3235 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SticsRPacks/CroPlotR#185 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day