Hello,
I am using an institutional computer which blocks programs from placing files into the ‘Temp’ folder. I don’t 100% understand what the .exe file does but my IT help asked if I could direct cmdstanr to place the .exe into another folder.
Is there a way to do this?
Here is the report that our IT department generated.
----Excluded Today
Microsoft Defender Exploit Guard has blocked an operation that is not allowed by your IT administrator.
For more information please contact your IT administrator.
ID: 01443614-CD74-433A-B99E-2ECDC07BFC25
Detection time: 2022-10-20T22:29:38.683Z
User: HU\AHitch
Path: C:\Users\AHitch\AppData\Local\Temp\Rtmpg7psPW\ulam_cmdstanr_a44acff84b689ee2ba7f521acf8bec1e.exe
Process Name: C:\Program Files\RStudio\bin\rsession.exe
Target Commandline:
Parent Commandline:
Involved File:
Inheritance Flags: 0x00000000
Security intelligence Version: 1.377.550.0
Engine Version: 1.1.19700.3
Product Version: 4.18.2209.7
Here is the error that gets thrown when I try to run my model.
Error in rethrow_call(c_processx_exec, command, c(command, args), pty, :
create process ‘ulam_cmdstanr_1430738bdddd5960dd98497d79bba467.exe’ (system error 5, Access is denied.
) @win/processx.c:1040 (processx_exec)
Stack trace:
- rethinking:::ulam(alist(pos ~ bernoulli(p), logit(p) ← a_bar + …
- mod$sample(data = data, chains = chains, parallel_chains = cores, …
- runset$run_cmdstan()
- private[run_method]
- procs$new_proc(id = chain_id, command = self$command(), args = self$command_args()[[chain_id]], …
- withr::with_path(c(toolchain_PATH_env_var(), tbb_path()), private$processes_[[id]] ← wsl_compatible_process_new(command …
- base:::force(code)
- cmdstanr:::wsl_compatible_process_new(command = command, args = args, …
- base:::do.call(processx::process$new, run_args)
- (function (…) …
- processx:::initialize(…)
- processx:::process_initialize(self, private, command, args, stdin, …
- rethrow_call(c_processx_exec, command, c(command, args), pty, …
x create process ‘ulam_cmdstanr_1430738bdddd5960dd98497d79bba467.exe’ (system error 5, Access is denied.
) @win/processx.c:1040 (processx_exec)
I am using the ‘rethinking’ pkg to run my models.
Thanks in advance for your help.
Alan