<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>szk18</author_name>
  <author_url>https://blog.hatena.ne.jp/szk18/</author_url>
  <blog_title>慎ましく生きます</blog_title>
  <blog_url>https://szk18.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>問題 以下のようにggplot2で作成した日本語入りグラフを，ggsaveを用いてPNGで保存していたが，PDFで保存したほうがよいのでファイル名の拡張子をPDFに変えたところ，保存できなくなった． library(ggplot2) p1 &lt;- ggplot(data, aes(x = hoge, y = fuga)) + geom_point() + labs(y = &quot;yじくじく軸&quot;) ggsave(file = &quot;plot.png&quot;, plot = p1, height = 4, width = 5) ↓ library(ggplot2) p1 &lt;- ggplot(data, aes(x…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fszk18.hatenadiary.jp%2Fentry%2F2022%2F10%2F03%2F123508&quot; title=&quot;ggplot2のグラフ(日本語入り)をggsaveを使ってPDFで保存する - 慎ましく生きます&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-03 12:35:08</published>
  <title>ggplot2のグラフ(日本語入り)をggsaveを使ってPDFで保存する</title>
  <type>rich</type>
  <url>https://szk18.hatenadiary.jp/entry/2022/10/03/123508</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
