Showing posts with label big data. Show all posts
Showing posts with label big data. Show all posts

Friday, September 06, 2019

A useful disk.frame tutorial

Useful package and useful tutorial here.

Sunday, November 20, 2016

Tuesday, August 04, 2015

Friday, June 19, 2015

Sunday, June 14, 2015

How to use SparkR within Rstudio?

Setting up Spark and SparkR is quite easy (assume you are running v.1.4): just grab one of the pre-built binaries and unzip to a folder. There is also a shell script to start SparkR from command line. The document suggest to put the following lines

Sys.setenv(SPARK_HOME="/home/shige/bin/spark")
.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))
library(SparkR)
sc <- sparkR.init(master="local")

into the .Rprofile file. This, however, has the undesirable side effect of adding yet another directory to which R packages can be installed.

My solution is:

1. Create a soft link of the SparkR directory in the the directory where other R packages are installed (ln -s /home/shige/bin/spark/R/lib/SparkR /home/shige/R/x86_64-pc-linux-gnu-library/3.2)
2. Add (Sys.setenv(SPARK_HOME="/home/shige/bin/spark")) to the .Rprofile file.
3. Add (Sys.setenv(SPARKR_SUBMIT_ARGS ='"--packages" "com.databricks:spark-csv_2.10:1.0.3" "sparkr-shell"')) to the .Rprofile.

All set.

Saturday, June 13, 2015

SparkR

The SparkR project integrates R and Spark for big data processing. It looks very promising.

Friday, May 22, 2015

Snowdoop

This looks promising.

Monday, September 15, 2014

ffbases2

The "ffbase2" packages aims to combine the "dplyr" and "ff" packages, really cool.

Monday, June 23, 2014

RHadoop

Looks like RHadoop is still the tool of choice for R-based big data analysis.

I found this post helpful to get Hadoop installed on my workstation.

Monday, May 12, 2014

Monday, November 25, 2013

Use the open source R in the similar way to SAS

Here is how. Very good examples!

By the way, learning materials for the ff package are surprisingly sparse.

Tuesday, September 03, 2013

R and Hadoop

Some useful information here.

Wednesday, April 03, 2013

R 3.0 supports long vector

It is a very exciting news that the new R 3.0 supports long vector! This is major step toward a viable big data platform.

Counter