Blog Archives

A Function for Adding up Matrices with Different Dimensions

November 24, 2011
By
A Function for Adding up Matrices with Different Dimensions

I was unlucky finding a function that can handle matrices with different dimensions. Thus, I coded a little function that sums up matrices, also coping with matrices with different dimensions.Read more »

Read more »

Using SyntaxHighlighter and R Brush in Blogger

November 16, 2011
By
Using SyntaxHighlighter and R Brush in Blogger

If you're thinking it is time to give the code examples in your blog a more readable look, you may follow this path and use the SyntaxHighlighterFirst thing: check the SyntaxHighlighter Website for the basics.Read more »

Read more »

How to Download and Run Google Docs Script from within the R-Console

November 14, 2011
By
How to Download and Run Google Docs Script from within the R-Console

...There is not much to it:upload a txt file with your script, share it for anyone with the link, then simply run something like the below code. ps: When using the code for your own purpose mind to change "https" to "http" and to i...

Read more »

In Reply to Ben Bolker’s Post "Google Scholar (still) sucks"

November 14, 2011
By
In Reply to Ben Bolker’s Post "Google Scholar (still) sucks"

Replying to Ben Bolker's post Google Scholar (still) sucks:Ben,thanks for illustrating the issue in your post!The main purpose of my function GScholarScraper is to retrieve titles - just because this is the best we can get from Google Scholar. Abstract...

Read more »

An Image Crossfader Function

November 10, 2011
By
An Image Crossfader Function

Some project offspin, the jpgfader-function (the jpgfader-function in funny use can be viewed HERE):Read more »

Read more »

Add Transparency to JPEG – Yes, We Can!

November 9, 2011
By
Add Transparency to JPEG – Yes, We Can!

...Just read you JPEG and add an alpha channel manually, then assign values for transparency. Of course for printing you need to use a device that accepts alpha.See how it's done HERE.

Read more »

R-Function GScholarScraper to Webscrape Google Scholar Search Result

November 9, 2011
By
R-Function GScholarScraper to Webscrape Google Scholar Search Result

Based on my previous post on Web Scraping I coded and uploaded the Function "GScholarScraper" HERE for testing!The function will pull all (!) results, processing pages in chunks of 100 results/titles, and return a file with all titles, links, etc. It w...

Read more »

Next Level Web Scraping

November 5, 2011
By
Next Level Web Scraping

The outcome presented above will not be very useful to most of you - still, this could be a good example for what possibly can be done via web scraping in R.Background: TIRIS is the federal geo-statistical service of North-Tyrol, Austria. One of many g...

Read more »

Some Simple but Propably Useful Regex Examples with R-Package stringr…

November 3, 2011
By
Some Simple but Propably Useful Regex Examples with R-Package stringr…

I found that examples for the use of regex in R are rather rare. Thus, I will provide some examples from my own learning materials - mostly stolen from the help pages, with small but maybe illustrative adaptions.ps: I will extent this list of examples...

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 »