| @@ -233,7 +233,14 @@ tar xj --strip-components=1 · 232 unmodified lines |
| 233 | ``` | 233 | ``` |
| 234 | | 234 | |
| 235 | ## R | 235 | ## R |
| | 236 | |
| 236 | ```bash | 237 | ```bash |
| | 238 | sudo dnf install bzip2-devel |
| | 239 | sudo dnf install gcc-gfortran |
| | 240 | sudo dnf install libcurl-devel |
| | 241 | sudo dnf install texinfo |
| | 242 | sudo dnf install xz-devel |
| | 243 | |
| 237 | DEVDOCSROOT=docs/r | 244 | DEVDOCSROOT=docs/r |
| 238 | RLATEST=https://cran.r-project.org/src/base/R-latest.tar.gz # or /R-${VERSION::1}/R-$VERSION.tar.gz | 245 | RLATEST=https://cran.r-project.org/src/base/R-latest.tar.gz # or /R-${VERSION::1}/R-$VERSION.tar.gz |
| 239 | | 246 | |
| @@ -243,7 +250,7 @@ mkdir -p "$RSOURCEDIR" "$RBUILDDIR" "$DEVDOCSROOT" · 3 unmodified lines |
| 243 | | 250 | |
| 244 | # Download, configure, and build with static HTML pages | 251 | # Download, configure, and build with static HTML pages |
| 245 | curl "$RLATEST" | tar -C "$RSOURCEDIR" -xzf - --strip-components=1 | 252 | curl "$RLATEST" | tar -C "$RSOURCEDIR" -xzf - --strip-components=1 |
| 246 | (cd "$RBUILDDIR" && "$RSOURCEDIR/configure" --enable-prebuilt-html --with-recommended-packages --disable-byte-compiled-packages --disable-shared --disable-java) | 253 | (cd "$RBUILDDIR" && "$RSOURCEDIR/configure" --enable-prebuilt-html --with-recommended-packages --disable-byte-compiled-packages --disable-shared --disable-java --with-readline=no --with-x=no) |
| 247 | make _R_HELP_LINKS_TO_TOPICS_=FALSE -C "$RBUILDDIR" | 254 | make _R_HELP_LINKS_TO_TOPICS_=FALSE -C "$RBUILDDIR" |
| 248 | | 255 | |
| 249 | # Export all html documentation built − global, and per-package | 256 | # Export all html documentation built − global, and per-package |