Blog Archives

Do basic R operations much faster in bash [Slightly off-topic]

January 25, 2016
By

R is great, and you can do a LOT OF stuff with it.However, sometimes you want to do really basic stuff with huge or a lot of files. At work, I have to do that a lot because I am mostly dealing with language data that often needs some pre-processing.Mos...

Read more »

Stop fiddling around with copied paths in Windows R

December 23, 2015
By

I work with R on both Mac OS and Windows. On Windows, you get the option to copy the path of a file or folder by holding Shift while right-clicking on the file or folder. As useful as this feature is, it copies paths to your clipboard in Windows format...

Read more »

Time series analysis with R: Testing stuff with NetAtmo data

December 21, 2015
By
Time series analysis with R: Testing stuff with NetAtmo data

I've got a NetAtmo weather station. One can download the measurements from its web interface as a CSV file. I wanted to give time series analysis with the extraction of seasonal components ('decomposition') a try, so I thought it would be a good opportunity to use the temperature measurements of my weather station. The data is available.To...

Read more »

Changing the font of R base graphic plots.

August 24, 2015
By
Changing the font of R base graphic plots.

Want to change the font used in your R plots? I got a quite simple solution that works on Mac OS.You need the function 'quartzFonts'. With this function, you can define additional font families to use in your R base graphic plots. The default font fami...

Read more »

Mapping the world with tweets (including a GIF without cats and a Shiny App).

February 16, 2015
By
Mapping the world with tweets (including a GIF without cats and a Shiny App).

A few days ago, I collected 30 minutes of tweets all around the world. I used the twitteR and streamR packages for this. The nice thing about those tweets is that they have geo-information associated with them. Not all of them, of course, but more than...

Read more »

Stay on track: Plotting GPS tracks with R

September 18, 2014
By
Stay on track: Plotting GPS tracks with R

Many GPS devices and apps have the capability to track your current position via GPS. If you go walking, running, cycling, flying or driving, you can take a look at your exact route and your average speed.Some of these devices or apps also allow you to...

Read more »

Getting emotional in the absence of something: Using the Berlin Affective Word List to analyze emotional valence and arousal for nouns and adjectives.

August 28, 2014
By
Getting emotional in the absence of something: Using the Berlin Affective Word List to analyze emotional valence and arousal for nouns and adjectives.

This is something I did a while ago using the Berlin Affective Word List (BAWL).The BAWL contains ratings for 2902 German words (2107 nouns, 504 verbs, 291 adjectives). Ratings were collected for emotional valence (bad vs. good), arousal (the grade of valence) and imaginability (how well you can imagine the specific word). Please note, that I cannot...

Read more »

Graphing football world cup shots with rCharts

July 20, 2014
By

So, the FIFA World Cup is over. Germany won. Yay!Now with so much less football matches to watch, I tried the awesome new R package rCharts by Ramnath Vaidyanathan. In this case, I used the capability to generate NVD3 charts. Check it out...You ca...

Read more »

Hyperthreading FTW? Testing parallelization performance in R.

March 7, 2014
By
Hyperthreading FTW? Testing parallelization performance in R.

Alright, let's test some parallelization functionalities in R.The machine:MacBook Air (mid-2013) with 8 GB of RAM and the i7 CPU (Intel i7 Haswell 4650U). This CPU is hyper-threaded, meaning (at least that's my understanding of it) that it has two...

Read more »

Catching errors in R and trying something else

December 4, 2013
By

I recently encountered some functionality in R which most of you might already know. Nevertheless, I want to share it here, because it might come in handy for those of you who do not know this yet.Suppose you want to read in a large number of very large text tables in R. There is the great function fread() in...

Read more »

Sponsors

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)