stan-dev / stan-dev/rstan

Problem with Configuration of Rtools for Rstan on 64-bit Windows 10

Open
#549 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Summary:

There is an error when I try to execute the command for setting Configuration of Rtools for Rstan.

Description:

I'm installing RStan on Windows using this guide https://github.com/stan-dev/rstan/wiki/Installing-RStan-on-Windows On the stage of Configuration I've got an error.

Reproducible Steps:

cat('Sys.setenv(BINPREF = "C:/RBuildTools/3.4/mingw_$(WIN)/bin/")',
file = file.path(Sys.getenv("HOME"), ".Rprofile"),
sep = "\n", append = TRUE)

Current Output:

Error in file(file, ifelse(append, "a", "w")) :
cannot open the connection
In addition: Warning message:
In file(file, ifelse(append, "a", "w")) :
cannot open file 'C:/Users/??????/Documents/.Rprofile': Invalid argument

R Version:

R version 3.4.4 (2018-03-15

Operating System:

Windows 10 64-bit

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the RStan Windows installation guide and reproduce the Configuration command shown in the issue. Inspect how the command writes to the HOME/.Rprofile path on 64-bit Windows and compare the reported invalid-argument error; done means the configuration completes without the connection error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.