Analysis in R: Want to take a break from Minesweeper? The “fun” package

RAnalytics
スポンサーリンク

How about a break from analysis? This package contains interactive games of the Japanese GOMOKU-NARABE and Minesweeper. Note that Minesweeper in particular can be addictive.

Package version is 0.3. Checked with R version 4.2.2.

スポンサーリンク

Install Package

Run the following command.

#Install Package
install.packages("fun")

Example

See the command and package help for details.

#Loading the library
library("fun")

#GOMOKU-NARABE: gomoku command
gomoku(n = 19)

#Minesweeper: mine_sweeper command
if (.Platform$OS.type == "windows")
  x11() else x11(type = "Xlib")
mine_sweeper()

#Create PASSWORD: random_password comannd
random_password()
[1] "H<97)r\\@'mq\""

#Result Hanoi puzzle: tower_of_hanoi command
tower_of_hanoi(n = 3)

Output Example

・gomoku command

gomoku

・mine_sweeper command

mine_sweeper

I hope this makes your analysis a little easier !!

Amazon audibleの登録の紹介

プライム会員限定で2024年7月22日まで3か月無料体験キャンペーン開催中です。無料体験後は月額1,500円で聞き放題です。なお、聞き放題対象外の本はAudible会員であれば非会員価格の30%引きで購入することが可能です。

Amazon audibleはプロのナレーターが朗読した本をアプリで聞くことができるサービスで、オフライン再生も可能です。通勤や作業のお供にAmazon audibleのご登録はいかがでしょうか。

・AmazonのAudible

https://amzn.to/3L4FI5o

Copied title and URL