Porting Medium to Jekyll Github.io with R

[This article was first published on data_steve, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

[this transition post is a copy from my Medium account for your comparison.]

I’m porting my Medium blog to host on Github using Jekyll at data-steve.github.io. I decided to do it with code and make a package out of it in case others might want to.

Reasons

Only after setting up the Medium blog did I realize that it doesn’t meet R-bloggers needs for syndication, since Medium will only share an excerpt of the post with a link to the rest. R-bloggers wants the whole post. Seems fair.

It’s extra work to port over from Medium, but I like the idea of being able to work within my own development environment. And instead of having to learn a bunch of keyboard shortcuts for adding code and links, as I did for Medium, I can write code and execute commands and push updates via Jekyll and RStudio or SublimeText, for example.

Example

Since I’m bothering to post this on Medium, I thought I’d get some use out of it. I’ll show how I did it as a post on my new blog.

Here’s a code chunk to round out my porting example

# test code
nothing_special <- function(a){
    return(a)
}

Here’s a screenshot of a random bit of the code from the R package I’m writing to show how the images are handled.

See you over at data-steve.github.io. There I’ll document and share the R code I used to transition my Medium content over, likely in the form of github package notes.

To leave a comment for the author, please follow the link and comment on their blog: data_steve.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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)