Blog Archives

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 »

The dependencies conundrum

June 5, 2018
By
The dependencies conundrum

A little dive into CRAN package dependencies. What is a dependencies? Roughly, a dependencie is a package needed by another package to work: in other words, if someone has already coded a function that you need, you can use it by listing another pack...

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 »

dockerfiler is now on CRAN

March 1, 2018
By

{dockerfiler} is a package that comes with a simple, object oriented API for Dockerfile creation, straight from your R session. Now on CRAN. Installation You can install {dockerfiler} from GitHub with: # install.packages("remotes") remotes::install_...

Read more »

Explain R environments like I’m five

February 14, 2018
By

“Can you explain me what are environments in R?” The beginning of a series of blogpost about R concepts, explained to my daughter. Side note: no, my daughter is not five, and she’s not named Alice. And she doesn’t speak english either ¯\(...

Read more »

[How to] Build an API wrapper package in 10 minutes.

January 20, 2018
By
[How to] Build an API wrapper package in 10 minutes.

Well… documentation not included (of course). API are cool. They allow to retrieve data from the web, and if ever you’re familiar with {httr}, {jsonlite} and packages like these, you’re able to build requests and retrieve data in a matter of min...

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)