Showing posts with label Rprogramming. Show all posts
Showing posts with label Rprogramming. Show all posts

28 June 2015

Plotting selangkah demi selangkah

Dear friends,

Long time no post LOL. Here's an update.

Finally!

I managed to translate an article by Hadley Wickham "Build a plot layer by layer" to Indonesian language for class purposes. I used R Markdown to write the article. But somehow, I can't get it uploaded to my Rpubs repo, as well as to this blogger site.

I've tried to implement a "(semi)-automating the R markdown to blogger workflow" described here, but did work.

So I rendered the Rmd to pdf and posted to my repos:

  1. Academia (pdf format) 
  2. ResearchGate (Rmd, R code)


I hope the translation is clear enough for anyone (especially Indonesian), who is starting to learn ggplot2 package.

Here's a plot from the original post.


27 May 2015

the 3rd workshop: Introduction to R


The event has been successfully held in ITB Central Library, today, 26 May 2015, 13.00-15.00.
There were 50 participants, which were the max capacity of the room. We still have 30 more waiting list participants.

Slides (pdf) in Indonesian language, data and code are available here.
Slides (ioslides) is available here.


26 May 2015

Preparing for the 3rd Introduction to R slides

I am now preparing the slides for the 3rd Introduction to R Mini Workshop. I am using R Markdown to write the slides. Just found out that somehow if I used the "smaller: yes" or "smaller: true" line in the YAML lines (see the following lines),

---
title: "Introduction to R: R in the library"
author: "Dasapta Erwin Irawan"
date: "26/05/2015"
output:
  ioslides_presentation:
    logo: itb.jpg
    smaller: yes
    widescreen: yes
    self_contained: no
---

I ended up getting the following errors.


pandoc: user error ([string "custom"]:253: attempt to concatenate field 'class' (a nil value))
Error: pandoc document conversion failed with error 1Execution halted

The error was dismissed if I delete the above-mentioned line.