[Quantmod-commits] r600 - in pkg: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jan 12 08:00:17 CET 2013


Author: jryan
Date: 2013-01-12 08:00:17 +0100 (Sat, 12 Jan 2013)
New Revision: 600

Modified:
   pkg/R/getSymbols.R
   pkg/man/getSymbols.Rd
Log:
o  loadSymbols now has auto.assign=getOption("loadSymbols.auto.assign",TRUE),
   which will allow for 0.5-0 changes to further differentiate the two cases.


Modified: pkg/R/getSymbols.R
===================================================================
--- pkg/R/getSymbols.R	2013-01-11 20:48:44 UTC (rev 599)
+++ pkg/R/getSymbols.R	2013-01-12 07:00:17 UTC (rev 600)
@@ -112,7 +112,7 @@
 #}}}
 
 loadSymbols <- getSymbols
-loadSymbols.formals <- formals(getSymbols)
+loadSymbols.formals <- c(formals(getSymbols)[-(8:9)], alist(auto.assign=getOption("loadSymbols.auto.assign",TRUE),...=))
 formals(loadSymbols) <- loadSymbols.formals
 
 

Modified: pkg/man/getSymbols.Rd
===================================================================
--- pkg/man/getSymbols.Rd	2013-01-11 20:48:44 UTC (rev 599)
+++ pkg/man/getSymbols.Rd	2013-01-12 07:00:17 UTC (rev 600)
@@ -39,7 +39,7 @@
             warnings = TRUE,
             src = "yahoo",
             symbol.lookup = TRUE,
-            auto.assign = getOption('getSymbols.auto.assign',TRUE),
+            auto.assign = getOption('loadSymbols.auto.assign',TRUE),
             ...)
 
 showSymbols(env=parent.frame())



More information about the Quantmod-commits mailing list