Commit a657bf1e authored by Konrad Hinsen's avatar Konrad Hinsen

Explanation of proxy and Python/R configuration in init.el

parent 52d79842
...@@ -188,7 +188,22 @@ Copy =rr_org/init.el= in your =~/.emacs.d/= directory. ...@@ -188,7 +188,22 @@ Copy =rr_org/init.el= in your =~/.emacs.d/= directory.
Alternatively, if you do not want to mess with your already existing Alternatively, if you do not want to mess with your already existing
emacs configuration, you may launch emacs with this specific emacs configuration, you may launch emacs with this specific
configuration with the following command: =emacs -q -l rr_org/init.el=. configuration with the following command: =emacs -q -l rr_org/init.el=.
** Step 3: Check whether the installation is working or not ** Step 3: Adapt the configuration to your specific needs if required
There are two situations in which it might be necessary to modify
=init.el=:
1. Your network environment forces you to use a proxy for access
to Web sites (HTTP(S) protocol).
2. You have multiple installations of Python or R on your computer,
or they are in unusual places and not fully configured.
If you can run
- "python3" and "R" under Linux and macOS
- "Python" and "R" under Windows
in a terminal without getting an error message, then you should
not have to do anything.
If you do have to modify =init.el=, check the comments at the
beginning of the file for instructions.
** Step 4: Check whether the installation is working or not
Open a new instance of Emacs and open a =foo.org= file. Copy the Open a new instance of Emacs and open a =foo.org= file. Copy the
following lines in this file: following lines in this file:
: #+begin_src shell :session foo :results output :exports both : #+begin_src shell :session foo :results output :exports both
...@@ -206,7 +221,7 @@ In the video, we already have demonstrated the main features and ...@@ -206,7 +221,7 @@ In the video, we already have demonstrated the main features and
shortcuts of emacs/org-mode that will help you maintain a document and shortcuts of emacs/org-mode that will help you maintain a document and
benefit from literate programming. The list of features and shortcuts benefit from literate programming. The list of features and shortcuts
is demonstrated in the [[https://app-learninglab.inria.fr/gitlab/learning-lab/mooc-rr-ressources/blob/master/module2/ressources/rr_org/journal.org][first entry of your labbook]]. is demonstrated in the [[https://app-learninglab.inria.fr/gitlab/learning-lab/mooc-rr-ressources/blob/master/module2/ressources/rr_org/journal.org][first entry of your labbook]].
** Step 4: Open and play with your journal: ** Step 5: Open and play with your journal:
In step 1, you were told to create an journal in In step 1, you were told to create an journal in
=~org/journal.org=. First you probably want to make sure this file is =~org/journal.org=. First you probably want to make sure this file is
backed up in a revision control system like git. We leave it up to you backed up in a revision control system like git. We leave it up to you
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment