Comments (9)
I think this is happening because either 1. Atom doesn't know what language the file you're editing is in, or 2. the kernels you're using don't declare their language.
Does the language show up in the status bar of Atom, like this?
If it does, would you mind updating to the version I just released, then popping open the dev tools and telling me what it says next to "Available kernels" when you try to run something?
from hydrogen.
Yep, I see the same thing in the status bar.
I opened up the dev tools, but don't know how to ask it for "Available Kernels"...
from hydrogen.
Found it:
Available kernels: Array[6]0:
Objectargv: Array[5]display_name: "R"__proto__: Object1:
Objectargv: Array[5]display_name: "Julia 0.3.6"language: "julia"__proto__: Object2:
Objectargv: Array[5]display_name: "Julia 0.3.6"language: "julia"__proto__: Object3:
Objectargv: Array[5]display_name: "Julia 0.3.8"language: "julia"__proto__: Object4:
Objectargv: Array[5]display_name: "Julia 0.4.0-dev"language: "julia"__proto__: Object5:
Objectargv: Array[5]display_name: "Python 3"language: "python"__proto__: Objectlength: 6__proto__: Array[0]
from hydrogen.
@spencerlyon2 I think the issue is that the R kernel isn't giving me a language field. Just pushed a patch — please update and give it a shot, and let me know if it's still broken!
from hydrogen.
That worked! Thanks
from hydrogen.
... well that works for julia and python, but not R.
When I try to run code in an R file it tells me that there is no kernel for r.
Here are the contents of ~/.ipython/kernels/ir/kernel.json
:
{"argv": ["R","-e","IRkernel::main()","--args","{connection_file}"],
"display_name":"R"
}
from hydrogen.
Whoops, forgot to make the other two lines of that change. Update and try it again?
I'm now using the display_name
if the kernelspec doesn't declare a language
.
from hydrogen.
@takluyver should IRkernel be declaring a language or is that an optional field?
from hydrogen.
Yes, I think we should be declaring a language. The spec changed a couple of times while we were developing IPython 3, and I guess I missed that one.
from hydrogen.
Related Issues (20)
- hydrogen fails to install on Atom HOT 2
- fialedto activate
- npm WARN deprecated [email protected] HOT 2
- Failed to activate the Hydrogen package HOT 18
- [email protected] failed
- Interactive input in output area
- VSCode: port or alternative HOT 12
- Uncaught Error: Cannot find module 'lodash/debounce'Require stack:- $ATOM_HOME/packages\Hydroge... HOT 3
- Uncaught error: no native build was found for platforms HOT 4
- Please port to Vs Code or any other IDE HOT 1
- Uncaught Error: No native build was found for platform=darwin arch=x64 runtime=electron abi=85 uv... HOT 2
- TypeError when using hydrogen with pulsar HOT 4
- Hi, If the notebook in "not trusted" mode. Just click on it and make it trusted then save the file. It will work fine.
- SCRIPT WONT EXECUTE. HOT 1
- can't rebuild zeromq for pulsar
- Newly installed python modules cannot be found by hydrogen in pulsar
- [18:30] r p npm WARN deprecated [email protected]: this library is no longer supported [18:31] r p npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic [18:31] r p npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic
- deleted
- Is this going to be maintained? HOT 5
- Publish Hydrogen to Pulsar Package Repository HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydrogen.