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

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Thu Nov 9 21:08:07 CET 2023


No clue. Tip: R-devel is the mailing list for anything related to development versions of R. Off-topic here.

On November 9, 2023 2:59:44 AM PST, "Iago Giné Vázquez" <iago.gine using sjd.es> wrote:
>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]]
>
>______________________________________________
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-help mailing list