4

According to a response from the RStudio team, the "standard" solution would be to follow the instructions for "Using R Markdown with RStudio", and notice the button on the third screenshot with the "Publish" button. A wonderfully simple solution that I'm quite grateful they have built.

However, the "Publish" button with the nice arrow and picture of the earth doesn't show up in my preview window, no matter how badly I want it to.

I am using RStudio (RStudio.version() 0.96.231) in Mac OS X Lion (10.7), with latest R version and updated markdown and knitr packages. I have an RPubs account, and have followed the RPubs instructions for creating and previewing the html rendered from an R markdown file from within RStudio.

This seems to be related to a post on the RStudio support blog about not-seeing a Publish button.

However, this question is different, as it requires actually getting content up onto RPubs. I have posted an analogous question on the RStudio Support blog.

The Rstudio team already answered how to get graphics embedded in html rendered by RStudio from R Markdown source; especially by pointing me to this extremely useful page explaining the way RStudio renders and packages R Markdown using knitr:

Using RStudio to render R Markdown

Finally, if you haven't heard about R-markdown (I just learned of it), go here for details about R-markdown.

Paul 'Joey' McMurdie
  • 7,295
  • 5
  • 37
  • 41
  • 1
    There is not much we can do to help here at this point since rpubs.com is so new. Your best bet is to file a bug at rstudio. But yeah, `knitr` and markdown aren't new and you can always post knitted markdown to github. – Maiasaura Jun 06 '12 at 22:53
  • Just to check, exactly what version of RStudio are you running? Is it 0.96.230 or later? – Jeromy Anglim Jun 06 '12 at 23:32
  • RStudio.version() [1] "0.96.231" – Paul 'Joey' McMurdie Jun 07 '12 at 00:29
  • RStudio team responded on [their blog-discussion of this issue](http://support.rstudio.org/help/discussions/questions/666-how-do-i-publish-to-rpubs): "that looks like it is related to Mac OS X 10.7 (Lion). We'll be looking into this". Sounds like a fix will come soon, and might be simply an OS-related bug. I thought at first there might be some obscure implementation related step I was missing. – Paul 'Joey' McMurdie Jun 07 '12 at 16:21

1 Answers1

2

Confirmed by Josh Paulson at RStudio, this was a bug with RStudio in OS X Lion and not some weird extra set of unstated dependencies or unclear instructions.

Just install v0.96.233 or greater and this should work on Mac OS X Lion (10.7).

Actually, the implementation and instructions are quite straightforward.

Paul 'Joey' McMurdie
  • 7,295
  • 5
  • 37
  • 41
  • Thanks for the comment. I removed the op-ed comment. I'm considering pulling-down this question because it turned out to be uninteresting (update your version). – Paul 'Joey' McMurdie Jun 08 '12 at 14:48