メインコンテンツにスキップ

Blog

Japanese posts and translated English articles.

すべての記事は日本語と英語の両方で読めます。英語版はEnglish Postsから参照できます。

日付 題名 説明
2026-11-07 Okabe-Ito などのカラーパレット一覧(クリックでコピー) Okabe-Ito、Paul Tol、viridis などのパレットを色見本で一覧にし、カラーコードをクリックでコピーできるようにしました。R・Python・CSS向けの一括コピーにも対応しています。
2026-11-03 Quartoサイトにダークモードと切り替えボタンを追加する Quarto標準のテーマ切り替えで、既存の配色を保ちながらダークモードを追加する方法と、多言語サイトでの注意点をまとめます。
2026-11-03 Tailscale + RustDeskでWindows 11に高速・安全にリモート接続する Tailscale VPN内でRustDeskの直接IPアクセスを使う構築手順と、pingは通るのに接続できず、両PCの再起動で解決したトラブルシューティングの記録。
2026-06-19 OpenAlex APIをPythonから呼び出して論文の引用文献を取得する OpenAlex APIをPythonから呼び出して、論文の引用文献を取得する方法をまとめます。
2026-06-17 jpplantnames Rパッケージについて jpplantnames Rパッケージについて簡単にまとめます。
2026-06-16 WFO Plant List APIをRから利用する方法 The World Flora Online (WFO)のAPIをRから利用して、学名からaccepted nameを取得します。
2026-06-01 OpenAlexをPythonから使ってみる OpenAlex APIをPythonから呼び出し、論文メタデータを取得するためのメモです。
2026-05-27 RでPrincipal axis regressionをtrait spaceの回転に応用する 共分散行列の第1固有ベクトルを使って、種間軸と種内変異を含む軸のずれを調べます
2026-05-26 Rで2変量PCAとPrincipal axis regressionの基礎を理解する 共分散行列・固有値・固有ベクトルから2変量データの主軸を求めます
2026-04-14 Rのtmapパッケージで地図の上に縁取り文字を表示する方法 tmap 4.3からtm_textで文字の縁取りなどの装飾が実装されました
2026-04-13 Rで解析データをクラウドストレージから読み込む 解析の生データをクラウドストレージから読み込む方法を紹介します
2026-03-25 Quarto 1.9がリリースされました Quarto 1.9がリリースされました。気になる機能をまとめます。
2026-03-20 Pythonで最低限のuvによる環境管理 Pythonの環境管理ツールであるuvを使用して、最低限の環境管理方法をまとめます
2026-03-11 Rで大津の二値化を行う方法 Rで大津の二値化を実装
2026-03-10 ZoteroでRSSフィードを作成する方法 Zoteroを使って論文雑誌のRSSフィードを作成する方法についてまとめます。
2026-03-04 Rで色覚異常のシミュレーションを行う方法 Rでcolorspaceパッケージを使って色覚異常のシミュレーションをする方法をまとめます
2026-02-25 QuartoのサイトをGitHub Actionsでビルドする際、code linkingが正しく動作しない問題の対処法 Quartoでサイトを構築する際、GitHub Actionsでビルドするとcode-linkingが正しく動作しない問題が発生することがあります。本記事では、その原因と対処法について説明します。
2026-02-25 Rのプロットで色に透明度を指定する方法 adjustcolor()やrgb()を使い、Rのプロットで色に透明度を指定する方法についてまとめます。
2026-02-24 GitHub Actionsとrenvを使ってr-universeのパッケージを利用する際の注意点 GitHub ActionsでGitHub Pagesを利用しており、renvおよびr-universeを利用している場合、GitHub Actionsの環境でrenvが正しく動作しないことがあります。この記事では、その原因と対処法について説明します。
2026-02-11 Quartoを用いた解析プロジェクト管理について QuartoのBook形式で解析プロジェクトを管理する方法についてまとめます。
2026-02-06 Rでファイル名を抽出する方法 basename(), file.path_sans_ext()を使ってRでファイル名を抽出する方法についてまとめます。
2026-02-04 QuartoでPDF出力時にインラインコードブロックに背景色を付ける方法 LaTeXのxcolorパッケージを利用して、QuartoでPDF出力時にインラインコードブロックに背景色を付ける方法のメモです。
2026-02-04 Rのプロットのアスペクト比を設定する方法 aspパラメータを使ってRのプロットのアスペクト比を調整する方法についてです。
2026-02-03 QuartoのPDF出力で日本語を使う CJKmainfontオプションを設定することで、Quartoで日本語を正しく表示する方法を紹介します。
2026-02-02 RでLorenz attractorを描く deSolveパッケージを使ってLorenz方程式を解き、Lorenz attractorを描画する方法を紹介します。また、scatterplot3dやplotlyパッケージを使用して3Dプロットを作成する方法も示します
2026-02-01 Chain codeについて Chain codeについてのメモです
2026-01-31 Rで日本地図を描く rnaturalearthパッケージとrnaturalearthhiresパッケージを使ってRで日本地図を描く方法を紹介します。
2026-01-30 Quartoで表示される日付型を変更する date-formatオプションでQuartoで表示される日付のフォーマットを変更する方法についてのメモです
2026-01-30 Rでディレクトリを作成する方法 dir.create()関数を使用してRでディレクトリを作成する方法についてのメモです
2026-01-29 Github ActionsでQuartoのコードリンク機能を有効にする方法 Github ActionsでQuartoのwebsiteをビルドする際に、コードリンク機能を有効にする方法についてのメモです
2026-01-28 Quartoのコードブロック内の関数にドキュメントリンクをつける方法 code-linkオプションでQuartoのコードブロック内の関数にドキュメントリンクをつける方法についてのメモです
2026-01-27 Rでベクトルの重複を取り除く方法 make.unique()関数を使ってベクトルの重複を取り除く方法についてのメモです
2026-01-25 導入しているZoteroプラグインのまとめ 文献管理ソフトZoteroで導入しているプラグインのまとめです
2026-01-24 Quartoでコードブロックのファイル名を表示する Quartoでコードブロックのファイル名を表示する方法についてのメモです
2026-01-01 画像処理のためのRパッケージimagerの使い方 imagerパッケージについての基本的な使い方の紹介です
2024-06-18 BASIIC認証でつまったこと BASIIC認証を使用したときの注意点についてのメモ
2024-06-18 Rでベクトルを作成する Rでベクトルを作成するいろいろな方法をまとめます
2024-06-18 Bookdownで404エラーが出たときの原因の一つはURLエンコード Bookdownで日本語を使うときはURLエンコードに注意です
2024-03-14 Rで累積和を求める cumsum関数で累積和を求めます
2024-03-04 Rで色相環を作成する Rで色相環を作成するコードの紹介
一致なし
Date Title Description
2026-11-07 Color Palettes: Okabe-Ito and More, Click to Copy Okabe-Ito, Paul Tol, viridis and other palettes as swatches. Click a color to copy its code, or copy a whole palette for R, Python, or CSS.
2026-11-03 Adding Dark Mode and a Theme Toggle to a Quarto Website Add a dark theme and a built-in toggle while preserving an existing light theme, including notes for multilingual Quarto sites.
2026-11-03    
2026-06-19 Retrieving Paper References with the OpenAlex API from Python Use the OpenAlex API from Python to retrieve the references cited by a paper.
2026-06-17 A Quick Introduction to the jpplantnames R Package A short overview of the jpplantnames R package for looking up Japanese plant names, scientific names, and external database matches.
2026-06-16 Using the WFO Plant List API from R Use the World Flora Online Plant List API from R to retrieve accepted names from scientific names.
2026-06-01 Using OpenAlex from Python A note on calling the OpenAlex API from Python to retrieve paper metadata.
2026-05-27 Applying Principal Axis Regression to Trait-Space Rotation in R Using the first eigenvector of a covariance matrix to examine the difference between an interspecific axis and an axis that includes intraspecific variation.
2026-05-26 Understanding the Basics of Bivariate PCA and Principal Axis Regression in R Finding the principal axis of bivariate data from the covariance matrix, eigenvalues, and eigenvectors.
2026-04-14 Displaying Haloed Text on Maps with the R Package tmap Starting with tmap 4.3, tm_text supports decorations such as text halos.
2026-04-13 Reading Analysis Data from Cloud Storage in R How to read raw analysis data from cloud storage.
2026-03-25 Quarto 1.9 Has Been Released Quarto 1.9 has been released. This article summarizes the features that caught my attention.
2026-03-20 Minimal Python Environment Management with uv A minimal approach to environment management with uv, a Python environment management tool.
2026-03-11 Implementing Otsu’s Thresholding in R Implementing Otsu’s thresholding in R.
2026-03-10 Creating RSS Feeds in Zotero How to create journal RSS feeds with Zotero.
2026-03-04 Simulating Color Vision Deficiency in R How to simulate color vision deficiency in R with the colorspace package.
2026-02-25 Fixing Code Linking Problems When Building a Quarto Site with GitHub Actions Code linking may not work correctly when a Quarto site is built with GitHub Actions. This article explains the cause and solution.
2026-02-25 Specifying Transparency for Colors in R Plots A summary of specifying color transparency in R plots with adjustcolor() and rgb().
2026-02-24 Notes on Using r-universe Packages with GitHub Actions and renv When using GitHub Pages with GitHub Actions, renv, and r-universe packages, renv may not work correctly in the GitHub Actions environment. This article explains the cause and solution.
2026-02-11 Managing Analysis Projects with Quarto A summary of managing analysis projects with Quarto’s book format.
2026-02-06 Extracting File Names in R How to extract file names in R with basename() and file.path_sans_ext().
2026-02-04 Adding Background Color to Inline Code Blocks in Quarto PDF Output A note on using LaTeX’s xcolor package to add background color to inline code blocks in Quarto PDF output.
2026-02-04 Setting the Aspect Ratio of R Plots How to adjust the aspect ratio of R plots with the asp parameter.
2026-02-03 Using Japanese in Quarto PDF Output How to display Japanese correctly in Quarto by setting the CJKmainfont option.
2026-02-02 Drawing the Lorenz Attractor in R How to solve the Lorenz equations with the deSolve package and draw the Lorenz attractor. This post also shows how to create 3D plots with scatterplot3d and plotly.
2026-02-01 Notes on Chain Code A note on chain code.
2026-01-31 Drawing a Map of Japan in R How to draw a map of Japan in R using the rnaturalearth and rnaturalearthhires packages.
2026-01-30 Changing the Date Format Displayed by Quarto A note on changing the displayed date format in Quarto with the date-format option.
2026-01-30 Creating Directories in R A note on creating directories in R with the dir.create() function.
2026-01-29 Enabling Quarto Code Linking in GitHub Actions A note on enabling code linking when building a Quarto website with GitHub Actions.
2026-01-28 Adding Documentation Links to Functions in Quarto Code Blocks A note on using the code-link option to add documentation links to functions in Quarto code blocks.
2026-01-27 Removing Duplicate Vector Elements in R A note on using the make.unique() function to make duplicate vector elements unique.
2026-01-25 A Summary of Zotero Plugins I Use A summary of plugins I use with the reference manager Zotero.
2026-01-24 Showing File Names on Code Blocks in Quarto A note on how to show file names on code blocks in Quarto.
2026-01-01 Using the R Package imager for Image Processing A basic introduction to using the imager package.
2024-06-18 Things I Got Stuck on with BASIC Authentication Notes on small pitfalls when using BASIC authentication.
2024-06-18 Creating Vectors in R A summary of several ways to create vectors in R.
2024-06-18 One Cause of 404 Errors in Bookdown: URL Encoding Be careful with URL encoding when using Japanese in Bookdown.
2024-03-14 Calculating Cumulative Sums in R Calculate cumulative sums with the cumsum function.
2024-03-04 Creating a Color Wheel in R Code for drawing a color wheel in R.
一致なし