-1

I successfully set up R in my new Atom editor and can get in-line results using the Hydrogen package. I just noticed, however, that when I run lines to obtain "R Documentation" that would pop up automatically in RStudio, Hydrogen only gives me a check mark in-line result with no associated documentation.

Here is what is going on in my Atom editor when I run ?plot

enter image description here

Here is what happens in RStudio (bottom right pane), which I am hoping I can get in Atom

enter image description here

How can I get this working in Atom?

halfer
  • 19,824
  • 17
  • 99
  • 186
Shaan C
  • 1
  • 1
  • **DO NOT post images of code, data, error messages, etc.** - copy or type the text into the question. [ask] – Rob Jan 19 '21 at 22:09

2 Answers2

0

try hydrogen -> Toggle inspector

Liv
  • 46
  • 4
-1

I had the same question and actually made a little progress. Perhaps someone more experienced than I can use this to make a package to enable an in-atom help documentation panel for us :)

Anyway you can install the atom package 'script' which will properly output some, but not all, help documents. I have an example of one working & one not working.

Working ?read.csv

Not-working ?geom_bar