Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images fails to be inserted into PDFS #5

Closed
andkov opened this issue Jun 24, 2014 · 4 comments
Closed

Images fails to be inserted into PDFS #5

andkov opened this issue Jun 24, 2014 · 4 comments
Assignees

Comments

@andkov
Copy link
Owner

andkov commented Jun 24, 2014

Compare two reports:

  1. https://github.com/andkov/Longitudinal_Models_of_Religiosity_NLSY97/blob/master/Models/Descriptives/Metrics.Rmd
  2. https://github.com/andkov/Longitudinal_Models_of_Religiosity_NLSY97/blob/master/Vignettes/fig_size/choose_fig_size.Rmd

The first report when run does not inserts the produced images in the PDF file, while the second does. I cannot figure why, although I've figure out that it might have something to do with "out.width=" option in chunk options. What might be going on here?

@wibeasley
Copy link
Collaborator

Don't know, but I haven't used the new specifications that came out last week. It's weird for me to even think that an Rmd leads to a PDF.

My recommended, systematic approach is to create simplified copies of the two that have just enough to exhibit the different behavior.

A shot in the dark is that the retina setting in the first example is causing the difference.

@andkov
Copy link
Owner Author

andkov commented Jun 25, 2014

fig.retina= is an option for html only, it has no influence on pdf.

@andkov
Copy link
Owner Author

andkov commented Jun 25, 2014

rstudio/rmarkdown#86

@wibeasley
Copy link
Collaborator

I think it's done/resolved. Reopen if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants