Skip to content
Prev 5312 / 15274 Next

Accessing getSymbols data

Details:

     'getSymbols' is a wrapper to load data from different sources - be
     them local or remote. Data is fetched through one of the available
     'getSymbols' methods and saved in the 'env' specified - the
     .GlobalEnv by default. Data is loaded in much the same way that
     'load' behaves. By default, it is assigned automatically to a
     variable in the specified environment, _without_ the user
     explicitly assigning the returned data to a variable.

     The previous sentence's point warrants repeating - getSymbols is
     called for its side effects, and _does not_ return the data object
     loaded. The data is ?loaded? silently by the function into a new
     environment by default - or the environment specified. This
     behavior can be overridden by setting auto.assign to FALSE, though
     it is not advised.

Best,
Josh
--
http://www.fosstrading.com



On Fri, Dec 11, 2009 at 10:51 AM, Nick Torenvliet
<n_torenvliet at hotmail.com> wrote: