diff --git a/module2/ressources/emacs_orgmode.org b/module2/ressources/emacs_orgmode.org index f58f7783c6239d6c56ad998658202e6176c27740..bb8dcbdbec8610a9c645091722bde5d142f8f7f8 100644 --- a/module2/ressources/emacs_orgmode.org +++ b/module2/ressources/emacs_orgmode.org @@ -140,7 +140,7 @@ Open the =matplotlibrc= file and modify the line starting with =backend= to make it =backend : Agg=. * Python, R, and LaTeX -Computational documents contain code, which in the case of our MOOC use the languages Python and R. So you must install Python and R in addition to Emacs, unless of course they are already installed on your computer. Since Python and R are also used in the other paths of our MOOC, we explain their installation in a separate resource. +Computational documents contain code, which in the case of our MOOC use the languages Python and R. So you must install Python and R in addition to Emacs, unless of course they are already installed on your computer. Since Python and R are also used in the other paths of our MOOC, we explain their installation in a [[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/19c2b1de7766484bae73f3ab133463c6][separate resource]]. That same resource also explains how to install LaTeX, which you must have if you want to produce PDF versions of org-mode documents. For example, if you want to work with the replicable article stub (shown in [[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/9cfc7500f0ef46d288d2317ec7b037b4][this video]]), you must install LaTeX. However, it is a rather big piece of software (several GB), so you may prefer to skip its installation. It is not required to follow the MOOC. diff --git a/module2/ressources/jupyter.org b/module2/ressources/jupyter.org index 83aa7028d015f22e45e998fc5378a125e841427c..743c899723369594cb6e772cd441e27ada8135fd 100644 --- a/module2/ressources/jupyter.org +++ b/module2/ressources/jupyter.org @@ -1,5 +1,5 @@ # -*- mode: org -*- -#+TITLE: Jupyter : tips and tricks, Installing and configuring +#+TITLE: Jupyter : tips and tricks, installing and configuring #+AUTHOR: Arnaud Legrand, Benoit Rospars, Konrad Hinsen #+DATE: June, 2018 #+STARTUP: overview indent @@ -221,6 +221,8 @@ the =R_HOME= and =R_USER= environnement variables). You should be able to run Jupyter and to create a python notebook that runs R commands by following the instructions given in the beginning of this document (look for =rpy2=). +** LaTeX for PDF export +For exporting your notebooks as PDF files, you must also install LaTeX on your system. We describe this process in a [[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/19c2b1de7766484bae73f3ab133463c6][separate resource]]. ** Additional tips *** • Exporting a notebook Here is what we had to install on a recent Debian computer to make sure diff --git a/module2/ressources/jupyter_fr.org b/module2/ressources/jupyter_fr.org index d95411ae7cc8674e5ed62b0ce1894740d74c3c4b..d9fef69c06417fbeb22d2b575c59512550b539f1 100644 --- a/module2/ressources/jupyter_fr.org +++ b/module2/ressources/jupyter_fr.org @@ -255,6 +255,8 @@ besoin de définir les variables d'environnement =R_HOME= et =R_USER=). Vous pouvez alors lancer Jupyter et créer un notebook python utilisant R en suivant les instructions données au début de ce document (cherchez =rpy2=). +** LaTeX pour la génération de PDF +Si vous voulez convertir vos notebooks en PDF, vous devez aussi installer LaTeX sur votre ordinateur. Nous expliquons cette procédure dans une [[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/19c2b1de7766484bae73f3ab133463c6][ressource spécifique]]. ** Conseils additionnels *** • Exporter un notebook Jupyter évolue rapidement et ces informations peuvent vite devenir diff --git a/module2/ressources/rstudio.org b/module2/ressources/rstudio.org index 3464385e43d0b0d797a588f1b17159c1404e6506..902180717257390fa64293bb10f6ef911a8ddd0f 100644 --- a/module2/ressources/rstudio.org +++ b/module2/ressources/rstudio.org @@ -61,11 +61,7 @@ sudo dpkg -i rstudio-xenial-1.1.453-amd64.deb sudo apt-get update ; sudo apt-get -f install # to fix possibly missing dependencies #+END_SRC ** Mac OSX and Windows -#+BEGIN_QUOTE - Some instructions on installing R and knitr must be missing. This - should be tested and improved. -#+END_QUOTE -- Download and install R from the [[https://cran.r-project.org/][CRAN webpage]] by choosing the right operating system. +- Install R and Python following the instructions given in a [[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/19c2b1de7766484bae73f3ab133463c6][separate resource]]. - Download and install RStudio from the [[https://www.rstudio.com/products/rstudio/download/#download][RStudio webpage]] by choosing the right operating system. - Download and install MiKTeX from the [[https://miktex.org/download][MiKTeX webpage]] by choosing the right operating system. You will be prompted to install some specific packages when exporting to pdf. - Open RStudio and type the following commands in the console to install =knitr= and =ggplot2=: diff --git a/module2/ressources/rstudio_fr.org b/module2/ressources/rstudio_fr.org index df4e5701b352947fe7afaea4a48f2c25759ff818..7a07be0fc8952c3911518d2c4bdb9da060cbc25f 100644 --- a/module2/ressources/rstudio_fr.org +++ b/module2/ressources/rstudio_fr.org @@ -62,8 +62,7 @@ sudo dpkg -i rstudio-xenial-1.1.453-amd64.deb sudo apt-get update ; sudo apt-get -f install # to fix possibly missing dependencies #+END_SRC ** Mac OSX and Windows -- Télécharger et installer R depuis le [[https://cran.r-project.org/][site CRAN]] en choisissant le bon - système d'exploitation. +- Installer R et Python en suivant les instruction dans une [[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/19c2b1de7766484bae73f3ab133463c6][ressource spécifique]]. - Télécharger et installer RStudio depuis le [[https://www.rstudio.com/products/rstudio/download/#download][site RStudio]] en choisissant le bon système d'exploitation. - Télécharger et installer MiKTeX depuis le [[https://miktex.org/download][site MiKTeX]] en choisissant le bon