Displaying 20 results from an estimated 24 matches for "r_share_dir".
2008 Apr 07
1
R_SHARE_DIR not defined for use in tests/Makefile running under Windows
The make variable $(R_SHARE_DIR) seems to be available for use in
tests/Makefile when running under Linux, but not Windows (R-2.6.2, R-2.6.1,
R-2.7.0 alpha 2008-04-06, under Windows XP 64 bit, built locally for 32 bit).
Is this intentional, or an oversight? Is it OK to use $(R_HOME)/share
instead (seems to work OK)?
I notic...
2010 Jun 09
2
Question on trying to build R 2.11.1 on Tru64(aka OSF1)
...apper for all R CMD commands.
## For internal use only.
R_CMD="${R_HOME}/bin/Rcmd"
export R_CMD
R_VERSION=2.11.1
export R_VERSION
R_OSTYPE="unix"
export R_OSTYPE
## Add 'share/perl' to the perl library path.
if test -n "${PERL5LIB}"; then
PERL5LIB="${R_SHARE_DIR}/perl:${PERL5LIB}"
export PERL5LIB
else
PERLLIB="${R_SHARE_DIR}/perl:${PERLLIB}"
export PERLLIB
fi
## Append 'share/texmf' to TeX's input search path.
if test -z "$TEXINPUTS}"; then
TEXINPUTS=".:${R_SHARE_DIR}/texmf:"
else
TEXINPUTS=".:...
2015 Feb 27
2
The Environment variables settings in bin/R, why do they ignore environment variables of the same name?
Hello,
In installation/R/bin/R i notice
1. R_HOME_DIR is hard coded e.g.
R_HOME_DIR=/usr/local/lib64/R
2. It ignores R_HOME_DIR
echo "WARNING: ignoring environment value of R_HOME"
3. R_SHARE_DIR, R_INCLUDE_DIR and R_DOC_DIR are also hard coded.
Is there a reason why these settings do not read the values from the
environment variables of the same name (assuming they exist) and
defaulting to these hard coded values in case they dont?
Regards
Saptarshi
2009 Oct 15
0
let R and Rscript infer paths from their own location (PR#14007)
...## else -- leave alone (might be a sub-arch)
fi
;;
esac
if test -n "${R_HOME}" && \
test "${R_HOME}" != "${R_HOME_DIR}"; then
echo "WARNING: ignoring environment value of R_HOME"
fi
R_HOME="${R_HOME_DIR}"
export R_HOME
R_SHARE_DIR="${R_HOME}/share"
export R_SHARE_DIR
R_INCLUDE_DIR="${R_HOME}/include"
export R_INCLUDE_DIR
R_DOC_DIR="${R_HOME}/doc"
export R_DOC_DIR
...
----
There are some things that I don't understand about the original script, though.
Why does it start with a test that alw...
2019 Jan 23
0
So nearly there, but can't install rJava
...call
> failed / didn't return the expected test result.
>
> You could try to run that code manually and see what you get and where
> the problem is:
>
>> JAVA=`R CMD config JAVA`
>> echo $JAVA
>> ## /usr/lib/jvm/default-java/jre/bin/java
>
>> R_SHARE_DIR=`R --slave -e 'cat(R.home("share"))'`
>> echo $R_SHARE_DIR
>> ## /usr/share/R/share
>
>> tools_classpath=${R_SHARE_DIR}/java
>> ls $tools_classpath
>> ## getsp.class README
>
>> $JAVA -classpath ${tools_classpath} getsp -test
>...
2006 Dec 07
2
help-links.sh not found by help.start() -- do I need to recompile?
Dear Rexperts,
after building R 2.4.0 from source in a temporary directory (*without*
installation), and subsequently moving the whole source/build tree to
another location, I have noticed that I had to change the variables
R_SHARE_DIR, R_INCLUDE_DIR, and R_DOC_DIR in the wrapper-script
/lib/R/bin/R as to reflect the current situation.
However, when I try to run the HTML help via help.start() I still get an
error message saying that:
sh: /tmp/r-project-build/usr/lib/R/share/sh/help-links.sh: No such file
or directory
Intere...
2009 Jul 28
1
R --vannilla for install/remove/shlib(Re: R 2.8->2.9 change that breaks some upgrade scenarios)
...-vanilla --slave --args ${args}
diff --git a/src/scripts/REMOVE b/src/scripts/REMOVE
index dcbe5bf..0be7462 100644
--- a/src/scripts/REMOVE
+++ b/src/scripts/REMOVE
@@ -1,4 +1,4 @@
# ${R_HOME}/bin/REMOVE for removing add-on packages
-R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" -f "${R_SHARE_DIR}/R/REMOVE.R" --no-restore --slave --args $@
+R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" -f "${R_SHARE_DIR}/R/REMOVE.R" --vanilla --slave --args $@
diff --git a/src/scripts/SHLIB b/src/scripts/SHLIB
index d0ab9a0..ab62369 100644
--- a/src/scripts/SHLIB
+++ b/src/scripts/SHL...
2011 Aug 19
1
Windows 7 issues with installing packages and setting library paths
...it), I found that I can?t install or update any packages due to missing writing permissions.
I managed to get full access to a directory on my C:\ drive now - but how do I specify that all libraries shall be installed into this directory?
In Rcmd_environ I have the following entries:
## from R.sh
R_SHARE_DIR="C:\\Program Files\\R\\R-2.13.1\share"
R_INCLUDE_DIR="C:\\Program Files\\R\\R-2.13.1\share\include"
R_DOC_DIR="C:\\Program Files\\R\\R-2.13.1\share\doc"
R_ARCH=
R_LIBS_USER="C:\\Program Files\\R\\R-2.13.1\\library"
R_LIBS="C:\\Program Files\\R\\R-2.13.1\...
2006 Feb 02
2
RHOME
R-help --
I built R-2.2.1 in my own directory on a sun (solaris). Now I would like
the sysadmin to move the contents to /usr/local/lib and place the binary
in /usr/local/bin. No problem. However, the RHOME variable defaults to
the directory from which R was built so it is not usable by anyone but me
or ROOT. I would like to avoid building this again if possible. Any ideas?
Thanks,
Dan
2007 Jul 02
2
Problem installing R packages in OpenBSD
OS: OpenBSD version 4.1 i386
R version 2.4.1 (2006-12-18) installed as a binary package
$ ls
mapproj_1.1-7.1.tar.gz maps_2.0-36.tar.gz
$ sudo R CMD INSTALL mapproj_1.1-7.1.tar.gz
/usr/local/lib/R/bin/INSTALL[118]:
.: /usr/obj/i386/R-2.4.1/fake-i386/usr/local/lib/R/share/sh/dcf.sh: not
found
I get the same error message from the R command prompt using
2018 Dec 21
2
Bug report: R.home() cause package Rcpp failed executing sourceCpp, similar bug are labeled "BUG 16660" since 2016 and here I could provide a solution that tested in my laptop.
...h <- .Internal(R.home())
paste0('"',switch(component, home = rh, bin = if (.Platform$OS.type ==
"windows" && nzchar(p <- .Platform$r_arch)) file.path(rh,
component, p) else file.path(rh, component), share = if (nzchar(p <- Sys.getenv("R_SHARE_DIR"))) p else file.path(rh,
component), doc = if (nzchar(p <- Sys.getenv("R_DOC_DIR"))) p else file.path(rh,
component), include = if (nzchar(p <- Sys.getenv("R_INCLUDE_DIR"))) p else file.path(rh,
component), modules = if (nzchar(p <- .Platfor...
2019 Jan 22
3
So nearly there, but can't install rJava
Thanks Dirk and Enrico,
First clarification: I'm in this mess because I'm trying to run R 3.5.2 within Debian stable (9/"sretch") using the stretch-cran35 repository. That uses and provides r-api-35 but many of the packages depend upon r-api-3. As Johannes said a day or so back, the way around this is to use install.packages() in R to get the packages you want. That leads you
2017 Apr 06
3
failure of make check-all
...; "R_PAPERSIZE"
< [59] "R_PAPERSIZE_USER" "R_PDFVIEWER"
< [61] "R_PLATFORM" "R_PRINTCMD"
< [63] "R_PROFILE" "R_PROFILE_USER"
< [65] "R_RD4PDF" "R_SESSION_TMPDIR"
< [67] "R_SHARE_DIR" "R_SYSTEM_ABI"
< [69] "R_TEXI2DVICMD" "R_UNZIPCMD"
< [71] "R_VERSION" "R_ZIPCMD"
< [73] "SED" "SESSION"
< [77] "SHELL" "SHLVL"
< [79] "SSH_AGENT_PID" "SS...
2017 Apr 06
0
failure of make check-all
...SIZE"
> < [59] "R_PAPERSIZE_USER" "R_PDFVIEWER"
> < [61] "R_PLATFORM" "R_PRINTCMD"
> < [63] "R_PROFILE" "R_PROFILE_USER"
> < [65] "R_RD4PDF" "R_SESSION_TMPDIR"
> < [67] "R_SHARE_DIR" "R_SYSTEM_ABI"
> < [69] "R_TEXI2DVICMD" "R_UNZIPCMD"
> < [71] "R_VERSION" "R_ZIPCMD"
> < [73] "SED" "SESSION"
> < [77] "SHELL" "SHLVL"
> < [79] "SSH_AGENT_PID...
2008 Nov 29
1
unrelated software install triggering an error from R's install script on Mac OS X 10.5
...ork/Resources/bin/install: line 113:
/sh/dcf.sh: No such file or directory
make[2]: *** [install-pycairoexecLTLIBRARIES] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
Editing /Library/Frameworks/R.framework/Resources/bin/install, and
hard-code the right path to R_SHARE_DIR is obviously an option, but I
would like to hear that something more elegant is possible.
Laurent
2009 Apr 09
0
how to add a target to the Make that R CMD check uses for running tests?
...e levels of protection to avoid calling make with
# the target 'all-Rt' more than once, because this makefile is
# read many times. Condition on DONEFORCE being not defined
# to avoid infinite recursion.
ifeq ($(strip $(DONEFORCE)),)
%: force
@(if [ ! -f forceonce ] ; then \
$(MAKE) -f $(R_SHARE_DIR)/make/$(RSHAREMAKEFILE) $(makevars) -f $(MAINTESTMAKE) DONEFORCE=TRUE all-Rt ; \
fi )
@touch forceonce
force: ;
endif
This code causes 'make' to be called just once with the target 'all-Rt', using appropriate settings for RSHAREMAKEFILE (either 'tests.mk' or 'wintest...
2010 Jun 08
3
Question on trying to build R 2.11.1 on Tru64(aka OSF1) system
Hello,
I am trying to build the R-2.11.1 software for university faculty to use in
research projects on a DEC/Compaq/HP AlphaServer model GS160 16CPU/64GB memory
running Tru64Unix aka OSF1 version 5.1B-5.
Is it known whether it is possible to build the R-2.11.1 software on the
platform I am using?
In my attempts to build the R-2.11.1 software, I first used the native C
and Fortran 77/90/95
2024 Jan 10
1
Sys.which() caching path to `which`
Hello R-devel,
Currently on Unix-like systems, Sys.which incorporates the absolute
path to the `which` executable, obtained at the configure stage:
> ## hopefully configure found [/usr]/bin/which
> which <- "@WHICH@"
> if (!nzchar(which)) {
> warning("'which' was not found on this platform")
This poses a problem for the Spack package
2015 Aug 14
2
Build R on Haiku
...GES="NULL"
export R_DOC_DIR="/Store/buildr/doc"
export R_ENVIRON=""
export R_ENVIRON_USER=""
export R_HOME="/Store/buildr"
export R_INCLUDE_DIR="/Store/buildr/include"
export R_PROFILE=""
export R_PROFILE_USER=""
export R_SHARE_DIR="/Store/buildr/share"
export SAFEMODE="no"
export SED="/bin/sed"
export SHLVL="7"
export TERM="xterm"
export TTY="/dev/tt/p1"
export TTYPE="UTF-8"
export USER="user"
export XDG_CACHE_HOME="/boot/home/config/cache&q...
2015 Oct 19
1
R 3.2.2 - make check and install package hang
...R_LIBS_SITE
R_LIBS_USER ~/R/x86_64-unknown-linux-gnu-library/3.2
R_PAPERSIZE a4
R_PDFVIEWER /usr/bin/xdg-open
R_PLATFORM x86_64-unknown-linux-gnu
R_PRINTCMD lpr
R_RD4PDF times,hyper
R_SESSION_TMPDIR /tmp/Rtmphn5m15
R_SHARE_DIR /cm/shared/apps/R/3.2.1/lib64/R/share
R_SYSTEM_ABI linux,gcc,gxx,gfortran,?
R_TEXI2DVICMD /usr/bin/texi2dvi
R_UNZIPCMD /usr/bin/unzip
R_ZIPCMD /usr/bin/zip
SED /bin/sed
SGE_ROOT /cm/shared/apps/uge/8.2.1...