Posts Tagged ‘ html ’

How to embed a Gist in Tumblr

September 9, 2012
By

Here, both for the sake of posterity, as well as example, is an embedded Gist that describes how to embed a Gist in Tumblr: https://gist.github.com/1395926

Read more »

Producing Google Map Embeds with R Package googleVis

December 1, 2011
By
Producing Google Map Embeds with R Package googleVis

(1) for producing html code for a Google Map with R-package googleVis do something like: library(googleVis)df <- data.frame(Address = c("Innsbruck", "Wattens"), Tip = c("My Location 1", "My Location 2"))mymap <- gvisMap(df, "Addre...

Read more »

Web Scraping Google Scholar & Show Result as Word Cloud Using R

November 1, 2011
By
Web Scraping Google Scholar & Show Result as Word Cloud Using R

OUTDATED! Please see the update HERE!...When reading Scott Chemberlain's last post about web-scraping I felt it was time to pick up and complete an idea that I was brooding over for some time now:When a scientist aims out for a new project the firs...

Read more »

A Little Webscraping-Exercise…

October 22, 2011
By
A Little Webscraping-Exercise…

In R it's quite easy to pull out anything from a webpage and I'll show a little exercise in doing so.Here I retrieve all blog addresses from R-bloggers by the function readLines() and some subsequent data processing.Read more »

Read more »

R GUIs, IDEs, and text editors

January 18, 2011
By
R GUIs, IDEs, and text editors

When deciding what program to write your R code in it is important to consider a number of factors so you can keep organized and work efficiently.  I found this article useful for getting started.  Text editors include syntax highlightin...

Read more »

Grabbing Tables in Webpages Using the XML Package

October 24, 2010
By

ables are pretty common in web pages as data sources, and the most direct way to get these data is probably to copy and paste. This is OK if there are only two or three tables, and when we need to grab 5000 tables in 1000 web pages, we may not really wish to fulfill

Read more »

WP-CodeBox: A better R syntax highlighter plugin for WordPress

October 11, 2010
By

About 10 months ago, I was looking for a plugin to enable me to highlight R code on my self hosted WordPress blog. The solution I came up with then was to use the wp-syntax plugin (with the need for some modifications). Today I was informed of (what I believe is) a better WordPress plugin

Read more »

embed images in Rd documents

April 3, 2010
By

The new help system that was introduced in R 2.10.0 and documented in an article of the R journal is very promising.One thing that is planned for future versions of R (maybe 2.12.0) is some way to include images into Rd documents using the fig option of the Sexpr macroAnother way is to use data...

Read more »

Highlight the R syntax on your (WordPress) blog using the wp-syntax plugin

February 12, 2010
By
Highlight the R syntax on your (WordPress) blog using the wp-syntax plugin

Download link for WP-Syntax plugin (with GeSHi version 1.0.8.6)In case you have a self hosted Wordpress blog, and you wish to show your R code in it, how would you do it? The simplest solution would be to just paste the code as plain text, which will look like this: x <- rnorm(100, mean = 2, sd = 3) plot(x, xlab =...

Read more »

new R package : highlight

November 22, 2009
By

I finally pushed highlight to CRAN, which should be available in a few days. The package uses the information gathered by the parser package to perform syntax highlighting of R codeThe main function of the package is highlight, which takes a numb...

Read more »