question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RMagics in JB not printing properly

See original GitHub issue

Describe the bug

When I print R DataFrame using %%R the result line spacing too wide.

Screen Shot 2022-03-08 at 1 13 57 AM

I expected it to show how it is in jupyterbook. Screen Shot 2022-03-08 at 1 15 00 AM

The pandas data frames get printed very well. Is there anything that I can do to space it well in R magics ? Or is it a bug ?

Reproduce the bug

When using %%R

List your environment

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisjsewellcommented, Mar 8, 2022

wahoo 🎉

1reaction
chrisjsewellcommented, Mar 8, 2022

Well that will stop each line being a separate box, not sure if it will correctly handle the new lines, let me know

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - How to use RMagic in jupyter for console text output
I'm using jupyter with RMagic cells for the R language. It works fine, except that simple R console output does not appear in...
Read more >
rmagic — IPython 2.4.2-maint documentation
In cell mode, this will run a block of R code. The resulting value is printed if it would printed be when evaluating...
Read more >
Interactive work — rpy2 3.5.4 documentation
In cell mode, this will run a block of R code. The resulting value is printed if it would be printed when evaluating...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found