Posts Tagged ‘ grep ’

Use file.choose to customize output filenames in R functions

April 5, 2012
By

In this post, I want to address the following issue: several data files with a common trame have to be dealt with by an R function. The function should export files (such as images or data files or any other file type). I explain how to create filenames such that the function automatically exports files in the same directory...

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 »