[Blotter-commits] r495 - pkg/FinancialInstrument/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 14 16:13:56 CET 2010


Author: braverock
Date: 2010-12-14 16:13:56 +0100 (Tue, 14 Dec 2010)
New Revision: 495

Modified:
   pkg/FinancialInstrument/R/load.instruments.R
Log:
- pass dots to read.csv

Modified: pkg/FinancialInstrument/R/load.instruments.R
===================================================================
--- pkg/FinancialInstrument/R/load.instruments.R	2010-12-13 19:40:26 UTC (rev 494)
+++ pkg/FinancialInstrument/R/load.instruments.R	2010-12-14 15:13:56 UTC (rev 495)
@@ -44,7 +44,7 @@
     if(is.null(file) && is.null(metadata)) stop("You must pass either a file identifier string or a metadata object to be converted.")
     if(is.null(metadata)){
         if (file.exists(file)){
-            filedata<-read.csv(file,stringsAsFactors=FALSE)
+            filedata<-read.csv(file,stringsAsFactors=FALSE, ...=...)
         } else {
             stop("The specified file",file,"does not seem to exist, maybe specify the full path?")
         }        



More information about the Blotter-commits mailing list