diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index cf8586ac21bf40d46f964a68399ca5560086433c..154ca0ccfe0d3a3aa434023961cba3a5f3c59028 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -140,11 +140,47 @@ "plot(cars)" ] }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[1] 12\n" + ] + } + ], + "source": [ + "Titi <- 12\n", + "print(Titi)" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[1] 20\n" + ] + } + ], + "source": [ + "Toto <- Titi + 8\n", + "print(Toto)" + ] + }, { "cell_type": "markdown", "metadata": {}, "source": [ - "Les graphiques fonctionnent avec R." + "Les graphiques fonctionnent avec R, comme la completion des noms de variables et la colorisation du code." ] }, { @@ -157,21 +193,17 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" + "display_name": "R", + "language": "R", + "name": "ir" }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.4" + "codemirror_mode": "r", + "file_extension": ".r", + "mimetype": "text/x-r-source", + "name": "R", + "pygments_lexer": "r", + "version": "3.4.1" } }, "nbformat": 4,