qsbase / qs

Quick serialization of R objects
400 stars 19 forks source link

Files with ".q" extension causing some issues in RStudio #5

Closed antspengy closed 5 years ago

antspengy commented 5 years ago

Hi

I've been using qs successfully over the past month but began noticing some strange and quite major slow downs in RStudio in projects that have files saved with ".q" extensions. This is particularly the case if the .q file is large (i.e. I have a few files that are >300MB).

I logged the issue with RStudio (https://github.com/rstudio/rstudio/issues/4696), and Kevin has explained in his comments why, for historical reasons, files with the ".q" extension are treated similarly to ".s" and ".r" files.

It looks like they'll fix the issue but I'm just wondering whether in your documentation you may want to consider using a different file extension type because the issue impacts all versions of R Studio so may cause some headaches for other package users.

Thanks Anthony

traversc commented 5 years ago

Thanks for pointing that out, I had no idea!

traversc commented 5 years ago

I changed all of the documentation from ".q" to ".qs" in the new version. Thanks again!