Problems when installing R and Rstudio in Ubuntu:
1. download R source code.
2. uncompress; then ./configure, but error occurs,
just because there are lack of some dependent packages.
install those libraries,mostly using "apt-get install lib(lib_name)-dev"
for example:
":configure: error: No F77 compiler found"
solution: sudo apt-get install gfortran. this because R needs fortran to make it.
“–with-x=yes (default) and X11 headers/libs are not available”
solution: sudo apt-get install libxt-dev
"configure: error: --with-readline=yes (default) and headers/libs are not available"
solution: sudo apt-get install libreadline-dev
1. download R source code.
2. uncompress; then ./configure, but error occurs,
just because there are lack of some dependent packages.
install those libraries,mostly using "apt-get install lib(lib_name)-dev"
for example:
":configure: error: No F77 compiler found"
solution: sudo apt-get install gfortran. this because R needs fortran to make it.
“–with-x=yes (default) and X11 headers/libs are not available”
solution: sudo apt-get install libxt-dev
"configure: error: --with-readline=yes (default) and headers/libs are not available"
solution: sudo apt-get install libreadline-dev
" configure: error: zlib library and headers are required"
solution: