Over time, I developed many packages publicly distributed in CRAN (R repository of packages). You can find names and descriptions below. Most of them are also hosted at Github.
GetDFPData - Reads annual financial reports including assets, liabilities, dividends history, stockholder composition and much more from Bovespa’s DFP, FRE and FCA systems http://www.bmfbovespa.com.br/en_us/products/listed-equities-and-derivatives/equities/listed-companies.htm. These are web based interfaces for all financial reports of companies traded at Bovespa. The package is especially designed for large scale data importation, keeping a tabular (long) structure for easier processing.
BatchGetSymbols - Makes it easy to download a large number of trade data from Yahoo or Google Finance.
GetTDData - Downloads and aggregates data for Brazilian government issued bonds directly from the website of Tesouro Direto http://www.tesouro.fazenda.gov.br/tesouro-direto-balanco-e-estatisticas.
RndTexExams - Using as input a ‘LaTeX’ file with a multiple choice exam, this package will produce several versions with randomized contents of the same exam. Functions for grading and testing for cheating are also available.
fMarkovSwitching - This package provides functions for estimation, simulation and forecasting of a general markov switching regression. You can install it directly from R: