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

OSGeo4W trac_osgeo4w at osgeo.org
Thu Jan 7 09:21:11 PST 2016


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

Comment (by hellik):

 Replying to [comment:20 jef]:
 > Replying to [comment:18 hellik]:
 > > {{{
 > > IF EXIST "%ProgramFiles%\R\" %OSGEO4W_ROOT%\apps\rbatch\R path
 > > }}}
 >
 > I meant the path added by the ini batch file.  It always adds
 {{{apps\rbatchfiles}}} to the path - so everything has to search another
 path - not only if R being used (or installed).

 don't understand this. where is {{{apps\rbatchfiles}}} added to the path?

 in the OSGeo4W shell:

 {{{
 C:\>echo %PATH%
 {app};C:\OSGEO4~1\apps\Python27\Scripts;C:\OSGEO4~1\bin;C:\windows\system32;C:\w
 indows;C:\windows\WBem;C:\OSGEO4~1\apps\msys\bin;C:\Program
 Files\R\R-3.2.3\bin\
 x64
 }}}

 only the R installation path is added to %PATH%, nothing else.

 if it's too much, let's go the way to copy R.bat to bin

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


More information about the Osgeo4w-trac mailing list