idm-io / math-scripts-handler
Symfony2 bundle to push an retrieve statistical datas with other languages (R and Python)
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 143
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.9
- symfony/framework-bundle: ~2.0
This package is not auto-updated.
Last update: 2019-12-27 15:19:49 UTC
README
About
Handles and abstract data exchanges between PHP and R or Python. For testing purpose, the PHP is also available as a "mathematical" language but not encouraged
Installation
Add this to your composer.json
file:
"require": { "idm-io/math-scripts-handler": "dev-master", }
Add the bundle to app/AppKernel.php
$bundles = array( // ... other bundles new Idm\MathScriptsBundle\IdmMathScriptsBundle(), );
Configuration
Add this to your config.yml
:
math_scripts: runtime_folder: ~ # Default value: /tmp languages: R: bin_full_path: Rscript # Ommit location if path is set in env vars extension: R wrapper: ~ # Default value: IdmMathScriptsBundle/Wrapper/wrapper Python: bin_full_path: python # Ommit location if path is set in env vars extension: py wrapper: ~ # Default value: IdmMathScriptsBundle/Wrapper/wrapper OtherLanguage: bin_full_path: /bin/otherLanguageBinary extension: ol wrapper: ~ # Default value: AcmeBundle/MyWrappers/wrapperForOtherLanguage is_debug: ~ # Default value: false