How to update a package that has StanHeaders and rstan in its LinkingTo

I don’t suppose building a Stan program works now, does it?

Aha! I think I have found the problem. If your Rtools is in C:\Rtools, then there should be no setting of BINPREF in .Rprofile.

Hi,
Interesting. I found another, probably related solution: use Unix style path separators in BINPREF environment variable. I do not have, or alternatively never modified, .Rprofile.

Thanks for your help,
Slawek

@Slawek_Smyl just wanted to thank you with one of the solutions you found for the “CRtoolsming_64bing++” error where the separators are missing. Like you I did not have BINPREF in the .Rprofile variable.
Your solution to use Unix style separators in BINPREF environment variable made all the difference when I was testing “rstan” in Anaconda3, RStudio1.1.456, R-3.6.1 (native to RStudio).

Since the “double back slash” style worked on my Cran R installation, I never suspected this could be a factor. Thank you @Slawek_Smyl

@bgoodri now my testing with getting “rstan” working separately with Cran R and Anaconda3-RStudio is complete and I will share specific details in a post so others may lose less hair and sleep. Thank you again for the time you take to share and engage with users here on this forum.

Sree

1 Like