When I create a new instance following the directions here https://cloud.google.com/architecture/data-science-with-r-on-gcp-eda, the notebook cannot connect to the R kernel. It says initializing, then connecting then it disconnects.
When I SSH to the server and call curl http://127.0.0.1:8080/api/kernelspecs
, I get the following output.
{
"default": "python3",
"kernelspecs": {
"python3": {
"name": "python3",
"spec": {
"argv": [
"/opt/conda/bin/python", "-m","ipykernel_launcher", "-f", "{connection_file}"
],
"env": {},
"display_name": "Python 3",
"language": "python",
"interrupt_mode": "signal",
"metadata": {"debugger": true}
},
"resources": {
"logo-32x32": "/kernelspecs/python3/logo-32x32.png",
"logo-64x64": "/kernelspecs/python3/logo-64x64.png"
}
},
"ir": {
"name": "ir",
"spec": {
"argv": [
"/usr/lib/R/bin/R", "--slave", "-e", "IRkernel::main()", "--args", "{connection_file}"
],
"env": {},
"display_name": "R",
"language": "R",
"interrupt_mode": "signal",
"metadata": {}
},
"resources": {
"kernel.js": "/kernelspecs/ir/kernel.js",
"logo-64x64": "/kernelspecs/ir/logo-64x64.png"}
},
"conda-root-py": {
"name": "conda-root-py",
"spec": {
"argv": ["/opt/conda/bin/python", "-m", "ipykernel_launcher", "-f", "{connection_file}"
],
"env": {},
"display_name":
"Python [conda env:root] *",
"language": "python",
"interrupt_mode": "signal",
"metadata": {
"debugger": true,
"conda_env_name": "root",
"conda_env_path": "/opt/conda"
}
},
"resources": {
"logo-32x32": "/kernelspecs/conda-root-py/logo-32x32.png",
"logo-64x64": "/kernelspecs/conda-root-py/logo-64x64.png"
}
}
}
}root@r-ma5832xxxxxxxxx
Is this right for an instance that was created using the R4.0 environment option?