The R torch codebook

The book is still a work in progress, but an incomplete draft is available for free on the author’s GitHub page.

R
data analysis
deep learning
Author

Tengku Muhammad Hanis

Published

February 5, 2026

Abstract

This book serves as a consolidated repository of R code for deep learning, providing a comprehensive collection of implementations using the torch ecosystem. Designed as a functional reference, it offers a streamlined approach to building models across various data modalities, ranging from tabular and imaging data to audio and video data. While the book is currently in the early stages of development, a preliminary draft of these code implementations is available for free via the author’s GitHub page.