A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/r-lib/callr/issues/184 below:

r_session is leaking file descriptors · Issue #184 · r-lib/callr · GitHub

At least on Unix, possibly on Windows as well:

rs <- callr::r_session$new()

❯ rs$run(function() 1+1)
[1] 2rs$run(function() ps::ps_num_fds(ps::ps_handle()))
[1] 8rs$run(function() 1+1)
[1] 2rs$run(function() ps::ps_num_fds(ps::ps_handle()))
[1] 12

They are probably simply not closed in the post-hook.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4