---
product_id: 8654138
title: "Hands-On Programming with R: Write Your Own Functions and Simulations 1st Edition"
brand: "garrett grolemund"
price: "€ 66.02"
currency: EUR
in_stock: true
reviews_count: 8
url: https://www.desertcart.sk/products/8654138-hands-on-programming-with-r-write-your-own-functions-simulations
store_origin: SK
region: Slovakia
---

# Hands-On Programming with R: Write Your Own Functions and Simulations 1st Edition

**Brand:** garrett grolemund
**Price:** € 66.02
**Availability:** ✅ In Stock

## Quick Answers

- **What is this?** Hands-On Programming with R: Write Your Own Functions and Simulations 1st Edition by garrett grolemund
- **How much does it cost?** € 66.02 with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.sk](https://www.desertcart.sk/products/8654138-hands-on-programming-with-r-write-your-own-functions-simulations)

## Best For

- garrett grolemund enthusiasts

## Why This Product

- Trusted garrett grolemund brand quality
- Free international shipping included
- Worldwide delivery with tracking
- 15-day hassle-free returns

## Description

Full description not available

## Images

![Hands-On Programming with R: Write Your Own Functions and Simulations 1st Edition - Image 1](https://m.media-amazon.com/images/I/81S-6M8Da-L.jpg)

## Customer Reviews

### ⭐⭐⭐⭐⭐ A quick path to a useful subset
*by J***N on June 3, 2016*

When learning a language, it is important to get to the point of being able to write nontrivial programs in it. For that you need to master a useful subset of the language. After getting there, you can deepen your knowledge as you continue to write code and to study.Compared to other programming languages that I know, I have found it harder to get to that place of knowing a useful subset of R. This is partly because I've never made it a high priority, but also because there seemed to be something unintuitive about the language (especially compared to Python, the language that I use most). I would occasionally pick up a book on R but rapidly lose interest in a day or two, and then rapidly forgetting much of what I had learned.But then recently I started reading the book "Doing Bayesian Data Analysis" by John Kruschke, which makes heavy use of R. This motivated me to try once again to learn some R. In one chapter, Kruschke introduces Markov Chain Monte Carlo. He discusses the Metropolis algorithm through a toy example involving matching the distribution of a finite discrete distribution. When I read that chapter I quickly wrote a Python script which reproduced the simulation. But it occurred to me that to fully enter into the spirit of Kruschke's book, I should write the simulation in R. I put Kruschke's book to the side, ordered this book from Amazon, and then plowed through it in a week. Today (just 10 days after getting the book) I was able to write a working MCMC model in R.Pros and cons of the book itself:Pros: It has a nice discussion of vectors, matrices, lists, and data frames. In some of my previous brief forays into R, I never got to the point of having a really clear mental model as to just how those data structures related to each other. I found his discussions of attributes particularly helpful. His choice of a deck of cards as a data frame struck me as contrived at first but it was effective in giving a basic orientation in how data frames work. The third part, where the author got into programming proper, was the most interesting part, and I found the slot machine example interesting.Cons: It is pricey for its size (200 pages + appendices), especially given the lack of proper proof-reading. This was close to a deal breaker for me, but I had resolved to learn enough R to write a MCMC simulation and wanted to do so before I returned to the other book. The chapter on environments seemed a bit of a stretch. Using closures to maintain the state of a deck strikes me as baroque, though maybe that is just the Python programmer in me. Furthermore, I suspect that people who are coming to programming for the first time would find that chapter mystifying.On the whole I was happy with the book. I find myself vacillating between giving it 4 stars or 5 stars. I'm in a good mood today, so I'll give it 5.

### ⭐⭐⭐⭐⭐ Must buy
*by U***R on December 10, 2022*

Wanna learn R, I strongly recommend this book over any online tutorial.

### ⭐⭐⭐⭐ Great R Book using the newer developments in R language such as RStudio
*by M***A on February 5, 2015*

Another great resource for learning R. While it is frustrating that all these books cover the same basic information they all cover it slightly differently. This book coming from the RStudio's chief trainer is a well designed book which covers many aspects not covered as well as other books.R as a programing language has also evolved so much over the past 5 years that I find that the newer books are a better start for beginners, not that the classics should be skipped. This book has a cleaner narrower focus and is a great fit for someone new to R. It uses less libraries and the libraries it uses are clean and make working with R easier. Also I couldn't imagine working with R without using RStudio and this book also shows short cuts on the language's best IDE that is free for personal use.My suggestion is that someone with little to no experience programing should maybe get two books to learn R. 1) R for Everyone by Jared P. Lander (Though the font for the code in Kindle is frustrating because it doesn't show symbols correctly unless you copy and paste the code!) 2) Hands-On Programming with R by Garrett Gromlemund. Than after under standing these books and maybe doing a few free online courses get 1) The Art of R Programming by Norman Matloff and 2) R in Action by Robert Kabacoff (Only available for sale at the publishers website for the EBook)What I want is a second book on using Hadley Wickham's libraries as a second book. Using Reshape2, ddplyr, tidyr, stringr, tidyr, ggplot2, ggvis and shiny.

## Frequently Bought Together

- Hands-On Programming with R: Write Your Own Functions and Simulations
- R for Data Science: Import, Tidy, Transform, Visualize, and Model Data
- Learning R: A Step-by-Step Function Guide to Data Analysis

---

## Why Shop on Desertcart?

- 🛒 **Trusted by 1.3+ Million Shoppers** — Serving international shoppers since 2016
- 🌍 **Shop Globally** — Access 737+ million products across 21 categories
- 💰 **No Hidden Fees** — All customs, duties, and taxes included in the price
- 🔄 **15-Day Free Returns** — Hassle-free returns (30 days for PRO members)
- 🔒 **Secure Payments** — Trusted payment options with buyer protection
- ⭐ **TrustPilot Rated 4.5/5** — Based on 8,000+ happy customer reviews

**Shop now:** [https://www.desertcart.sk/products/8654138-hands-on-programming-with-r-write-your-own-functions-simulations](https://www.desertcart.sk/products/8654138-hands-on-programming-with-r-write-your-own-functions-simulations)

---

*Product available on Desertcart Slovakia*
*Store origin: SK*
*Last updated: 2026-03-28*