2012/1/3 Julien Hébert Nguyen <julien.hebng@gmail.com>

> Sorry for this other email, but I'm slow at this.
> I'm currently downloading xcode in the hope that it will allow me to
> install the blotter package.
>
> In the meantime, I've tried the approach proposed by Daniel in this
> following thread:
> http://r.789695.n4.nabble.com/Package-quot-quantstrat-quot-td3599657.html
>
> It doesn't work for Blotter since I need to install FinancialInstrument
> beforehand (dependencies). This being said, when I download and unpack the
> FinancialInstrument Source (.tar) from the TradeAnalytics development page
> it doesn't unpack in a folder like blotter, but rather gives me a .tar.cpgz
> file. Now I'm confused as to what to do with it since the *R CMD
> build*command doesn't seem to work on it.
>




2012/1/3 Julien Hébert Nguyen <julien.hebng@gmail.com>

> Sorry for this other email, but I'm slow at this.
> I'm currently downloading xcode in the hope that it will allow me to
> install the blotter package.
>
> In the meantime, I've tried the approach proposed by Daniel in this
> following thread:
> http://r.789695.n4.nabble.com/Package-quot-quantstrat-quot-td3599657.html
>
> It doesn't work for Blotter since I need to install FinancialInstrument
> beforehand (dependencies). This being said, when I download and unpack the
> FinancialInstrument Source (.tar) from the TradeAnalytics development page
> it doesn't unpack in a folder like blotter, but rather gives me a .tar.cpgz
> file.


use snapshot from url (r-forge):
https://r-forge.r-project.org/snapshots.php?group_id=316


danice@entropy ~/rtmp $ ls -l
total 2632
-rw-r--r-- 1 danice 500 2692665 Jan  3 22:38 blotter-scm-latest.tar.gz
danice@entropy ~/rtmp $ tar xvf blotter-scm-latest.tar.gz

danice@entropy ~/rtmp $ ls -l
total 2636
drwxr-xr-x 6 danice 500    4096 Jan  3 03:09 blotter-scm-2012-01-03
-rw-r--r-- 1 danice 500 2692665 Jan  3 22:38 blotter-scm-latest.tar.gz
danice@entropy ~/rtmp $ cd blotter-scm-2012-01-03/
.svn/   README  pkg/    tags/   www/
danice@entropy ~/rtmp $ cd blotter-scm-2012-01-03/pkg/
danice@entropy ~/rtmp/blotter-scm-2012-01-03/pkg $ ls -l
total 16
drwxr-xr-x 9 danice 500 4096 Jan  3 03:09 FinancialInstrument
drwxr-xr-x 8 danice 500 4096 Jan  3 03:09 RTAQ
drwxr-xr-x 8 danice 500 4096 Jan  3 03:09 blotter
drwxr-xr-x 9 danice 500 4096 Jan  3 03:09 quantstrat
danice@entropy ~/rtmp/blotter-scm-2012-01-03/pkg $


danice@entropy ~/rtmp/blotter-scm-2012-01-03/pkg $ R CMD build
FinancialInstrument
* checking for file 'FinancialInstrument/DESCRIPTION' ... OK
* preparing 'FinancialInstrument':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* looking to see if a 'data/datalist' file should be added
* re-saving tabular files
* building 'FinancialInstrument_0.10.1.tar.gz'

danice@entropy ~/rtmp/blotter-scm-2012-01-03/pkg $ R CMD build blotter
* checking for file 'blotter/DESCRIPTION' ... OK
* preparing 'blotter':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* looking to see if a 'data/datalist' file should be added
* building 'blotter_0.8.4.tar.gz'

danice@entropy ~/rtmp/blotter-scm-2012-01-03/pkg $ R CMD build quantstrat
* checking for file 'quantstrat/DESCRIPTION' ... OK
* preparing 'quantstrat':
* checking DESCRIPTION meta-information ... OK
* excluding invalid files
Subdirectory 'man' contains invalid file names:
  '.onLoad.Rd'
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
Removed empty directory 'quantstrat/inst/doc'
Removed empty directory 'quantstrat/inst'
* looking to see if a 'data/datalist' file should be added
* building 'quantstrat_0.6.1.tar.gz'

danice@entropy ~/rtmp/blotter-scm-2012-01-03/pkg $ ls -l
total 288
drwxr-xr-x 9 danice 500   4096 Jan  3 03:09 FinancialInstrument
-rw-r--r-- 1 danice 500 139768 Jan  3 22:41
FinancialInstrument_0.10.1.tar.gz
drwxr-xr-x 8 danice 500   4096 Jan  3 03:09 RTAQ
drwxr-xr-x 8 danice 500   4096 Jan  3 03:09 blotter
-rw-r--r-- 1 danice 500  49993 Jan  3 22:41 blotter_0.8.4.tar.gz
drwxr-xr-x 9 danice 500   4096 Jan  3 03:09 quantstrat
-rw-r--r-- 1 danice 500  80197 Jan  3 22:42 quantstrat_0.6.1.tar.gz
danice@entropy ~/rtmp/blotter-scm-2012-01-03/pkg $

and install:

R CMD INSTALL FianancialInstrument_*
R CMD INSTALL blotter_*
R CMD INSTALL quantstrat_*

regards,
daniel

	[[alternative HTML version deleted]]

