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

Writing CSV files With Column Widths Greater Than 255 Characters to Blob Storage #128

Open
snestler opened this issue Aug 23, 2022 · 0 comments

Comments

@snestler
Copy link

snestler commented Aug 23, 2022

Trying to write a .csv file to blob with the storage_write_csv() function, when one or more columns had >255 characters causes RStudio to crash.

In digging through the internal code of storage_write_csv() I discovered that there are two versions of it -- storage_write_csv_base() and storage_write_csv_readr(). The first function causes the write to fail and RStudio to crash. However, if the readr package in installed and loaded, it will use the second function, which doesn't have an issue with the wide columns.

Might be worth documenting that somewhere. Thanks!

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

1 participant