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

Rmarkdown fails rendering large documents from many child files #1306

Open
JasonCEC opened this issue Mar 28, 2018 · 2 comments
Open

Rmarkdown fails rendering large documents from many child files #1306

JasonCEC opened this issue Mar 28, 2018 · 2 comments
Assignees
Labels
bug an unexpected problem or unintended behavior

Comments

@JasonCEC
Copy link

JasonCEC commented Mar 28, 2018

Hey rstudio team,

I'm getting:

Quitting from lines NA-xx (./xxxxxx.Rmd) 
Error in file(file, ifelse(append, "a", "w")) : 
  all connections are in use

When rendering files about ~100 pages long or so;
is there an easy solution like closing intermediary connections in the code blocks,
or something else I can do to fix this?

Cheers!

  • Jason
@rich-iannone rich-iannone self-assigned this Apr 10, 2018
@rich-iannone rich-iannone added bug an unexpected problem or unintended behavior Difficulty: Intermediate labels Apr 10, 2018
@rich-iannone
Copy link
Member

@JasonCEC how many lines approximately is the input file? Also, were there a lot of code chunks? Finally, could you post your session info?

@sigven
Copy link

sigven commented Oct 27, 2021

Hi,

cc @larual

I think I have a related issue with the rendering procedure taking place in my tool, reported by some users:
sigven/oncoEnrichR#4

Basically, HTML rendering crashes at times (have not been able to understand what exactly triggers the error)

For my tool, I have an "index" document that includes a number of child documents, that each are being included pending on various conditions:
https://github.com/sigven/oncoEnrichR/blob/master/inst/templates/index.Rmd

If there is any way to resolve this connection issue, I would be very grateful!

thanks,
Sigve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants