Helper functions for statistics::r on ms windows platforms
Helper functions to deal with environment variables and escape file paths on \s-1MS\s0 Windows platforms.
if ( $^O =~ m/^(?:.*?win32|dos)$/i ) { require Statistics::R::Win32; }
Looks for paths where R could be installed, e.g. C:\Program Files (x86)\R-2.1\bin and add it to the \s-1PATH\s0 environment variable.
Takes a path and return a path that is surrounded by double-quotes if the path contains whitespaces. Example: C:\Program Files\R\bin\x64 becomes "C:\Program Files\R\bin\x64"
Takes a path and return a path where spaces have been escaped by a backslash. contains whitespaces. Example: C:\Program Files\R\bin\x64 becomes C:\Program\ Files\R\bin\x64
Takes a path and return a path where each backslash was replaced by two backslashes. Example: C:\Program Files\R\bin\x64 becomes C:\\Program Files\\R\\bin\\x64
Statistics::R
Florent Angly <[email protected]> (2011 rewrite)
Graciliano M. P. <[email protected]> (original code)
Brian Cassidy <[email protected]>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
All complex software has bugs lurking in it, and this program is no exception. If you find a bug, please report it on the \s-1CPAN\s0 Tracker of Statistics::R: http://rt.cpan.org/Dist/Display.html?Name=Statistics-R <http://rt.cpan.org/Dist/Display.html?Name=Statistics-R>
Bug reports, suggestions and patches are welcome. The Statistics::R code is developed on Github (http://github.com/bricas/statistics-r <http://github.com/bricas/statistics-r>) and is under Git revision control. To get the latest revision, run:
git clone [email protected]:bricas/statistics-r.git