Blog Archives

A quick #WorldEmojiDay exploration

July 16, 2018
By

Let’s celebrate #WorldEmojiDay with a quick exploration of my own twitter account. The 📦 We’ll need: From Github {emo} remote::install_github("hadley/emo") From CRAN {dplyr} {tidyr} {rtweet} {tidytext} Note: This page has been created at: Sys.time() ## "2018-07-17 17:22:29 CEST" The 🔍 Let’s get my last 3200 tweets: library(emo) library(rtweet) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects...

Read more »

[Web2Day] Producing web content with R

July 13, 2018
By
[Web2Day] Producing web content with R

Earlier this week, my talk at the Web2Day conference was put online. Here is an english summary for those who don’t understand french :) Disclaimer: this talk has been given during a conference about web technologies. In other word,in front of a crowd that has never / hardly heard about R before. If you’re already familiar with R, Rmarkdown,...

Read more »

[ggplot2] Welcome viridis !

July 11, 2018
By
[ggplot2] Welcome viridis !

Let’s welcome the viridis palette into the new version of {ggplot2}! Viri-what ? viridis is one of the favorite color palettes of one of the member of the team (guesswho). The viridis palette was first developed for the python package matplotlib, and has been implemented in R since. The strengths of this palette are that: plots are beautiful (which...

Read more »

Happy dev with {purrr}

July 6, 2018
By
Happy dev with {purrr}

A transcription of my talk at the Rencontres R 2018. 7th Rencontres R From the 4th to 6th of July, I was with ThinkR at the 7th edition of the Rencontres R, the annual French meeting about R. During this conference, I gave a lightning called “Vous allez aimer avoir {purrr}”, which is a french dad-joke about the fact...

Read more »

Dockerise and deploy your own R Archive Repo

June 7, 2018
By
Dockerise and deploy your own R Archive Repo

There are severals reasons you would want to deploy your own R archive repo: you don’t want to rely on GitHub for your dev packages, you want to use a more “confidential” way, or maybe (and that’s good enough a reason), you’re a nerd and you like the idea of hosting your own repo. So, here’s how to. What’s...

Read more »

[How-to] Share content between several R6 instances

May 29, 2018
By
[How-to] Share content between several R6 instances

The object oriented system is a nice and powerful way to program and to build softwares and data in R. Yet, it can be a little bit daunting at first, especially if you’ve alway been coding in R, and with functions. In this blogpost, we’ll have a look at {R6}, one of the most downloaded package from the CRAN,...

Read more »

Serve your dataset in RStudio Connection Pane with {fryingpane}

May 27, 2018
By
Serve your dataset in RStudio Connection Pane with {fryingpane}

Serve the dataset from a package in RStudio Connection Pane. About {fryingpane} is a nice R dad joke a package that has only two functions: cook: serve the dataset from a package in your RStudio Connection Pane: serve: create a function in your package that will serve the datasets from the package inside the Connection Pane, with this kind...

Read more »

Playing with #rstatsnyc, Neo4J and R

April 21, 2018
By
Playing with #rstatsnyc, Neo4J and R

A search on Twitter, some R, and just enough Neo4J. Disclaimer: of course everything here could be done in pure R. But hey, where’s the fun in that? Disclaimer bis: this blogpost relies on {neo4r}, a package still under active development. Get the tweets library(rtweet) ny % write_csv("~/neo4j/import/ny_tweets.csv") # CSV of users ny %__% select(status_id, screen_name) %__% write_csv("~/neo4j/import/ny_users.csv") #...

Read more »

[How to] Write a purrr-like adverb

April 17, 2018
By

Create your own safely, compose and friends! What is an adverb If you read carefully the purrr documentation, you’ll find this simple explanation : Adverbs modify the action of a function; taking a function as input and returning a function with modified action as output. In other words, adverbs take a function, and return this function modified. Yes, just...

Read more »

Search R-bloggers


Sponsors

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)