I use GRASS and R within a EMACS-ESS environment, which works quite well overall.  I can keep a script that uses both GRASS and R in a single script file and bounce back and forth between them as I need for analysis (i.e. &quot;system(&quot;grass64 /media/Data/Work/grassdata/CFR/biomass&quot;)&quot; to go to GRASS from R, and &quot;R&quot; to go to R from GRASS).  When within a R environment, I can send multiple lines from a buffer to the R proccess with a C-c C-r keystroke, which works brilliantly.  <br>

<br>But when I am in the GRASS environment, I am only able to send one line at a time or it will hang until I hit C-g (which results in only the first line of the region being sent).  I imagine that this is because ESS is waiting for the standard R prompt &quot;&gt;&quot; before sending the next line, but while in GRASS the prompt is something more like &quot;GRASS 6.4.0RC5 (CFR):/grassdata/map&gt; &quot; so ESS doesn&#39;t know that the previous command is finished and just waits until I cancel it with C-g.   Anyone found a solution to this problem?  <br>

<br>Thanks,<br>Adam<br clear="all"><br>