If you have an issue comment / PR description on GitHub, it doesn't automatically get anchors / IDs that you could link to:
What I like to do is to add a visible # character like this:
| one <- seq(1:10) | |
| two <- rnorm(10) | |
| three <- runif(10, 1, 2) | |
| four <- -10:-1 | |
| df <- data.frame(one, two, three) | |
| df2 <- data.frame(one, two, three, four) | |
| str(df) | 
2017-08-03: Since I wrote this in 2014, the universe, specifically Kirill Müller (https://github.com/krlmlr), has provided better solutions to this problem. I now recommend that you use one of these two packages:
I love these packages so much I wrote an ode to here.
I use these packages now instead of what I describe below. I'll leave this gist up for historical interest. 😆
Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.
| ## The following example demonstrates | |
| ## how a serach and replace string task | |
| ## can be peformed with R across several files | |
| ## Create two text files with content | |
| filenames <- c( tempfile(), tempfile() ) | |
| for( f in filenames ){ | |
| cat("We wish you a Merry Christmas!\n\nBest regards\n", file=f) | |
| } |