Do this first **|install.packages("quantstrat", repos="http://R-Forge.R-project.org") The code provided before worked fine for me on R 3.1.2 on Vista Matt |** --- This email has been checked for viruses by Avast antivirus software. [[alternative HTML version deleted]]