[GRASS-dev] Re: [GRASS GIS] #1149: WinGrass - load R-installation-path dynamically into PATH

GRASS GIS trac at osgeo.org
Sat May 21 19:39:24 EDT 2011


#1149: WinGrass - load R-installation-path dynamically into PATH
-------------------------------+--------------------------------------------
 Reporter:  hellik             |       Owner:  grass-dev@…              
     Type:  enhancement        |      Status:  new                      
 Priority:  normal             |   Milestone:  7.0.0                    
Component:  Startup            |     Version:  svn-trunk                
 Keywords:  wingrass, path, R  |    Platform:  MSWindows Vista          
      Cpu:  x86-32             |  
-------------------------------+--------------------------------------------

Comment(by hellik):

 Replying to [comment:6 hellik]:
 > Replying to [comment:5 hellik]:
 > > Replying to [comment:4 hellik]:
 > > >
 > > > I've attached working patches for WinGrass64svn and WinGrass65.
 > >
 > > also now attached a working tested patch for WinGrass70.
 > >
 > > after some cleaning of the messages, it would be nice to have it in
 all branches.
 > >
 > > I'm often coupling R and grass inside a grass-session in windows, it's
 a very nice feature for analysing gis-data to have.
 > >
 >
 > see also [http://code.google.com/p/batchfiles/ Windows batchfiles for
 use with R]

 I've tested following in my win32-vista-box

 - installed nightly build WinGRASS-7.0.SVN-r46330-1-Setup.exe

 - copied the batch-files from http://code.google.com/p/batchfiles/ into
 C:\Program Files\GRASS 7.0.SVN\extrabin

 - started "GRASS 7.0.SVN with MSYS" by the desktop-shortcut

 - in the windows-command-line of "GRASS 7.0.SVN with MSYS" it's possible
 to start a R-session within a Grass-session (recognizing all Grass-
 environment-variables) by typing ''cmd R.bat''

 - in the windows-command-line of "GRASS 7.0.SVN with MSYS" it's possible
 to start a R-GUI-session within a Grass-session (recognizing all Grass-
 environment-variables) by typing ''cmd Rgui.bat''


 so I '''strongly recommend''' using the bat-files from
 http://code.google.com/p/batchfiles/ for a smoothly
 WinGrass-R-integration.


 the bat-files are gpl'ed, so there's maybe no problem to include them in
 an wingrass-selfinstaller?

 after some tweaking (i.e. starting from the wxgui, ...), this would be a
 great and an all-time improvement coupling wonderfull GIS- and
 (geo-)statistic- software in the windows environment.

 Helmut

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1149#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list