Skip to content

Commit 024abf8

Browse files
author
EC2 Default User
committed
upgraded the R version to 4.1.3
1 parent 49b5637 commit 024abf8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

RStudio/machine-images/config/infra/provisioners/provision-rstudio.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ sudo yum install -y libcurl-devel-7.79.1 libpng-devel-1.5.* cairo-devel-1.15.* p
88
sudo yum install -y xorg-x11-server-devel-1.20.* libX11-devel-1.6.* libXt-devel-1.1.*
99

1010
# Install R from source (https://docs.rstudio.com/resources/install-r-source/)
11-
R_VERSION="3.6.3"
11+
R_VERSION="4.1.3"
1212
mkdir -p "/tmp/R/"
13-
curl -s "https://cran.rstudio.com/src/base/R-3/R-${R_VERSION}.tar.gz" > "/tmp/R/R-${R_VERSION}.tar.gz"
13+
curl -s "https://cran.r-project.org/src/base/R-4/R-${R_VERSION}.tar.gz" > "/tmp/R/R-${R_VERSION}.tar.gz"
1414
cd "/tmp/R/"
1515
tar xvf "R-${R_VERSION}.tar.gz"
1616
cd "R-${R_VERSION}/"
17-
./configure --enable-memory-profiling --enable-R-shlib --with-blas --with-lapack
17+
./configure --enable-memory-profiling --enable-R-shlib --with-blas --with-lapack --with-pcre1
1818
sudo make
1919
sudo make install
2020
cd "../../.."

0 commit comments

Comments
 (0)