Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8972517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:14:08+00:00 2026-06-15T18:14:08+00:00

Here is my problematic slide: The plain text for this slide is # Title

  • 0

Here is my problematic slide:

enter image description here

The plain text for this slide is

# Title
```{r plot, echo=FALSE}
library("ggplot2")
x <- seq(-1,1,0.05)
y <- x^3/3-x^2 + rnorm(41,sd=0.1)
qplot(x,y)+geom_smooth()
```
- item 1
- item 2

And I want to:

  1. Hide the comment text (## blahblah)
  2. Hide the text “plot of chunk plot”
  3. Make the plot smaller, so that the items can be shown

Could you please give me some hints? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:14:09+00:00Added an answer on June 15, 2026 at 6:14 pm

    You should take time to read the wonderful documentation provided for knitr.

    Without knowing your work flow to create the slides it is hard answer from the html5 end.

    You are looking for fig.width, fig.height, fig.cap, warning and message from the knitr chunk options.

    ```{r plot, echo=FALSE,fig.width = 3, fig.height = 3,  fig.cap = '', warning = FALSE, message = FALSE, cache = FALSE}
    library("ggplot2")
    x <- seq(-1,1,0.05)
    y <- x^3/3-x^2 + rnorm(41,sd=0.1)
    qplot(x,y)+geom_smooth()
    ```
    - item 1
    - item 2
    

    You will have to adjust the height and width to get the size that is suitable for slides

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is continuation of my question . Here is problematic code. a.h: #include
I made a small project with Northwind database to illustrate the problematic. Here is
Here is the code in a function I'm trying to revise. This example works
Here is what I am currently doing. PHP echo's out the recent post in
Here is the Javascript I currently have <script type=text/javascript> $(function() { $('.slideshow').hover( function() {
Here is the script I'm using, copied directly from Google: <script type=text/javascript> var _gaq
here is the problematic page: http://sideradesign.com/eco-art/gallery/ The gallery displays in IE8 and Firefox, but
I have read the question here: Is it problematic to assign a new value
Wikipedia says on A* complexity the following ( link here ): More problematic than
Here is the problematic part of my code, run inside .each(function(){ }); $('img','<div>'+ed.selection.getContent({format: 'html'})+'</div>').each(function(){

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.