Tuesday, February 5, 2013

R Error package ‘xlsx’ is not available


Ever wanted to work with Excel sheets or collaborate with non OSS folks data in R and got that error. Make sure you have this done on Ubuntu **

So have in mind that you need to install rjava, and to do this follow the steps below:- got to **nix prompt and run the line below.

$sudo aptitude install r-cran-rjava

Next step is kick off your R shell and install the "xlsx" package with the lines below:

> install.packages('xlsx')

> library(xlsx)
Loading required package: xlsxjars
Loading required package: rJava

No comments:

Post a Comment

Add any comments if it helped :)