January 2019

EARL London 2019 announcement

January 29, 2019 | Mango Solutions

EARL London is back for 2019! We are thrilled to announce that the Enterprise Applications of the R Language Conference will be returning to the Tower Hotel from the 10-12 September 2019. If you’d like to see what you can expect during 3 days of EARL, then check out our highlights from ... [Read more...]

Using Travis-CI to Create R-bloggers for Taiwan

January 29, 2019 | Yongfu, Liao

R-bloggers.com is a great platform for R users, but I sometimes feel awkward to publish posts on R-bloggers when I have things to share that are only relevant to users in Taiwan1. Inspired by R-bloggers, I thought maybe I could use Travis-CI and GitHub to create a blog that ... [Read more...]

NHS-R Community: Up the R-evolution

January 29, 2019 | Gary Hutson

It seems like two seconds ago since I was frantically preparing slides for the first NHS community. Wow – what an experience and kudos to the team @NHS-R Community for arranging it. The full content of the event has been posted: https://nhsrcommunity.com/nhs-r-conference-9-october-2018/. What a fantastic event this ... [Read more...]

Creating a word cloud on R-bloggers posts

January 29, 2019 | Andrew Treadway

This post will go through how to create a word cloud of article titles scraped from the awesome R-bloggers. Our goal will be to use R’s rvest package to search through 50 successive pages on the site for article titles. The stringr and tm packages will be used for string ...
[Read more...]

Hash Me If You Can

January 29, 2019 | Learning Machines

We are living in the era of Big Data but the problem of course is that the bigger our data sets become the slower even simple search operations get. I will now show you a trick that is the next best thing to magic: building a search function that practically ... [Read more...]

benchmarkme: new version

January 29, 2019 | Colin Gillespie

When discussing how to speed up slow R code, my first question is what is your computer spec? It’s always surprised me that people are wondering why analysing big data is slow, yet they are using a five-year-old cheap laptop. Spending a few thousand pounds would often make their ...
[Read more...]

Web Scraping Google Sheets with RSelenium

January 28, 2019 | Matt.0

Photo by freestocks.org on UnsplashI love to learn new things and one of ways I learn best is by doing. Also it’s been said that you never fully understand a topic until you are able to explain it , I think blogging is a low barrier to explaining things. ...
[Read more...]

Playing Around with Phyllotactic Spirals

January 28, 2019 | R on Chi's Impe[r]fect Blog

I wanted to figure out how to create gif animation using the magick, so I decided I’ll try that out with ggplot2 spiral art. Loading up packages I’m definitely in love with “magick” right now :)
library(tidyverse) ## for pretty much everything...
library(magick) ## I'm now a magick fan!!! 
library(scales) ## Handy when it comes to scaling, but I also love show_col function
library(patchwork) ## put ggplot side by side easily :) 

## Let's just set some of my favourite number.
phi <- (1 + sqrt(5)) / 2 
golden_angle <- pi*(3-sqrt(5))
Function To Draw Artwork Instead of creating data frame, then plot with ...
[Read more...]

Watch if R is running from Shiny

January 28, 2019 | Colin Fay

Today I discovered that the tag of a Shiny App gets the shiny-busy class when computation is done in the R process. Which means that you can potentially watch with JavaScript if the R process is running. TIL — Shiny Apps switch to t... [Read more...]

Forecast Framework Demo

January 28, 2019 | - r

Want to learn how to do some forecasting with R? Here’s your chance to try out a new time-series forecasting package for R whose aim is to standardize and simplify the process of making and evaluating forecasts! The Reich Lab uses an R package calle... [Read more...]

Graphing My Daily Phone Use

January 27, 2019 | Roel M. Hogervorst

How many times do I look at my phone? I set up a small program on my phone to count the screen activations and logged to a file. In this post I show what went wrong and how to plot the results. The data I set up a small program ...
[Read more...]

Mathematical Notation in Online R/exams

January 27, 2019 | R/exams

Many R/exams exercises employ mathematical notation that needs to be converted and rendered suitably for inclusion in online exams. While R/exams attempts to set suitable defaults, an overview is provided of possible adjustments and when these might be useful or even necessary. Overview A popular use case of ... [Read more...]

Building Big Shiny Apps — A Workflow (1/2)

January 27, 2019 | Colin Fay

During the rstudio::conf(2019L), I've presented an eposter called "Building Big Shiny Apps — A Workflow". You can find the poster here, and this blog post is a transcription of what I've been explaining while presenting the poster.Read More → The post Building Big Shiny Apps — A Workflow (1/2) appeared first ...
[Read more...]

10 Tips for Choosing the Optimal Number of Clusters

January 27, 2019 | Matt.0

Photo by Pakata Goh on UnsplashClustering is one of the most common unsupervised machine learning problems. Similarity between observations is defined using some inter-observation distance measures or correlation-based distance measures. There are 5 classes of clustering methods: + Hierarchical Clustering+ Partitioning Methods (k-means, PAM, CLARA)+ Density-Based Clustering+ Model-based Clustering+ Fuzzy Clustering My ...
[Read more...]

R tips and tricks – higher-order functions

January 27, 2019 | Eran Raviv

A higher-order function is a function that takes one or more functions as arguments, and\or returns a function as its result. This can be super handy in programming when you want to tilt your code towards readability and still keep it concise. Consider the following code: [crayon-5c4dddebcccbf005402937/] ... [Read more...]
1 2 3 4 15

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)