Essais

parent cb13931c
...@@ -179,6 +179,87 @@ ...@@ -179,6 +179,87 @@
"%%R\n", "%%R\n",
"plot(cars)" "plot(cars)"
] ]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Persistance des variables ?"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[1] 1.5\n"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%%R\n",
"1.5 -> test\n",
"print(test)"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[1] 1.5\n"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%%R\n",
"print(test)"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"Error in plot(xy) : object 'xy' not found\n"
]
}
],
"source": [
"%%R\n",
"plot(xy)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Oui de R à R pas depuis python."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
} }
], ],
"metadata": { "metadata": {
......
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