Statistics::R::Win323pm
Helper functions for statistics::r on ms windows platforms
Usage
if ( $^O =~ m/^(?:.*?win32|dos)$/i ) {require Statistics::R::Win32;}
Overview
Do not use this module directly. Use Statistics::R instead.
Helper functions to deal with environment variables and escape file paths on MS Windows platforms.
Methods
- win32_path_adjust( )
-
Looks for paths where R could be installed, e.g. C:\Program Files (x86)\R-2.1\bin and add it to the PATH environment variable.
- win32_space_quote( )
-
Takes a path and return a path that is surrounded by double-quotes if the path contains whitespaces. Example:
C:\Program Files\R\bin\x64becomes
"C:\Program Files\R\bin\x64"
- win32_space_escape( )
-
Takes a path and return a path where spaces have been escaped by a backslash. contains whitespaces. Example:
C:\Program Files\R\bin\x64becomes
C:\Program\ Files\R\bin\x64
- win32_double_bs
-
Takes a path and return a path where each backslash was replaced by two backslashes.
Example:C:\Program Files\R\bin\x64becomes
C:\\Program Files\\R\\bin\\x64
Maintainers
Florent Angly <[email protected]>
Brian Cassidy <[email protected]>
Copyright & license
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Releases
7 releases since Debian 7 (Wheezy); the text changed 3 times.