[osgeo4w-dev] [osgeo4w] #413: add "Windows batchfiles for use with R" to OSGeo4W
OSGeo4W
trac_osgeo4w at osgeo.org
Tue Jan 12 08:19:42 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:23 hellik]:
> Replying to [comment:22 jef]:
> > Replying to [comment:21 hellik]:
> > > > 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?
> >
> > {{{
> > $ tar xOjf r-batchfiles-r149.tar.bz2 etc/ini/rbatchfiles.bat
> > SET PATH=%PATH%;%OSGEO4W_ROOT%\apps\rbatchfiles
> > }}}
>
> but I've changed that in r-batchfiles-r149-'''2'''.tar.bz2 to
>
> {{{
> C:\r-batchfiles\etc\ini\rbatchfiles.bat
> IF EXIST "%ProgramFiles%\R\" %OSGEO4W_ROOT%\apps\rbatchfiles\R path
> }}}
>
> in order to avoid this.
as the rgrass7 package (R-GRASS interaction) will upcome with a new
version including improvements for winGRASS-R coupling (see (1)), it would
be nice to have this in.
r-batchfiles-r149-2.tar.bz2 doesn't poison unnecessarily %PATH%, it only
adds R-installation path to %PATH% if R is installed.
what next to do? I have no access to OSGeo4W repository.
(1) [http://osgeo-org.1560.x6.nabble.com/Using-GRASS-addons-in-R-on-
Windows-td5244411.html rgrass7 discussion]
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/413#comment:24>
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