Addshore has uploaded a new change for review. https://gerrit.wikimedia.org/r/247824
Change subject: Improve README ...................................................................... Improve README betting markdown stuff also stuff about windows! Change-Id: Ic3c2c78d619a442c2c478079cfec11acc17ca4df --- M README.md 1 file changed, 27 insertions(+), 12 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikidata/analytics/dashboard refs/changes/24/247824/1 diff --git a/README.md b/README.md index 94cfdaa..af9a1aa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ ## Quick start -Install the dependencies: +### Install R: + +(Find instructions at https://cran.r-project.org/ for your OS) + +### Install the dependencies: ``` $ R @@ -9,9 +13,9 @@ "ggplot2", "toOrdinal", "plyr", "lubridate", "magrittr", "data.table", "XML", "DT")) ``` -Install RRDF Support: +#### Install Oracle 8 JRE: -Install Oracle 8 JRE: +##### Ubuntu ``` echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list @@ -22,28 +26,39 @@ exit ``` -then configure R to use it: +##### Windows + +Download from Oracle: +http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html + +#### Configure R to use JRE: + ``` R CMD javareconf ``` -Install rJava: +Note: this may not work and may not be needed for Windows + +#### Install rJava: + ``` $ R > install.packages("rJava") ``` -Download rrdf and rrdflibs from CRAN: -``` -wget https://cran.r-project.org/src/contrib/Archive/rrdf/rrdf_2.0.2.tar.gz -wget https://cran.r-project.org/src/contrib/Archive/rrdflibs/rrdflibs_1.3.0.tar.gz -``` -Install rrdflibs and rrdf: + +#### Download rrdf and rrdflibs from CRAN: + + - https://cran.r-project.org/src/contrib/Archive/rrdf/rrdf_2.0.2.tar.gz + - https://cran.r-project.org/src/contrib/Archive/rrdflibs/rrdflibs_1.3.0.tar.gz + +#### Install rrdflibs and rrdf: + ``` R CMD INSTALL rrdflibs_1.3.0.tar.gz R CMD INSTALL rrdf_2.0.2.tar.gz ``` -Run the server: +#### Run the server: ``` $ R -- To view, visit https://gerrit.wikimedia.org/r/247824 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic3c2c78d619a442c2c478079cfec11acc17ca4df Gerrit-PatchSet: 1 Gerrit-Project: wikidata/analytics/dashboard Gerrit-Branch: master Gerrit-Owner: Addshore <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
