[Blotter-commits] r1395 - pkg/FinancialInstrument/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Feb 12 20:21:19 CET 2013
Author: braverock
Date: 2013-02-12 20:21:18 +0100 (Tue, 12 Feb 2013)
New Revision: 1395
Modified:
pkg/FinancialInstrument/R/saveInstruments.R
Log:
- change to use bzip2 compression, 10-20x improvement in size of stored file, loads correspondingly faster
Modified: pkg/FinancialInstrument/R/saveInstruments.R
===================================================================
--- pkg/FinancialInstrument/R/saveInstruments.R 2013-02-12 18:55:56 UTC (rev 1394)
+++ pkg/FinancialInstrument/R/saveInstruments.R 2013-02-12 19:21:18 UTC (rev 1395)
@@ -82,7 +82,7 @@
sink()
#system(paste("cat", file.name)) #for debugging
}
- } else save(.instrument, file = file.name)
+ } else save(.instrument, file = file.name, compress='bzip2')
}
More information about the Blotter-commits
mailing list