Optional R Statistics Analysis Installation

R Statistics Analytics

Integrated with R statistics engine, the report shows SVG vector graphic of R graphs and table results on screen.

  • Share statistical analysis results among users by server service
  • Using data filter and dashboard interaction more dynamic analysis using R is possible.
  • Using template page to generate R script as business meaningful folder, end user can start analysis using advanced statistics.
  • SVG vector graphic is output on web page with high quality images
  • Multiple graphic image of R results are supported on browser.


R Server Installation

Install R Client application

Download and install R client program on the following URL:

R Statistics Project website : http://cran.r-project.org

Install R Server Module

Open R command prompt and install module for server service. The command on prompt is as follows:



Or on the R prompt type following commands to install Rserve module.

R> install.packages("Rserve");
R> q();


Install Interface and Output module

   Download and install amplixplot_0.5-0.tar.

   On R prompt type following command.

R CMD INSTALL amplixpplot_0.5.-0.tar


   Check console to find any errors on this step.

Running R Serve module

Start background Rserve module to serve on web service.

On R command prompt

cmd> R CMD Rserve


On R prompt windows

R> library(Rserve);
R> Rserve();


DO NOT close R serve screen.


Asian locale support on Rserve

Asian character need to execute following steps to proper encode text to UTF8.

Follow following steps to service Rserve with UTF8 encoding.

> getOption("encoding");

[1] "native.enc"

If the output is *native.enc*, then type following command to change encode to UTF8

> options(encoding="utf8");

To check configuration option, type following command.

> getOption("encoding");

[1] "utf8"

Followng start Rserve with UTF-8 enabled options.

> library(Rserve);
> Rserve(args="--RS-encoding utf8");

Starting Rserve...

"c:\PROGRA~1\R\R-30~1.2\library\Rserve\libs\i386\Rserve.exe" --RS-encoding utf8

> Rserve: Ok, ready to anwswer queries.


The following command shows available locales on the system.

Get system locale information

> Sys.getlocale()

[1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252"

Setting system locale information on UNIX or MacOS

> Sys.setlocale("LC_MESSAGES", 'en_US.UTF-8')