Installing R with INZA on pre-11.2.20
Learn how to install R as an in-database executable language by using the
installOpenSourceR.sh shell script.
Before you begin
- Ensure that Netezza Performance Server Analytics is
installed.
You can download Netezza Performance Server Analytics from Fix Central.
Several tools that you need to install R are provided as a part of Netezza Performance Server Analytics.
For R 3.5.1, use Netezza Performance Server Analytics 11.X.X.X. If you want to use the most recent version, you must download the source code for that version and place it in the correct destination directory.
- Ensure that you have an internet connection.
You need internet connection because the installation script automatically downloads Linux software dependencies for R if they are not installed on the system.
Tip: If you do not have internet connection, you can download the software dependencies and transfer them to the system manuallyThe necessary packages to install R:- ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz
- ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
- ftp://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz
- ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
- ftp://ftp.gnu.org/pub/gnu/make/make-3.82.tar.gz
- ftp://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz
- ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz
- ftp://ftp.gnu.org/gnu/findutils/findutils-4.4.2.tar.gz
- ftp://ftp.gnu.org/gnu/grep/grep-2.9.tar.gz
- ftp://ftp.gnu.org/gnu/sed/sed-4.2.tar.gz
- ftp://ftp.gnu.org/gnu/tar/tar-1.32.tar.xz"
- http://xcb.freedesktop.org/dist/libpthread-stubs-0.1.tar.bz2
- http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
- http://zlib.net/zlib-1.2.11.tar.gz
- https://sourceforge.net/projects/pcre/files/pcre/8.38/pcre-8.38.tar.gz/download
- https://sourceforge.net/projects/bzip2/files/latest/download
- http://tukaani.org/xz/xz-5.2.2.tar.bz2
- https://www.openssl.org/source/openssl-1.0.2h.tar.gz
- https://curl.haxx.se/download/curl-7.61.0.tar.bz2
- Ensure that you have the root password for the SPUs as some codes must be compiled on an SPU.
All operations on the host, including the launch of the
installOpenSourceR.shscript, are done by thenzuser. The root password for the host is not needed.