Learn R Programming


Author


RSDK

RSDK or R SuDoKu is an R package developed for the project of R programming in the master 1 SSD (Statistiques et sciences des donnés),faculty of science Montpellier.
The package contains a shiny application that we can play sudoku on it.

For a full documentation : https://CRAN.R-project.org/package=RSDK


Install RSDK

You can install the package from the CRAN by runing directly in your console:

install.packages("RSDK")

Or use the installation of the package from github, so:

  • First, you need to install the devtools package. You can run in the console the following command
install.packages("devtools")
  • Load the devtools package:
library(devtools)
  • Then use:
install_github("ELKHMISSI/RSDK")

After installation of package, are you ready to play?


launch R SuDoKu

For playing in the shiny application all you need it's to load the RSDK package, and call runSudoku() function, run the following in the console:

library(RSDK)
runSudoku()

How to play in RSDK

After launching the application:

  • Press the start button to start the game

  • Select a level for the game

  • Select an empty cell on the grid by clicking on it once, and put a number from 1 to 9 by the keyboard

  • To remove a value from an edited cell just double clicking on it

  • Check button to verify the grid after playing

  • Solution button gives you the grid competly solved.(don't use it

Copy Link

Version

Install

install.packages('RSDK')

Monthly Downloads

203

Version

1.0.1

License

MIT + file LICENSE

Maintainer

EL Mohamed

Last Published

March 12th, 2022

Functions in RSDK (1.0.1)

check_grid

Check_grid()
runSudoku

runSudoku()
solver

solver()
plt_grid_play

plt_grid_play()
poss

poss()
plt_grid

plt_grid()
perm_mat

perm_mat()
order_wposs

order_wposs()
grid_gen

grid_gen()
nbrposs

nbrposs()
grid_gen_cplt

grid_gen_cplt()
atcol

atcol()
atbox

atbox()
bt_solver

bt_solver()
atrow

atrow()
ispossible

ispossible()
grid_gen_lv

grid_gen_lv()
perm_vec

perm_vec()