Category «R (misc)»

Erreur lors de l’installation du package ‘rgl’ sur Ubuntu et R 3.0.0Error while installing package ‘rgl’ on Ubuntu and R v3.0.0

Trying to install from inside R (version 3.0.0) the package rgl, I got the following error: configure: error: X11 not found but required, configure aborted. ERROR: configuration failed for package ‘rgl’ * removing ‘/home/nathalie/R/x86_64-pc-linux-gnu-library/3.0/rgl’ This problem is fixed by installing the dependencies in a terminal: sudo apt-get build-dep r-cran-rgl and installing agina the package rgl: …

Problème pour l’installation packages R dépendants de Rcpp dans Ubuntu 12.04Problem for installing R libraries compiled with Rccp in Ubuntu 12.04

Trying to install an R library depending on Rcpp, I got the following error message: install.packages(“wordcloud”) g++ -shared -o wordcloud.so layout.o Hello Nathalie! Welcome in R, the statistics program for satanic girls… -L/usr/lib/R/site-library/Rcpp/lib -lRcpp -Wl,-rpath,/usr/lib/R/site-library/Rcpp/lib Rrrr! R you really leaving? -L/usr/lib/R/lib -lR g++: error: Hello: No such file or directory g++: error: Nathalie!: No such …

yatocRpyatocRp

Ce post n’existe pas en Français…This post is just “Yet Another Tutorial on Creating R Packages” (on Linux). It should not be seen as a real tutorial, merely as a very short overview on the process of building packages. For more complete tutorials, see in French: Genolini’s tutorial; in English: Leisch’s tutorial, Yan and Rossini’s …