[R] install R
p@u|@b|v@nd @end|ng |rom gm@||@com
Thu May 9 14:15:27 CEST 2019
I'd encourage you to install a full build system for your linux. That
way you are able to compile any contributed packages you may want.
Your linux package manager (apt, dnf, urpmi etc) may be able to
provide an R compiled package, which with the exception of
Debian/Ubuntu is likely to be several versions out of date. However,
they will provide a command to install all the things needed to
Something like dnf builddep R-cran-base-3.5.0.src.rpm will install all
the build dependencies for R 3.5.0, which should be good for 3.6.0
too. The names of the source file differ between distributions.
On Wed, 8 May 2019 at 23:20, John via R-help <r-help using r-project.org> wrote:
> On Wed, 8 May 2019 21:05:29 +0800 (CST)
> yueli <yueli7 using 126.com> wrote:
> > Hello,
> > I am trying to install R.
> > Thanks in advance for any help!
> > Yue
> It appears that your GCC compiler installation doesn't include all the
> compilers that can come with it. All those "no's" listed in your
> output listing should be "yes" to compile R, its help files, and
> various compiled material required by add-on packages (or just about
> anything else that needs a compiler other than vanilla C). At a
> minimum you should have both "gfortran" and "g++" in your /usr/bin
> directory. You can see from your output that the configure routine
> looks for several different alternatives for fortran compiler and none
> are found.
> As it stands, the only compiler you seem to have enabled appears to
> be the basic GNU C compiler. It looks as if you might have a minimal
> desktop system installed, but linux is open source, which means that to
> fully use it, you will want various compilers for any software that
> comes as source you want to compile. Your alternative with R
> would be to install the binary, but the lack of compilers will still be
> a problem with many packages you may want to use in R, since they too
> often use at least the Fortran compiler, and I'm pretty sure I have
> see g++ called as well.
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help