[R] Errors on install...

Randall Skelton rhskelto at atm.ox.ac.uk
Wed May 9 19:46:14 CEST 2001


Can anyone confirm what the permissions after installation should be in
/usr/local/lib/R/library/base and the directories along the way.

As it stands, the installer seems to make the directories executable only
to the installer (suid) and the permissions for the files in the above
directory are:

-rw-------  1 root  wheel    2099 May  9 18:12 Rprofile
-rw-------  1 root  wheel  683471 May  9 18:12 base

The quick-fix (or dirty hack?) solution was to move to /usr/local/lib/R
and 'chmod -R a+r' and 'find . -type d -exec chmod 755 {} \;'

Cheers,
Randall

---------- Forwarded message ----------
Date: Wed, 9 May 2001 17:21:13 +0100 (BST)
From: Randall Skelton <rhskelto at atm.ox.ac.uk>
To: r-help at lists.R-project.org
Subject: Errors on install...

Hi all,

I found the web site for R and decided to install it on my freebsd system;
however, I have run into 'permission problems' during execution.  I do the
standard .configure, make, make check, make install and install into the
default location of /usr/local/... but when a normal user attempts to run
'R' I get the following: 

--- 
[tulip ~]% R

R : Copyright 2001, The R Development Core Team
Version 1.2.3  (2001-04-26)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.

R is a collaborative project with many contributors.
Type `contributors()' for more information.

Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.

Fatal error: unable to open the base package
---

What leads me to believe this is a permission problem is that root can run
the package just fine from /usr/local/bin/R, as I could when I tested it
locally by executing it in my non-suid account (i.e. after building it
running /export/home/testaroo/R-1.2.3/bin/R as a normal user works
fine).

A normal user can get R to issue direct commands such as --help,
--version, RHOME...

---
[tulip ~]% R --version
R 1.2.3 (2001-04-26).
Copyright (C) 2001 R Development Core Team

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the GNU
General Public License.  For more information about these matters,
see http://www.gnu.org/copyleft/gpl.html.
[tulip ~]% R RHOME
/usr/local/lib/R
---

Please reply directly as I am not (yet?) subscribed to the group...

Cheers,
Randall

---
Atmospheric, Oceanic and Planetary Physics
University of Oxford




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list