Saving multiple plots to PDF in R

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 22

  • @michaelmartinez6033
    @michaelmartinez6033 7 лет назад +1

    Great vid and thanks for sharing. For those interested, it'll generate a pdf even if you're not running a loop. I.e you just have a series of plots you want to export. Just place your desired plots b/w the pdf and dev.off function as he describes and bingo.

    • @ChikamCE582
      @ChikamCE582 4 года назад

      Yes, I just tried this without using a loop, I had a list of plots from pmap and ggplot for ICC in IRTand it works. I owe you two some beer.

  • @orbitaaltube
    @orbitaaltube 3 года назад

    Thank you for this quick and easy method of doing this.

  • @Wolkenphoenix
    @Wolkenphoenix 4 года назад

    Thank you so much! With this video I finally found the error in my code! Thank you so much :)

  • @JimGrange.
    @JimGrange.  7 лет назад +3

    I hope you all find this video useful! If you have any questions, please do drop me an email. And if the video has REALLY helped and you want to buy me a beer, please see www.paypal.me/JimGrange

    • @ChikamCE582
      @ChikamCE582 4 года назад

      Definitely getting you a bottle!!! Thanks

  • @TheMartinontario
    @TheMartinontario 4 года назад

    Thanks so very much, man. You just saved me a lot of time!!

  • @wing7518
    @wing7518 4 года назад +1

    Hey Jim,
    Thank you for making this video. I was wondering how can I implement this technique in a shiny app, when each individual plot is in its own "server" script?

  • @agusquintana4761
    @agusquintana4761 3 года назад

    YOU GENIUS

  • @twilliams1878
    @twilliams1878 7 лет назад

    Great video!! So helpful!!!

  • @WadihDeaibes
    @WadihDeaibes 6 лет назад

    Thank you Jim for sharing this great video.
    I have un-related question:
    What software you used to produce the video? (Screen capture, Annotation on the screen, etc...)
    Thanks for you insights

    • @JimGrange.
      @JimGrange.  6 лет назад

      I used screencast-o-matic. I highly recommend it!

  • @josepabloca
    @josepabloca 7 лет назад

    Great video Jim. Thank you very much. I have a question though. Is there a way to put more than one plot in one page? Thanks!

    • @JimGrange.
      @JimGrange.  7 лет назад

      It's tricky using ggplot2 (as I was here), but you can do this using the par(mfrow) function. Check it online. If you're still not sure, drop me an email and I will help out.

  • @lrohde32
    @lrohde32 7 лет назад

    hi jim. I'd like to know if this command works with contours and images?

  • @TheCooPeer
    @TheCooPeer 5 лет назад

    How do I add headers to both plots when saving them in the same PDF?

  • @pauliuspalaima9707
    @pauliuspalaima9707 10 лет назад

    Thank you so much!

    • @JimGrange.
      @JimGrange.  10 лет назад +1

      Glad you found it of use!

  • @MrStevefox69
    @MrStevefox69 6 лет назад

    Thanks!!!

  • @MrNabiwishes
    @MrNabiwishes 7 лет назад

    Great video sir , can we have videos for similar concept in shiny app, how to create a pdf in shiny app

    • @JimGrange.
      @JimGrange.  7 лет назад

      I am yet to look at Shiny, but will make a video once I have!

    • @MrNabiwishes
      @MrNabiwishes 7 лет назад

      thank you for replying sir , i did it with shiny as well task accomplished !! But this video is great info sir