[osgeo4w-dev] [osgeo4w] #413: add "Windows batchfiles for use with R" to OSGeo4W

OSGeo4W trac_osgeo4w at osgeo.org
Sat Apr 5 11:57:56 PDT 2014


#413: add "Windows batchfiles for use with R" to OSGeo4W
------------------------+---------------------------------------------------
Reporter:  hellik       |       Owner:  osgeo4w-dev@…              
    Type:  enhancement  |      Status:  new                        
Priority:  major        |   Component:  Package                    
 Version:               |    Keywords:  R                          
------------------------+---------------------------------------------------
 hi,

 there are some nice simple windows-bat files [1] [2] to start R
 (www.r-project.org) from everywhere if these bat-files are in %PATH%

 tested here locally with following example

 (A)

 batch files are in e.g.

 {{{
 C:\OSGeo4W\apps\r-batchfiles
 }}}

 (B)

 added a bat-file in

 {{{
 C:\OSGeo4W\etc\ini\r-project.bat
 }}}

 with a onliner to add (A) to the path

 {{{
 PATH %PATH%;%OSGEO4W_ROOT%\apps\r-batchfiles
 }}}


 then R is availabe in the OSGeo4W-shell/OSGeo4W-windows command shell and
 can be started e.g. within a winGRASS-session.

 as these R-batch-files recognizes R 32bit/R 64bit, it may be included in
 OSGeo4W 32bit and 64bit.

 the license is GNU GPL v2.

 it would be a really added value for OSGeo4W, as R is often used in GIS
 workflows/analyses and the OSGeo4W-R-integration would be enabled in an
 easy way.

 would it be possible these files into OSGeo4W?

 thanks
 Helmut

 [1] https://code.google.com/p/batchfiles/
 [2] http://cran.r-project.org/contrib/extra/batchfiles/

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/413>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list