Solving Sudoku with R (Euler Problem 96).
I have used:
- R in version 3.5.1
- R Suite in version 0.33-246
Instalation of the packages requires Rtools compatible with your R version.
Install dependencies for the project
rsuite proj depsinst
Build custom packages
rsuite proj build
In folder data
there is a file p096_sudoku.txt
with 50 SuDoku's tables. To solve all of them you have to call the following command:
Rscript R/solve.R
The command must be run in a project folder.
The results are exported into export
directory.
I have prepared binary deployment packages with R Suite. To use them you have to download, unzip and run the solver as described above. You only need R in version 3.5+
The binary versions: