Skip to content

Installation

Hansjörg Plieninger edited this page May 10, 2019 · 2 revisions

What follows is a list of links and hints that might be useful if installing mpt2irt fails or for creating R packages wrapping rstan more general.

Installing mpt2irt

In addition to the recommendations in the README, I share the Makevars.win file that lives in C:/Users/plieninger/Documents/.R/ on my Windows computer. This differs a little bit from the ones recommended by the RStan team in Configuration of the C++ Toolchain and create or edit a personal Makevars file, and, to be honest, I have no clue when and why to set it up in either way. The following worked for me:

CXX14FLAGS=-O3 -Wno-unused-variable -Wno-unused-function
CXX14 = $(BINPREF)g++ -m$(WIN) -std=c++1y
CXX11FLAGS=-O3 -Wno-unused-variable -Wno-unused-function

Creating R Packages Wrapping rstan

Clone this wiki locally