Displaying 1 result from an estimated 1 matches for "showoutput".
Did you mean:
flowoutput
2018 Dec 21
2
Bug report: R.home() cause package Rcpp failed executing sourceCpp, similar bug are labeled "BUG 16660" since 2016 and here I could provide a solution that tested in my laptop.
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16660
Here is the bug, which R.home may generate a path contains a whitespace.
this will cause Rcpp failed executing sourceCpp
> sourceCpp("b:/2018-12-14/src/18020/MCMC.cpp")
Error in system(cmd, intern = !showOutput) : 'D:/Program' not found
Error in system(cmd, ignore.stderr = TRUE, intern = TRUE) :
'D:/Program' not found
Code is tested in both R 3.5.1 and Microsoft R Open 3.5.1.
I find a temp solution, is to copy such words into Rprofile:
unlockBinding("R.home", baseenv())...