Skip to main content

After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R.

bash-4.2$ R
/mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory.
ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found

We are running z/OS 2.1.

Thanks.

After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R.

bash-4.2$ R
/mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory.
ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found

We are running z/OS 2.1.

Thanks.

Looks like **/u/pdharr/Rnew/dist/**lib/R/etc/ldpaths needs to be replaced with $BASE/lib/R/etc/ldpaths

Is there a configuration file that needs to be updated?

I recommend for PATH, LIBPATH and TZDIR, adding the R dirs after the current variable settings.

export BASE="mydir/rocket/r3.3.1"
export PATH=$PATH:$BASE/bin
export LIBPATH=$LIBPATH:$BASE/lib
export TZDIR=$TZDIR:$BASE/lib/R/share/zoneinfo


After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R.

bash-4.2$ R
/mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory.
ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found

We are running z/OS 2.1.

Thanks.

Here’s the pdharr references in the R script.

grep pdharr /mydir/rocket/r3.3.1/bin/R

R_HOME_DIR=/u/pdharr/Rnew/dist/lib/R
if test “${R_HOME_DIR}” = “/u/pdharr/Rnew/dist/lib/R”; then
if [ -x “/u/pdharr/Rnew/dist/${libnn}/R/bin/exec/R” ]; then
R_HOME_DIR="/u/pdharr/Rnew/dist/${libnn}/R"
elif [ -x “/u/pdharr/Rnew/dist/${libnn_fallback}/R/bin/exec/R” ]; then
R_HOME_DIR="/u/pdharr/Rnew/dist/${libnn_fallback}/R"
R_SHARE_DIR=/u/pdharr/Rnew/dist/lib/R/share
R_INCLUDE_DIR=/u/pdharr/Rnew/dist/lib/R/include
R_DOC_DIR=/u/pdharr/Rnew/dist/lib/R/doc
SED=/u/pdharr/Rnew/dist/bin/sed


After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R.

bash-4.2$ R
/mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory.
ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found

We are running z/OS 2.1.

Thanks.

Sorry for delay. We are looking into these issues and will reply back shortly.


After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R.

bash-4.2$ R
/mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory.
ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found

We are running z/OS 2.1.

Thanks.

We have a new build of R beta that fixes these issues but it is packaged for better space utilization into multiple files which is not yet supported by Rocket’s public download pages and additionally it needs some testing. I could have this build for you by Wednesday. Would you like this new build?


After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R.

bash-4.2$ R
/mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory.
ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found

We are running z/OS 2.1.

Thanks.

A new build of R (v3.3.2) is now available on Rocket’s public download page. This release resolves the issues reported in this thread.


After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R.

bash-4.2$ R
/mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory.
ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found

We are running z/OS 2.1.

Thanks.

I have downloaded the R v3.3.2.
I think it should be 2 tar.gz files 1 for Python and 1 for R (there are 2 for R).

-rw-r–r-- 1 RXT025 OMVSDIS 156530869 Jan 7 18:02 r-3.3.2_b0005.161122.tar.gz
-rw-r–r-- 1 RXT025 OMVSDIS 320830688 Jan 7 20:28 r-3.3.2_b0005.170107.tar.gz


After downloading, unpacking the tar.gz file and updating/sourcing ~/.profile, I receive the following error when invoking R.

bash-4.2$ R
/mydir/rocket/r3.3.1/bin/R: line 238: /u/pdharr/Rnew/dist/lib/R/etc/ldpaths: EDC5129I No such file or directory.
ERROR: R_HOME (’/u/pdharr/Rnew/dist/lib/R’) not found

We are running z/OS 2.1.

Thanks.

I am trying to buils a ZFS containing all the Rocket software opensource langauges and tools
#I ftp’ed the r-3.3.2_b0005.170107.tar.gz from my workstation to my home directory on z/OS
#cd to where I want the untar to go and pick up tar.gz file from my home directory
cd /zusr/home/RXT025/rs
/bin/cat /zusr/home/RXT025/r-3.3.2_b0005.170107.tar.gz | gunzip -c | /bin/tar xUXof -

/bin/cat python-r-devel_b0005.161122.tar.gz | gunzip -c | /bin/tar xUXof -
/bin/cat r-3.3.2_b0005.161122.tar.gz | gunzip -c | /bin/tar xUXof -
/bin/cat r-3.3.2_b0005.170107.tar.gz | gunzip -c | /bin/tar xUXof -
ran /bin/fix-distribution
R appears to work

My question is how/what order should I add all the other opensource software to my “rs” directory
what about Python 2.7.6, It comes with R
what about sed what about…


I am trying to buils a ZFS containing all the Rocket software opensource langauges and tools
#I ftp’ed the r-3.3.2_b0005.170107.tar.gz from my workstation to my home directory on z/OS
#cd to where I want the untar to go and pick up tar.gz file from my home directory
cd /zusr/home/RXT025/rs
/bin/cat /zusr/home/RXT025/r-3.3.2_b0005.170107.tar.gz | gunzip -c | /bin/tar xUXof -

/bin/cat python-r-devel_b0005.161122.tar.gz | gunzip -c | /bin/tar xUXof -
/bin/cat r-3.3.2_b0005.161122.tar.gz | gunzip -c | /bin/tar xUXof -
/bin/cat r-3.3.2_b0005.170107.tar.gz | gunzip -c | /bin/tar xUXof -
ran /bin/fix-distribution
R appears to work

My question is how/what order should I add all the other opensource software to my “rs” directory
what about Python 2.7.6, It comes with R
what about sed what about…

It appears you figured out that the newer R is a bundle of newer versions of the two gzips that constituted the previous version of R (if THAT makes sense). In any case, throw away the 161122 gzips and use the one 170107 gzip for R.

As for python, there is a newer better python 2.7.12 available for download with links elsewhere posted on this forum (search python to find URLS).

Both are ported using z/OS enhanced ASCII features. Both are beta. We are focusing on finishing the python port along with a good set of libraries for graphics and data science applications (and including python 3 support) before we return our attention to finishing R. There has been a ton more interest in python than in R.

As for other tools, if you do not see what you want on our download pages on the Rocket Software web site, you may want to consider buying support as this grants you a lot of influence in setting our priorities (and you will get better support).

Regards,
-Peter