Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jinghuazhao committed May 4, 2024
1 parent 624f99f commit b91067b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ Fedora 36 setup gets easier to start with 'sudo dnf install R-devel' followed by

Note that some errors can only be seen through R CMD INSTALL.

### .Rprofile

```
options(repos = c(CRAN="https://cran.r-project.org"))
```

### .R/Makevars

```bash
Expand Down
3 changes: 2 additions & 1 deletion docs/csd3-gcc11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ export dest=${version}-gcc11
export R_LIBS=${rds}/R-gcc11
cd ${prefix}
mkdir ${dest}
umask 022
wget -qO- https://cran.r-project.org/src/base/R-${major}/R-${version}.tar.gz | \
tar xvfz - -C ${dest} --strip-components=1
tar --no-same-owner xfz - -C ${dest} --strip-components=1
cd ${dest}
./configure --prefix=${prefix}/${dest} --with-pcre2 --enable-R-shlib
make
Expand Down
3 changes: 2 additions & 1 deletion docs/csd3-icelake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ export dest=${version}-icelake
export R_LIBS=${rds}/R-icelake
cd ${prefix}
mkdir ${dest}
umask 022
wget -qO- https://cran.r-project.org/src/base/R-${major}/R-${version}.tar.gz | \
tar xvfz - -C ${dest} --strip-components=1
tar --no-same-owner xfz - -C ${dest} --strip-components=1
cd ${dest}
./configure --prefix=${prefix}/${dest} --with-pcre2 --enable-R-shlib
make
Expand Down
3 changes: 2 additions & 1 deletion docs/csd3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ export dest=${version}
export R_LIBS=${rds}/R
cd ${prefix}
mkdir ${dest}
umask 022
wget -qO- https://cran.r-project.org/src/base/R-${major}/R-${version}.tar.gz | \
tar xvfz - -C ${dest} --strip-components=1
tar --no-same-owner xfz - -C ${dest} --strip-components=1
cd ${dest}
./configure --prefix=${prefix}/${dest} --with-pcre2 --enable-R-shlib
make
Expand Down

0 comments on commit b91067b

Please sign in to comment.