[R] Why Rprofile.site is not built with manual installation of R devel in linux?

Iago Giné Vázquez |@go@g|ne @end|ng |rom @jd@e@
Thu Nov 9 11:59:44 CET 2023


Hi all,

I downloaded R-devel as explicited in https://developer.r-project.org/SVNtips.html
Then, I tried to install it through instructions in https://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Installation
(taking into account also https://stat.ethz.ch/pipermail/r-devel/2016-May/072777.html)
So:
export REPOS=https://svn.r-project.org/R
export RTOP=~ #adjust as necessary
cd $RTOP
svn co $REPOS/trunk r-devel/R
cd r-devel/R
tools/rsync-recommended
mkdir ../build-R
 cd ../build-R
 ../R/configure --prefix=/where/you/want/R/to/go
 make
 make check
make install
make install-tests
cd tests
## followed by one of
../bin/R CMD make check
../bin/R CMD make check-devel

And here I get the following error
checking package 'base'
Error in file(filename, "r", encoding = encoding) :
  cannot open the connection
Calls: source -> file
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
  cannot open file '.../etc/Rprofile.site': No such file or directory
Execution halted

where the dots ... specify the path to the build-R folder where R-devel was built. And I check the etc folder and indeed there is no the Rprofile.site
-rw-r--r-- 1 iago iago  209 Nov  9 08:27 javaconf
-rw-r--r-- 1 iago iago  770 Nov  9 08:35 ldpaths
-rw-r--r-- 1 iago iago 6672 Nov  9 08:35 Makeconf
-rw-r--r-- 1 iago iago 3336 Nov  9 08:27 Makefile
-rw-r--r-- 1 iago iago 1853 Nov  9 08:27 Renviron
-rw-r--r-- 1 iago iago 1173 Nov  9 08:32 repositories

I note that make install installed R in the path I specified in  ../R/configure --prefix=/where/you/want/R/to/go
however
    1. make install-tests installed the tests folder in build-R .
    2.  In the installed R in /where/you/want/R/to/go, there is no even etc folder, there are only the folders bin, lib and share.

Am I  skipping some step? I am on Debain 12.

Thank you!


Iago

	[[alternative HTML version deleted]]



More information about the R-help mailing list