I have a very large dataset in an Rda file that I want to use for a shiny app but since it's so large I'm thinking of just taking a sample of the file and read that in. Is there anyway to do that?
Asked
Active
Viewed 180 times
0
-
https://www.r-bloggers.com/load-save-and-rda-files/ – Vishesh Shrivastav Nov 01 '18 at 18:56
-
If there is a way to save a 'very large dataset' in `.csv` or something like SQLite, I'd go with that approach. You can read csv's very fast with data.table's `fread`, and you can execute SQL easily in R. – vladli Nov 02 '18 at 09:43