diff --git a/module2/ressources/rr_org/init.el b/module2/ressources/rr_org/init.el index 01b758661248c977b146cac2190c03ccfd7c13d4..b31ada9d601bf413573a7ba5ba67c91d845a7c82 100644 --- a/module2/ressources/rr_org/init.el +++ b/module2/ressources/rr_org/init.el @@ -13,7 +13,7 @@ (setq org-babel-python-command (if (memq system-type '(windows-nt ms-dos)) "Python" - "python3")) + "python3 -q")) ;; If the Python and R executables are on your system's search path, ;; you should not have to modify anything here. If Emacs does not find @@ -257,3 +257,5 @@ Entered on %U (add-hook 'org-babel-after-execute-hook 'org-display-inline-images) (add-hook 'org-mode-hook 'org-display-inline-images) (add-hook 'org-mode-hook 'org-babel-result-hide-all) + +(setq python-shell-completion-native-enable nil) diff --git a/module2/ressources/rr_org/init.org b/module2/ressources/rr_org/init.org index 60c3c6dd6ca3eba5c4c122419aa937459487bd53..cf259c1b136e551827db2cb4f11e9166c27d1fd7 100644 --- a/module2/ressources/rr_org/init.org +++ b/module2/ressources/rr_org/init.org @@ -36,7 +36,7 @@ document, simply =M-x org-babel-tangle=. (setq org-babel-python-command (if (memq system-type '(windows-nt ms-dos)) "Python" - "python3")) + "python3 -q")) ;; If the Python and R executables are on your system's search path, ;; you should not have to modify anything here. If Emacs does not find @@ -431,3 +431,9 @@ To use this type