I'm starting to use RMarkdown for documents with a lot of equations. RStudio has a nice feature of previewing latex when I'm writing it which I like, however after I've written the equation I don't need it taking up space in my text editor area, see image:
There is the option to "hide it" by clicking the two arrows in the corner of the preview but even after this it still takes up loads of space and clutters my text editor area, especially since my text is filled with many equations. So my questions is first if it's possible to keep the live preview when I'm writing the equation and then completely hide it or if that's not possible, completely disable this feature of latex preview?
Related
So I'm trying to build a mid-complex invoice for an app, but I'm having many problems getting the right layout printed, and I don't know the reason, I have tried some of the things.
So this is the design before I'm printing it (the React-pdf template):
So I want you to pay attention, to the items below that are iterated and printed. (Don't worry the logo will be shown on the print page, I don't know why is not showing by default on the design page).
And here is the template after the print, that the layout of items is broken, and it doesn't show the one I designed. But rather something else. Here it is:
Here is the live link to the React Pdf Editor, so you can check the code (because is to long for here):
React PDF Editor Online
I.e. for one cell in the notebook, the editing version and rendered version are presented side-by-side so you don't lose your place between editing and checking the rendered version. Particularly for Markdown cells.
Are there any plugins or add-ons which achieve this? Perhaps there is a hacky way to have two browser windows where one updates rendered cells in real time and the other is used for editing. I guess even something as simple as the "render cell" command being piped to a different window would do the trick.
Especially when working with long RMarkdowns (e.g. 2-3000+ lines), it is desirable to completely clear all rendering and output (i.e. to get back to the same state as though none of the code in the RMarkdown had ever been executed), except without necessarily clearing the environment.
Is there a way to do this?
Note: in case someone wonders why, here are a couple of reasons:
occasionally (especially with javascript-heavy renderings, e.g. plotly, wordcloud etc) there can occasionally be bugs which not only affect the rendering that contains the bug, but all other renderings in the document, and
particularly in long Rmd files, it is sometimes simply easier to scroll through a doc which hasn't got renderings in it.
Click on the gear icon to the right of the "Knit" button at the top of your R Studio dashboard.
The very last option is "Clear All Output".
This should be what you are looking for.
In an upcoming project I'd like to guide my audience through a presentation as well as showing some code in RStudio. To use the screen space optimally I'd like to show the presentation (a PDF) in the environment area of RStudio (top right corner). This way I could display some code on the left, the presentation in the top right and plots in the bottom right corner.
Does an RStudio plugin exist to accomplish this?
File > New File > R Markdown
New your file
Select PDF from the Default Output format
A minimal working example will be populated with the Motor Trend Cars data frame.
Run any single 'Chunk' with the tiny green arrow to make your plots generate under the code
Additional viewing options in preview pane
I am having a minor issue playing with my exported Crystal Report, I can generate the reports just fine on our website, however when I attempt to export them to Word documents I don't quite get a document I can do much with.
i.e.:
I can't position the generated text anywhere in the document, it is almost 'frozen' in place. I would expect if I moved the cursor above the report text and pressed Enter a bunch of times I could remove the report down the page, however it just won't budge
All the text seems to be in its own box and I can't move it around or do anything with it.
Any thoughts? My expectation would be once it is exported to Word I could play with it like a Word document, move the text down the page, edit the document, do something with it.
Thanks!
btw, this question is similar to the one posted here, but this one wasn't tagged properly and I don't have enough karma to fix it:
https://stackoverflow.com/questions/434381/word-formatting-not-intact-when-exported-from-crystal-reoport
I'm afraid that you can't do much about it. Crystal Reports is very much orientated towards putting data in fixed positions on pages, so when it exports to Word it puts its data into text boxes because that's a similar thing that Word offers. You could make the Crystal Report page consists of a giant text field and using spaces and newlines to get the data into the right place, which will probably then give you a giant textbox in Word.