LSPM_0.1-3 on R-forge

21 views
Skip to first unread message

Joshua Ulrich

unread,
Nov 16, 2010, 11:22:51 PM11/16/10
to leverage-sp...@googlegroups.com
Group,

I just committed revision 47 of LSPM on R-forge, which includes
several bug fixes. Please wait a day or two for the packages to be
built by the R-forge server before running:
install.packages("LSPM",repos="http://r-forge.r-project.org")

Or you can always checkout the source and build the package yourself.

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

MCB...@aol.com

unread,
Nov 16, 2010, 11:30:25 PM11/16/10
to leverage-sp...@googlegroups.com
Thanks! Appreciate knowing this.

RVince

unread,
Nov 17, 2010, 10:14:40 AM11/17/10
to Leverage Space Trading
Josh,

You are the man. Is this the same as I had on the memory stick to the
guys in Tampa this past weekend/ -Ralph Vince

On Nov 16, 11:30 pm, MCB...@aol.com wrote:
> Thanks! Appreciate knowing this.
>
> In a message dated 11/16/2010 11:23:19 P.M. Eastern Standard Time,  
>

Joshua Ulrich

unread,
Nov 17, 2010, 10:27:33 AM11/17/10
to leverage-sp...@googlegroups.com
Ralph,

On Wed, Nov 17, 2010 at 9:14 AM, RVince <rvin...@hotmail.com> wrote:
> Josh,
>
> You are the man. Is this the same as I had on the memory stick to the
> guys in Tampa this past weekend/ -Ralph Vince
>

It's the same, except for one small bug fix. If you recall, I
mentioned the RNG wasn't running on the second of two consecutive
calls to optimalf with a drawdown constraint.

I thought it was a DEoptim issue. It turned out to be that the
probDrawdown C function always got/set the RNG state but only called a
RNG function when using the sampling shortcut, so the state wasn't
being advanced when we were *not* using the sampling shortcut.

RVince

unread,
Nov 17, 2010, 9:36:51 PM11/17/10
to Leverage Space Trading
Ah, gotcha. Great, thanks Josh!

On Nov 17, 10:27 am, Joshua Ulrich <josh.m.ulr...@gmail.com> wrote:
> Ralph,
>

Whitney

unread,
Nov 27, 2010, 6:32:32 PM11/27/10
to Leverage Space Trading
Just checking: are we good to go on 64-bit R underneath this, or is it
better to stay on 32-bit?

Joshua Ulrich

unread,
Nov 27, 2010, 9:59:52 PM11/27/10
to leverage-sp...@googlegroups.com
Hi Whitney,

R-forge was having issues building packages earlier this week (many
packages, not just LSPM), but it looks like all is well now. Please
let me know if you're still having issues.

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

Whitney

unread,
Dec 9, 2010, 12:09:07 AM12/9/10
to Leverage Space Trading
Joshua,

I'm getting error messages, but can't tell if they're attributable to
x64 or maybe a package dependency problem. I've uploaded a file with
console output here: <http://groups.google.com/group/leverage-space-
trading/web/Rx64_TestResults.txt.txt?hl=en>

Best,
Whitney

Joshua Ulrich

unread,
Dec 9, 2010, 2:41:45 AM12/9/10
to leverage-sp...@googlegroups.com
Hi Whitney,

It looks like you need to update DEoptim as well. LSPM used to
provide a copy of DEoptim, but it now relies on the DEoptim package.
Try:

install.packages("DEoptim")

HTH,


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

Whitney

unread,
Dec 9, 2010, 10:01:26 AM12/9/10
to Leverage Space Trading
Joshua,

Thanks.

Install apparently successful on its own terms, but the script result
looks similar to prior, through both the 32- and 64-bit gates.

I've uploaded the32-bit session record to here: <http://
groups.google.com/group/leverage-space-trading/web/
Rx32_TestResults.txt.txt?hl=en>

Best,

Joshua Ulrich

unread,
Dec 9, 2010, 10:15:23 AM12/9/10
to leverage-sp...@googlegroups.com
That's what I get for trying to answer the question at 2:00AM...

You need to change this line:
DEctrl <- list(NP=np,itermax=imax, CR=crossover, refresh=1)

to this:
DEctrl <- list(NP=np,itermax=imax, CR=crossover, trace=1)

The argument was re-named from "refresh" to "trace" from DEoptim_1.x
to DEoptim_2.x. Sorry for the trouble.

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

Whitney

unread,
Dec 9, 2010, 8:36:58 PM12/9/10
to Leverage Space Trading
Ka ching! Thx.

Whitney

unread,
Feb 6, 2011, 6:50:09 PM2/6/11
to Leverage Space Trading
Joshua,

Is the lspm package currently available?

Here's what I'm seeing:

> install.packages("LSPM",repos="http://r-forge.r-project.org")
Warning: unable to access index for repository
http://r-forge.r-project.org/bin/windows/contrib/2.12
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘LSPM’ is not available
>

Best,
Whitney

Joshua Ulrich

unread,
Feb 6, 2011, 6:55:05 PM2/6/11
to leverage-sp...@googlegroups.com
On Sun, Feb 6, 2011 at 5:50 PM, Whitney <whitne...@gmail.com> wrote:
> Joshua,
>
> Is the lspm package currently available?
>
Yes, it's available:
https://r-forge.r-project.org/R/?group_id=485
https://r-forge.r-project.org/bin/windows/contrib/latest/

Sometimes install.packages doesn't work, so you should check the sites above.

Whitney

unread,
Feb 6, 2011, 7:57:42 PM2/6/11
to Leverage Space Trading
Thanks!

On Feb 6, 4:55 pm, Joshua Ulrich <josh.m.ulr...@gmail.com> wrote:
> On Sun, Feb 6, 2011 at 5:50 PM, Whitney <whitneybro...@gmail.com> wrote:
> > Joshua,
>
> > Is the lspm package currently available?
>
> Yes, it's available:https://r-forge.r-project.org/R/?group_id=485https://r-forge.r-project.org/bin/windows/contrib/latest/
Reply all
Reply to author
Forward
0 new messages