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

2^31-1 bytes can be written in a single writeBin() call #136

Closed
mtrussart opened this issue Nov 8, 2018 · 4 comments
Closed

2^31-1 bytes can be written in a single writeBin() call #136

mtrussart opened this issue Nov 8, 2018 · 4 comments

Comments

@mtrussart
Copy link

Hi,

Im having problems saving a large file that contains several fcs concatenated, and I get this error:
Error in writeBin(as(t(exprs(x)), what), con, size = types[what, "bitwidth"], :
only 2^31-1 bytes can be written in a single writeBin() call

I have done that using the Catalyst package function normCytof, but they said it's related to flowCore function
normCytof(x=ff, y="dvs", k=80, out_path = paste(wd,"All_normCatalyst_debarcoded_data/",sep=""), remove_beads = TRUE).

Could you please help me to be able to save it for big sizes?

Thanks so much

@mikejiang
Copy link
Member

Thanks for reporting it. @jacobpwagner and I will be adding support for it.

@jacobpwagner
Copy link
Member

jacobpwagner commented Nov 14, 2018

@mtrussart, would you please see if commit 1f271b2 fixes the problem?

mikejiang pushed a commit that referenced this issue Nov 14, 2018
@SamGG
Copy link
Contributor

SamGG commented Nov 15, 2018

Hi,
Does the 2^31 limit impacts also the ncdfFlow object?
For that large FCS, even if there is a unique FCS, will it more efficient to use ncdfFlow?
Best.

@mikejiang
Copy link
Member

No, It was base::writeBin issue, ncdfFlow doesn't have this limitation.

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

4 participants