R.css is irrelevant. The default CSS has already been mentioned in the
documentation:
https://support.rstudio.com/hc/en-us/articles/200552186-Customizing-Markdown-Rendering
You should not define the rstudio.markdownToHTML option _inside_ the
Rmd document: do it in the current R console, or in .Rp
Yihui/Jeff,
I'm trying to determine where the default CSS file is located as I don't
see this in any of the documentation. I can definitely find a markdwon.css
file in C:\Program Files\RStudio\resources
I also see an R.css file in that directory.
I also have R.css in C:\Users\jeffjohn\Dropbox\R
Thanks Yihui and Jeff.
I've retrieved the default CSS file and made a tweak to it (changing a
header 1 size just to test it) and saved it to the same local directory as
my .Rmd file using the name 'mymarkdown.css' for testing.
I've added:
options(rstudio.markdownToHTML =
function(inputFile, out
Exactly. Please see RStudio documentation:
https://support.rstudio.com/hc/en-us/articles/200552186-Customizing-Markdown-Rendering
Regards,
Yihui
--
Yihui Xie
Web: http://yihui.name
On Thu, Jan 30, 2014 at 10:57 AM, Jeff Newmiller
wrote:
> This sounds like a classic "you need to write a custom
This sounds like a classic "you need to write a custom CSS file" problem...
Which is off-topic here, so is homework for you.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: #
Hi Yihui,
The package I have installed is "knitr". To generate the HTML, I run Knit
HTML from within R Studio version .98.490 (there's an icon to initiate it.
Here's a simple example:
showcode <- FALSE
commentchar <- NA
You can load this data as 'mydf'...
dput(mydf)
structure(list(PERSONPROFILE_
Thank you Yihui for responding. I'll reply with details when I get in the
office tomorrow am. I'm using Rstudio and added the knitr package if that
helps. I'll check details and provide an example tomorrow am.
I appreciate your help.
Sent from my iPhone
> On Jan 29, 2014, at 5:57 PM, Yihui X
Please provide a minimal example -- are you using R Markdown or R
HTML? Both can produce HTML output:
http://yihui.name/knitr/demo/minimal/
Regards,
Yihui
--
Yihui Xie
Web: http://yihui.name
On Wed, Jan 29, 2014 at 10:49 AM, Jeff Johnson wrote:
> Hi there,
> I'm currently using knitr to genera
Hi there,
I'm currently using knitr to generate an html file, however the output of
my code is in a font size that's larger than I desire. I've been looking
through various options for controlling the font size of the code results,
such as the knitr manual, opts_chunk, and latex.
The actual code i
9 matches
Mail list logo