Publications by mishou:

Useful_Keys_Shortcuts_and_Commands

13.10.2023

Contents I. Alacritty Linux/Unix commands Fish Vim key bindings V. Neovim Ranger RStudio Brave Browser & Vimium I. Alacritty I-1.tmux TMUX-SESSIONS New session: tmux List session: tmux list, Ctrl + b s TMUX-PANES Horizontal split: Ctrl + b % Vertical split: Ctrl + b “ Swap panes: Ctrl + b o Kill pane: Ctrl + b x TMUX-WINDOWS Create window: C...

7281 sym

Pyenv_Pipenv

15.10.2023

Install Python using pyenv List installed versions pyenv versions List available versions pyenv install -l Install pyenv install python 3.11 Creat a virtual environment using pipenv Create a vertual environment pipenv –python 3.11 Activate the cirtual environment pipenv shell Install a library pienv install pandas...

335 sym

Mounting

16.10.2023

I. Mounting a disk List the blocks lsblk-f Mount an external disk udisksctl mount -b /dev/sdb1 Access the disk cd /run/media/mnisho/HD-ADU3 Unmount the disk udisksctl unmount -b /dev/sdb1 When target is busy sudo lsof /dev/sdb1 kill PID or kill -9 PID II. Mounting a USB Plug the USB lsblk -f mkdir ~/usb_mount sudo mount /dev/sdc1 ~/usb_...

437 sym

How to run R and Python code in R markdown on RStudio

10.10.2023

I. Running R code # Read the data df <- read.csv('https://pastebin.com/raw/cSZ8pYWh') head(df) ## id english japanese nationality department classes gender ## 1 1 17.8 75.6 japan literature 2 male ## 2 2 64.4 53.3 nepal literature 2 male ## 3 3 86.7 31.1 nepal literature 1 male ## ...

1332 sym R (2762 sym/14 pcs) 2 img

How to run Python on R Markdown

09.10.2023

Learn how to use R Markdown You can learn how to use R Markdown for Python from the following tutrials: https://support.posit.co/hc/en-us/articles/360023654474-Installing-and-Configuring-Python-with-RStudio https://medium.com/data-and-beyond/how-to-seamlessly-integrate-python-into-r-rmarkdown-codes-2fe09cfdd0ee. Create a Python environment and con...

1325 sym 1 img

List, Matrix and DataFrame in Python

30.01.2021

Python lists A list is a built-in data type. It can be witten as a list of comma-separated items between square brackets. Items can be heterogenous. “Heterogenous” means items in a list are of different types. list_homogenous1 = [1, 2, 3, 4, 5] print(list_homogenous1) ## [1, 2, 3, 4, 5] list_homogenous2 = ["a", "b", "1", "2"] print(list_homog...

619 sym R (991 sym/14 pcs)

Create a chart from a data of Moodle

27.01.2021

I. My class on Moodle Let me show the seventh lecture as a sample. Students are supposed to submit “ノート提出” in every lecture. Each “ノート提出” is graded 10. So the marks can be used to calculate the percentage of attendance. II. Download the data Navigation>My courses>YOUR LECTURE>Grades Choose “Plain text file” in t...

877 sym R (2140 sym/6 pcs) 3 img

lecture20210125

25.01.2021

学期末試験 (オンライン)とノートの状況(20210125) 学期末試験(オンライン)とノート提出の期限は本日1月26日の24時です。 学期末試験(オンライン)は授業のコースの第15回にリンクされています。 学期末試験を受験していない方は、ノート提出より学期末試...

350 sym R (33 sym/3 pcs) 3 img

US_Congress

25.01.2021

How to explore US political data Let’s learn how to access, explore and visualize US political data via publicly available resources according to (jaytimm). # Basic infomation on lawmakers You can find basic information on lawmakers via (DATA and LAB). library(tidyverse) ## ── Attaching packages ───────────────...

729 sym R (2806 sym/11 pcs) 2 img

Likert_sample2

21.01.2021

R Markdown RStudioの1.4がリリースされましたので、早速インストールし、visual markdown editorを使いました。美しい表示で編集できます。 Markdownをあまり使っていなかったので、練習に授業のアンケートの簡単なレポートを作成しました。 Moodleの「小テスト」利用ア...

569 sym R (3600 sym/17 pcs) 1 img