Skip to content
Florian Sihler edited this page Aug 17, 2023 · 21 revisions

To use flowR, you need R installed and on your path. Although there are several ways to do so, there is nothing wrong with installing R with the help of your favorite package manager or directly from the website.[^1]

Furthermore, you need the node package manager (for Linux, we recommend using nvm).

After cloning the repository, you can install the dependencies with:

npm i

After that, you should be fine! You may test flowR by running:

npm run slicer -- --criterion "12@product" test/testfiles/example.R
The resulting file 'test/testfiles/example.R.slice' should contain the following contents:
product <- 1
N <- 10
for(i in 1:(N-1)) product <- product * i
cat("Product:", product, "\n")

At the time of writing this, there is currently no page for frequently encountered errors. So just message me in case of problems.

[^1]: Currently, flowR is only tested with R version 4.3.1 (2023-06-16) -- "Beagle Scouts"

Clone this wiki locally