Skip to content

blotter package

6 messages · Javier Navarro, Brian G. Peterson, Ledon, Alain - Eqty NY +1 more

#
On 01/18/2011 10:54 AM, Javier Navarro wrote:
32 and 64 bit Windows binaries are available on R-Forge for R 2.12.x

Regards,

   - Brian
#
Hi Javier,

If you can't install it directly from R-Forge (from inside R):
You can try to install everything from source. Here is what I did in XP.


1) Install R-Tools from here http://www.murdoch-sutherland.com/Rtools/

2) Download latest source version of xts from R-Forge
https://r-forge.r-project.org/R/?group_id=118

3) Download latest source version of blotter, FinancilInstrument and
quantstrat from R-Forge https://r-forge.r-project.org/R/?group_id=316

4) From the command line, go to the directory where you downloaded the
previous packages:
Regards

Alain

-----Original Message-----
From: r-sig-finance-bounces at r-project.org
[mailto:r-sig-finance-bounces at r-project.org] On Behalf Of Brian G.
Peterson
Sent: Tuesday, January 18, 2011 12:42 PM
To: r-sig-finance at r-project.org
Subject: Re: [R-SIG-Finance] blotter package
On 01/18/2011 10:54 AM, Javier Navarro wrote:
anybody
32 and 64 bit Windows binaries are available on R-Forge for R 2.12.x

Regards,

   - Brian
#
That's true Brian, i've installed most of the packages that i need from
R-Forge.
However, RMySQL package it's not available in R-Forge. Windows binaries
aren't available either in CRAN.
So I've tried to build it for windows following Alain's instructions but i
get an "unknown command" error when i type  R CMD INSTALL
RMySQL_0.7-5.tar.gz . I've installed R-Tools and fixed my path as it is
supposed.
Any intuition about what i might be doing wrong?

Thank you all
#
Couple things I can think of:

1) is R itself in your path? (i.e.) set R_HOME=c:\Program 
Files\R\R2.12.1 and then in the PATH (at the end, don't interfere with 
the r-tools mod at the front) add in: %R_HOME%\bin
Also if it compiled on Windows, it shouldn't generate a .tar.gz file (I 
get *.zip files on Windows when building)

2) Also have you looked at this site? : 
http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL

HTH.. If you can't get it working, I have a windows build I can throw up 
on my server ( I need to check which version of mysql i compiled it 
against when I get in front of that computer later today)

Regards,
Cedrick