user1426485
user1426485

Reputation: 153

R Markdown displaying just displaying the result

I have been exploring with R Markdown and came across this question. All the reproducible example reports I found online such as this http://jeromyanglim.blogspot.ca/2012/05/example-reproducile-report-using-r.html has the code followed by the result.

I want to have just the result therefore hiding the code from the audience. For example, I would just like to display the end result of ggplot2 or googlevis without showing the long lines of loading data and coding.

Is there a way to do so?

Upvotes: 4

Views: 823

Answers (1)

Charlotte Wickham
Charlotte Wickham

Reputation: 358

Just add echo = FALSE to the code chunk options.

Upvotes: 7

Related Questions