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

unused connection warning when using parse_stream() #13

Open
abuchmueller opened this issue Apr 12, 2021 · 0 comments
Open

unused connection warning when using parse_stream() #13

abuchmueller opened this issue Apr 12, 2021 · 0 comments
Labels
enhancement New feature or request minor minor issue / feature

Comments

@abuchmueller
Copy link
Owner

> z <- parse_stream("fromUK.json")
opening fileoldClasskRp.connection input connection.
 Found 2918 records...closing fileoldClasskRp.connection input connection.
 Imported 22015 records. Simplifying...
Warning message:
In .Internal(gc(verbose, reset, full)) :
  closing unused connection 3 (/var/folders/s0/sjz6vgxj7fj2x6dqx1pcyys00000gn/T//RtmpYrobz9/filed5c61b7051d)

parse_stream() leaves the connection open after parsing and R issues a connection warning. This not really a useful warning and should be fixed by closing the connection properly after read in the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor minor issue / feature
Projects
None yet
Development

No branches or pull requests

1 participant