Re: [R-sig-Fedora] R_DOC_DIR on EL6

2016-09-22 Thread Martyn Plummer
On Thu, 2016-09-22 at 17:55 +0200, Jeroen Ooms wrote:
> On Wed, Sep 21, 2016 at 7:39 PM, Tom Callaway 
> wrote:
> > 
> > 
> > On 09/16/2016 10:28 AM, Jeroen Ooms wrote:
> > > 
> > > Where are the R docs located on EL6? It seems neither
> > > R.home("doc")
> > > nor Sys.getenv("R_DOC_DIR") exists?
> > 
> > /usr/share/doc/R-3.3.1
> > 
> 
> Can we set this in R_DOC_DIR accordingly so that it can be
> programmatically found?

R_DOC_DIR is set in the shell script /usr/bin/R that launches R. For a
default build of R it is ${R_HOME_DIR}/doc but the configure script
that builds R in the Fedora spec file resets it using the variable
rdocdir as described in the R-admin manual.

Martyn

> ___
> R-SIG-Fedora mailing list
> R-SIG-Fedora@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-fedora---
This message and its attachments are strictly confidenti...{{dropped:8}}

___
R-SIG-Fedora mailing list
R-SIG-Fedora@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora


Re: [R-sig-Fedora] R_DOC_DIR on EL6

2016-09-22 Thread Jeroen Ooms
On Wed, Sep 21, 2016 at 7:39 PM, Tom Callaway  wrote:
>
> On 09/16/2016 10:28 AM, Jeroen Ooms wrote:
> > Where are the R docs located on EL6? It seems neither R.home("doc")
> > nor Sys.getenv("R_DOC_DIR") exists?
>
> /usr/share/doc/R-3.3.1
>

Can we set this in R_DOC_DIR accordingly so that it can be
programmatically found?

___
R-SIG-Fedora mailing list
R-SIG-Fedora@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora


Re: [R-sig-Fedora] R_DOC_DIR on EL6

2016-09-21 Thread Tom Callaway
On 09/16/2016 10:28 AM, Jeroen Ooms wrote:
> Where are the R docs located on EL6? It seems neither R.home("doc")
> nor Sys.getenv("R_DOC_DIR") exists?

/usr/share/doc/R-3.3.1

~tom

==
Red Hat

___
R-SIG-Fedora mailing list
R-SIG-Fedora@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora