Blog Archives

Passing arguments to an R script from command lines

September 19, 2015
By

This post describes how to pass external arguments to R when calling a Rscript with a command line. The case study presented here is very simple: a Rscript is called which needs, as an input, a file name (a text file containing data which are loaded into R to be processed) and which can also

Read more »

Yet another post on google scholar data analysis

August 16, 2015
By
Yet another post on google scholar data analysis

Inspired by this post, I wanted to use Google Scholar data to put nice images on my professional website (girly habit). This post explains how I combined the functions available in the R package scholar with additional analyses (partially inspired from the script available at this link, which in my case results in a cannot

Read more »

Playing with leafletR

August 2, 2015
By

Coming back from a bicycle ride in Tarn, I wanted to have a look at the trip. This gave me the opportunity to learn how to use the R package leafletR to obtain an HTML map using leaflet and the great projects OpenStreetMap or Thunderforest (among others). Introduction To use leaflet over R, two packages

Read more »

Processing an XL grading sheet with R

June 13, 2015
By
Processing an XL grading sheet with R

This tutorial is dedicated to Vincent and to Erwan, the former for proposing me an interesting challenge to solve with R and the latter for his suspicious remarks about the language not being suited for this kind of task. Disclaimer: of course, this script can not be used on a computer with Windows OS... Problem

Read more »

SOMbrero v1.0 is released

March 28, 2015
By
SOMbrero v1.0 is released

New !!! SOMbrero is now on CRAN: http://cran.r-project.org/web/packages/SOMbrero You can visit its Web User Interface: http://shiny.nathalievilla.org/sombrero (SOMbrero WUI, v1.0 related to SOMbrero v1.0). The web user interface can also be used directly from the package with the function sombreroGUI(). SOMbrero is an R package dedicated to online (also called "on-line") Self-Organizing Maps. The version 0.4-1 of the

Read more »

Installing RStudio Server on Ubuntu Server

January 18, 2015
By

This tutorial describes the different steps required to install RStudio Server on Ubuntu Server (version 14.04 LTS). It is widely inspired from the official installation instructions Installing R First, R must be installed on the server. The best way to do so is to proceed as described on this page, that is: edit the file

Read more »

Producing student/teacher versions from a single Sweave file

December 16, 2014
By
Producing student/teacher versions from a single Sweave file

This tutorial describes how to integrate computable R code (and outputs) in a LaTeX documents in a such a way that a single file can generate two (or more) PDF files. This trick is particularly useful for creating worksheets for R courses. A very small introduction to integrating R code in LaTeX files R code

Read more »

Search and draw cities on a map using OpenStreetMap and R

June 28, 2014
By
Search and draw cities on a map using OpenStreetMap and R

(this tutorial can also by used dummies in geography...) This tutorial explains how to build a map from a matrix containing city names and corresponding country codes, as well as, eventually a frequency attached to each country. The script first find thanks to the nice open projet Open Street Map the coordinates of the corresponding

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)