[R-SIG-Finance] R in batch mode - RBloomberg
matteo.fornasier at gmail.com
Tue Feb 8 10:37:36 CET 2011
I've a problem with R.
I'm using R in batch mode calling it trought php:
exec("C:\Program\R\R-2.7.1\bin\R.exe CMD BATCH blablabla\.txt");
It's function very well and I did a lot of interesting application.
In the webserver there is Bloomberg so I want download some time
series to analyse and so on.
If I launch the script in R it run and do all calculation but if I
call the script in batch mode in the output I see that the script stop
just when should start the connection with bloomberg:
R version 2.7.1 (2008-06-23)
Copyright (C) 2008 The R Foundation for Statistical Computing
[Previously saved workspace restored]
package 'RODBC' was built under R version 2.7.2
Loading required package: RDCOMClient
Loading required package: zoo
Attaching package: 'zoo'
The following object(s) are masked from package:base :
Loading required package: chron
Contents of bbfields have been stored in .bbfields in the current workspace
package 'RBloomberg' was built under R version 2.7.2
> ticker = "G IM Equity"
 "G IM Equity"
Maybe is a permission problem but I don't know which file I've to autorize.
Thanks a lot,
More information about the R-SIG-Finance