[R-SIG-Finance] Error in "blotter-package" example

Joshua Ulrich josh.m.ulrich at gmail.com
Tue Jan 25 22:58:59 CET 2011


On Tue, Jan 25, 2011 at 3:27 PM, Joshua Ulrich <josh.m.ulrich at gmail.com> wrote:
> getPrice doesn't exist in quantmod until 0.3-14.  Please update
> quantmod manually.  I'll change the blotter DESCRIPTION file to
> reflect the dependency.

blotter already depends on quantmod_0.3-14.  R-forge only creates
binary builds for the most recent major version of R (2.12.x).  Since
you're using 2.11.1, I'm guessing you're building from source.
Apparently the dependency isn't being picked up for some reason.

> --
> Joshua Ulrich  |  FOSS Trading: www.fosstrading.com
>
>
>
> On Tue, Jan 25, 2011 at 3:21 PM, Worik <worik.stanton at gmail.com> wrote:
>> I installed blotter
>>
>>
>> install.packages("blotter",repos="http://R-Forge.R-project.org")
>>
>>
>> R version 2.11.1
>>
>> And when I ran the example from blotter-package I got the error \:
>>
>>> updatePortf(Portfolio="p",Dates='2007-01')
>> Error in .updatePosPL(Portfolio = pname, Symbol = as.character(symbol),  :
>>  could not find function "getPrice"
>>
>> I thought this might be useful.   Is this the correct place to send such
>> emails or should I send them direct to Brian or somewhere else?
>>
>> cheers
>> Worik
>>
>> --
>> If we amplify everything, we hear nothing.
>> --
>>
>> _______________________________________________
>> R-SIG-Finance at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>> -- Subscriber-posting only. If you want to post, subscribe first.
>> -- Also note that this is not the r-help list where general R questions
>> should go.
>>
>



More information about the R-SIG-Finance mailing list