Table des matières

R, RStudio, RWeka, etc…

Problèmes

13 juin 16 impossible d'utilsier RStudio à travers X2go sur un mac

[ghenry@judith ~]$ rstudio
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: XCB error: 172 (Unknown), sequence: 161, resource id: 163, major code: 149 (Unknown), minor code: 20
QXcbConnection: XCB error: 172 (Unknown), sequence: 406, resource id: 163, major code: 149 (Unknown), minor code: 20

Installations

sur MacosX Capitan

sudo R CMD javareconf
install.packages('rJava', type='source')
dyn.load('/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/server/libjvm.dylib')

ça tombe en marche

source("http://bioconductor.org/biocLite.R")
biocLite("RWeka")
library(RWeka)
J48(iris[,5]~.,iris)