R AnalyticFlow 1.0.4 Release Note

Nov 30, 2010


Table of Contents

About This Version
Installation on Windows
System Requirements
Download
Install R
Install R AnalyticFlow
Installation on Linux
System Requirements
Download
Install Java
Install R
R configuration
Install R add-on packages
Run R AnalyticFlow
Troubleshooting
Installation on Mac OS X
System Requirements
Download
Install Java
Configure Java
Install R
Install R add-on packages
Run R AnalyticFlow

About This Version

R AnalyticFlow 1.0.4 is now compatible with the latest version of R (2.12.0). For Windows only 32-bit version is supported.

Installation on Windows

This document explains how to install R AnalyticFlow on Windows. Follow this instruction to install the software properly.

Note

All the installation processes should be done with administrator authority.

System Requirements

  • OS: Windows (XP SP3 recommended. May run on 7 / Vista.)

  • R (from 2.5.1 to 2.12.x(32-bit))

Download

Installer program for windows platforms can be obtained from R AnalyticFlow website .

Install R

R is required for R AnalyticFlow. To obtain R, visit CRAN (The Comprehensive R Archive Network) mirror near you.

Install R AnalyticFlow

Note

If you have an earlier version of R AnalyticFlow on your system, please uninstall it before proceeding.

Execute R AnalyticFlow installer, and follow the instruction to install the software.

After the installation, a desktop icon will be created. Double-click the icon to execute R AnalyticFlow. If the installation is successful, two windows will be appeared after initial configurations.

In the case where you encounter some error, or the program does not run, uninstall all the software installed here and try re-install in the above order with administrator authority.

Installation on Linux

This document explains how to install R AnalyticFlow on Linux. Follow this instruction to install the software properly.

Note

All the installation processes should be done with administrator authority. This document supposes that you are in sodoers; you can use sudo command to behave as a super user.

System Requirements

  • Java SE Development Kit (Version 6)

  • R-2.5.1 or higher

  • R add-on packages (codetools and rJava)

As of November 2009, a quick validation has been done with the following distributions. Descriptions in this document are based on them.

  • Fedora 8

  • Ubuntu 7.10

Note

This document is witten to be useful; however, some parts might be inapplicable in your environment. We appreciate if you can share information on adjustments needed for particular systems.

Download

Download tar.gz archive from R AnalyticFlow website download page.

Install Java

Sun Microsystems Java SE Development Kit is required (Version 6). JDK is available from Sun Microsystems website . Linux installation process is explained in this installation notes by Sun Microsystems.

Ubuntu (or other Debian-based distributions)

The following command is available for Ubuntu (sources.list may need to be edited).

sudo aptitude install sun-java6-jdk

Install R

R-2.5.1 or higher is required for R AnalyticFlow. To obtain R, visit CRAN (The Comprehensive R Archive Network) mirror near you.

Ubuntu (or other Debian-based distributions)

The following command is available (sources.list may need to be edited).

sudo aptitude install r-base

Fedora

The following command is available.

sudo yum install r-base

R configuration

Execute the following command from console:

sudo R CMD javareconf

If it doesn't work well, JAVA_HOME may need to be specified. See the following example:

sudo R CMD javareconf JAVA_HOME=/usr/java/default

Install R add-on packages

Run R from console:

sudo R

Execute the following from the R console:

install.packages(c("codetools", "rJava"))

Run R AnalyticFlow

First extract the tar.gz archive:

tar xzvf RAnalyticFlow_Linux_1.0.4.tar.gz

Then a directory named "RAnalyticFlow_1.0.4" is created. Execute the following command in the directory to run R AnalyticFlow. If the installation is successful, two windows will be appeared after initial configurations.

./rflow &

Finally make a symbolic link to a directory in the path. For example:

ln -s rflow /usr/local/bin/rflow

Troubleshooting

Character corruption occurs in the R console

Set environment variable LANG properly with UTF-8 encoding. To use Japanese font, for example, type as follows:

export LANG=ja_JP.UTF-8

In the same way, use zh_CN.UTF-8 to use simplified Chinese, etc.

Some characters are displayed as ◻ in the R console

Fonts might not be installed properly. The following are examples to use Japanese sazanami font. In Debian, type

sudo aptitude install ttf-sazanami-gothic sudo
aptitude install ttf-sazanami-mincho

to install sazanami font.

In Fedora 8,

mkdir /usr/java/default/jre/lib/fonts/fallback
cd /usr/java/default/jre/lib/fonts/fallback
ln -s /etc/X11/fontpath.d/sazanami-fonts-gothic/sazanami-gothic-ttf

to set JRE to use sazanami font.

Installation on Mac OS X

This document explains how to install R AnalyticFlow on Mac OS X. Follow this instruction to install the software properly.

Note

All the installation processes should be done with administrator authority.

System Requirements

  • Java SE Runtime Environment Version 6

  • R-2.5.1 or higher

  • R add-on packages (codetools and rJava)

Note

As of December 2009, a quick validation has been done with the following environment: Mac OS X 10.5 (Leopard), Java SE 6 (64-bit) and R-2.10.1 (R-2.10.1.pkg, Three-way universal binary).

Download

Download zip file from R AnalyticFlow website download page.

Install Java

Apple Java (SE 6) is required. JDK is available from Apple website .

Configure Java

R AnalyticFlow should be run under Java SE 6. Configure Java with the Java Preferences utility (under /Applications/Utilities/).

Install R

R-2.5.1 or higher is required for R AnalyticFlow. To obtain R, visit CRAN (The Comprehensive R Archive Network) mirror near you.

Install R add-on packages

Execute the following from the R console:

install.packages(c("codetools", "rJava"))

Run R AnalyticFlow

Double-click on the zip file to expand. Then just drag and drop the expanded application icon to an appropriate folder (e.g. Applications) to complete the installation.

Double-click on application icon to execute the program. If the installation is successful, two windows will be appeared after initial configurations.