[R-SIG-Finance] (no subject)

Joshua Ulrich josh.m.ulrich at gmail.com
Thu Dec 15 07:05:57 CET 2011


Please copy the list so others can benefit.

On Wed, Dec 14, 2011 at 7:02 PM, Wei-han Liu <weihanliu2002 at yahoo.com> wrote:
> Thanks for your prompt reply.
>
> It get stuck in the first block of the commands listed in Section 6. It
> works fine before that block.
>
"Gets stuck" is not an error.  The first block of code in Section 6
takes a long time to run (16 minutes on a 2.2Ghz processor) and is
currently running fine on my laptop.

You still have not followed the posting guide.  As I asked in my
previous email, please read and follow the instructions in the
"Surprising behavior and bugs" section of the posting guide.

> Wei-han
>

Best,
--
Joshua Ulrich  |  FOSS Trading: www.fosstrading.com



> ________________________________
> From: Joshua Ulrich <josh.m.ulrich at gmail.com>
> To: Wei-han Liu <weihanliu2002 at yahoo.com>
> Cc: "R-SIG-Finance at r-project.org" <R-SIG-Finance at r-project.org>
> Sent: Thursday, 15 December 2011 3:10 AM
> Subject: Re: [R-SIG-Finance] (no subject)
>
> On Wed, Dec 14, 2011 at 5:25 AM, Wei-han Liu <weihanliu2002 at yahoo.com>
> wrote:
>> Hi there:
>>
>> I am practicing the new R package DEoptim and following the paper titled
>> “Large-scale portfolio optimization with DEoptim” as attached.
>>
> No need to attach a paper that's provided in the package.
>
>> I am wondering if there is error in this package or else because when I
>> tried the commands listed in Section 6. Portfolio optimization with
>> DEoptim
>> but encountered some error message as listed below:
>> Error in NextMethod(.Generic) : dims [product 121] do not match the length
>> of object [40401]
>> Also : Warning message: In `-.default`(0.5 * dmvnorm(x, c(-3, -3)) + 0.5 *
>> dmvnorm(x, c(3,  :   longer object length is not a multiple of shorter
>> object length
>>
>> Could somebody share some hint or help?
>>
> You need to provide a lot more information for anyone to help.  See
> the posting guide, especially the section on "Surprising behavior and
> bugs".
> http://www.r-project.org/posting-guide.html
>
> There are 4 blocks of commands in Section 6 of the paper.  You need to
> tell us which commands create the error.
>
>> Thank you for your kind consideration and response.
>>
>> Wei-han Liu
>>
>
> Best,
> --
> Joshua Ulrich  |  FOSS Trading: www.fosstrading.com
>
>



More information about the R-SIG-Finance mailing list