<div>Oops, I forgot some important information:</div>
<div> </div>
<div>=================By GRASS side</div>
<div>&gt; set<br>!::=&#39;::\&#39;<br>!C:=&#39;C:\&#39;<br>ALLUSERSPROFILE=&#39;C:\ProgramData&#39;<br>APPDATA=&#39;C:\Users\famiglia\AppData\Roaming&#39;<br>ARCGISHOME=&#39;C:\Program Files (x86)\ArcGIS\&#39;<br>BASH=/bin/sh<br>
BASH_VERSINFO=([0]=&quot;2&quot; [1]=&quot;04&quot; [2]=&quot;0&quot; [3]=&quot;1&quot; [4]=&quot;release&quot; [5]=&quot;i686-pc-msys&quot;)<br>BASH_VERSION=&#39;2.04.0(1)-release&#39;<br>BGCOLOR=LightYellow<br>COLORFGBG=&#39;default;default&#39;<br>
COLORTERM=rxvt<br>COLUMNS=82<br>COMMONPROGRAMFILES=&#39;C:\Program Files (x86)\Common Files&#39;<br>COMMONPROGRAMFILES(X86)=&#39;C:\Program Files (x86)\Common Files&#39;<br>COMMONPROGRAMW6432=&#39;C:\Program Files\Common Files&#39;<br>
COMPUTERNAME=FAMIGLIA-PC<br>COMSPEC=&#39;C:\Windows\SysWOW64\cmd.exe&#39;<br>DFSTRACINGON=FALSE<br>DIRSTACK=()<br>DISPLAY=:0<br>EUID=500<br>FGCOLOR=Navy<br>FP_NO_HOST_CHECK=NO<br>GISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn<br>
GISRC=/tmp/grass6-famiglia-8108/gisrc<br>GIS_LOCK=8108<br>GRASS_GNUPLOT=&#39;gnuplot -persist&#39;<br>GRASS_HTML_BROWSER=&#39;C:/Program Files/Internet Explorer/iexplore.exe&#39;<br>GRASS_LD_LIBRARY_PATH=&#39;/c/OSGeo4W/apps/grass/grass-6.5.svn/lib:/c/OSGeo4W/apps/grass/grass-6.5.svn/bin:/c/OSGeo4W/apps/grass/grass-6.5.svn/scripts:/c/OSGeo4W/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static&#39;<br>
GRASS_PAGER=less<br>GRASS_PERL=no<br>GRASS_PROJSHARE=/c/OSGeo4W/share/proj<br>GRASS_PYTHON=python<br>GRASS_SH=/bin/sh<br>GRASS_TCLSH=tclsh<br>GRASS_VERSION=6.5.svn<br>GRASS_WISH=wish<br>GROUPS=()<br>HISTFILE=/home/famiglia/.bash_history<br>
HISTFILESIZE=500<br>HISTSIZE=500<br>HOME=/home/famiglia<br>HOMEDRIVE=C:<br>HOMEPATH=&#39;\&#39;<br>HOSTNAME=FAMIGLIA-PC<br>HOSTTYPE=i686<br>IFS=&#39;   <br>&#39;<br>LINES=31<br>LOCALAPPDATA=&#39;C:\Users\famiglia\AppData\Local&#39;<br>
LOGNAME=famiglia<br>LOGONSERVER=&#39;\\FAMIGLIA-PC&#39;<br>MACHTYPE=i686-pc-msys<br>MAILCHECK=60<br>MAKE_MODE=unix<br>MINGW32BGCOLOR=LightYellow<br>MINGW32FGCOLOR=Navy<br>MSYSBGCOLOR=White<br>MSYSCON=rxvt.exe<br>MSYSFGCOLOR=Black<br>
MSYSTEM=MINGW32<br>NUMBER_OF_PROCESSORS=4<br>OPTERR=1<br>OPTIND=1<br>OS=Windows_NT<br>OSTYPE=msys<br>PATH=&#39;/c/OSGeo4W/apps/grass/grass-6.5.svn/lib:/c/OSGeo4W/apps/grass/grass-6.5.svn/bin:/c/OSGeo4W/apps/grass/grass-6.5.svn/scripts:/c/OSGeo4W/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static&#39;<br>
PATHEXT=&#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC&#39;<br>PIPESTATUS=([0]=&quot;0&quot;)<br>PPID=8108<br>PROCESSOR_ARCHITECTURE=x86<br>PROCESSOR_ARCHITEW6432=AMD64<br>PROCESSOR_IDENTIFIER=&#39;Intel64 Family 6 Model 23 Stepping 10, GenuineIntel&#39;<br>
PROCESSOR_LEVEL=6<br>PROCESSOR_REVISION=170a<br>PROGRAMDATA=&#39;C:\ProgramData&#39;<br>PROGRAMFILES=&#39;C:\Program Files (x86)&#39;<br>PROGRAMFILES(X86)=&#39;C:\Program Files (x86)&#39;<br>PROGRAMW6432=&#39;C:\Program Files&#39;<br>
PROMPT=&#39;$P$G&#39;<br>PS1=&#39;GRASS 6.5.svn (newLocation):\w &gt; &#39;<br>PS2=&#39;&gt; &#39;<br>PS4=&#39;+ &#39;<br>PUBLIC=&#39;C:\Users\Public&#39;<br>PWD=C:/OSGeo4W/apps/msys/home/famiglia<br>PYTHONPATH=&#39;/c/OSGeo4W/apps/grass/grass-6.5.svn/etc/python:C:\Program Files (x86)\ArcGIS\bin&#39;<br>
SESSIONNAME=Console<br>SHELL=/bin/sh<br>SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs<br>SHLVL=3<br>SYSTEMDRIVE=C:<br>SYSTEMROOT=&#39;C:\Windows&#39;<br>TEMP=/tmp<br>TERM=msys<br>TMP=/tmp<br>
TRACE_FORMAT_SEARCH_PATH=&#39;\\<a href="http://NTREL202.ntdev.corp.microsoft.com">NTREL202.ntdev.corp.microsoft.com</a>\34FB5F65-FFEB-4B61-BF0E-A6A76C450FAA\TraceFormat&#39;<br>UID=500<br>USERDOMAIN=famiglia-PC<br>USERNAME=famiglia<br>
USERPROFILE=&#39;C:\Users\famiglia&#39;<br>WD=&#39;C:\OSGeo4W\apps\msys\\bin\&#39;<br>WINDIR=&#39;C:\Windows&#39;<br>WINDOWID=167838920<br>_=-p<br><br></div>
<div>
<div>=================By R(spgrass6) side</div>
<div>&gt; sessionInfo()<br>R version 2.9.0 alpha (2009-03-26 r48224) <br>i386-pc-mingw32 </div>
<div>locale:<br>LC_COLLATE=English_Canada.1252;LC_CTYPE=English_Canada.1252;LC_MONETARY=English_Canada.1252;LC_NUMERIC=C;LC_TIME=English_Canada.1252</div>
<div>attached base packages:<br>[1] stats     graphics  grDevices utils     datasets  methods   base     </div>
<div>other attached packages:<br>[1] spgrass6_0.5-18 raster_0.8.9-6  maptools_0.7-20 foreign_0.8-34 <br>[5] rgdal_0.6-7     sp_0.9-32      </div>
<div>loaded via a namespace (and not attached):<br>[1] grid_2.9.0      lattice_0.17-20<br></div><br></div>
<div class="gmail_quote">2009/4/6 Milton Cezar Ribeiro <span dir="ltr">&lt;<a href="mailto:miltinho.astronauta@gmail.com">miltinho.astronauta@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Dear all,</div>
<div> </div>
<div>I am running grass65 under MSYS under Vista.</div>
<div>After launch MSYS  / GRASS / R, I get the information about</div>
<div>mapset without problem. But as my raster image are very large,</div>
<div>R can support the file. So I decided to change the </div>
<div>extent of the GRASS project using</div>
<div>R to control the new extent (in fact I have reasons to</div>
<div>do so from R).</div>
<div> </div>
<div>But when I try run system(&quot;g.region ...&quot;) I get error on R.</div>
<div>May be R can&#39;t get the PATH where the g.region command are.</div>
<div> </div>
<div>-------------------</div>
<div>&gt; require(rgdal)<br>&gt; require(sp)<br>&gt; require(maptools)<br>&gt; require(raster)<br>&gt; require(spgrass6)<br>&gt; <br>&gt; gmeta6()<br>gisdbase    J:/HDExt/cNEC/AnaliseJuruena05_abril2009/juruena_grass_sdb <br>
location    newLocation <br>mapset      PERMANENT <br>rows        14178 <br>columns     8710 <br>north       9217368 <br>south       8366688 <br>west        160765 <br>east        683365 <br>nsres       60 <br>ewres       60 <br>
projection  +proj=utm +south +no_defs +zone=21 +a=6378160 +rf=298.25 +to_meter=1</div>
<div> </div>
<div>&gt; reser.bbox&lt;-bbox(reser)<br>&gt; reser.bbox<br>      min       max<br>x  371035  465139.4<br>y 8764093 8833845.3<br>&gt; reser.north&lt;-reser.bbox[2,2]<br>&gt; reser.south&lt;-reser.bbox[2,1]<br>&gt; reser.east &lt;-reser.bbox[1,2]<br>
&gt; reser.weast&lt;-reser.bbox[1,1]</div>
<div> </div>
<div>&gt; system(&quot;g.region n=reser.north s=reser.south e=reser.east w=reser.west&quot;)<br>Warning message:<br>In system(&quot;g.region n=reser.north s=reser.south e=reser.east w=reser.west&quot;) :<br>  g.region not found<br>
&gt; <br></div>
<div>Any help are welcome.</div>
<div> </div>
<div>Bests</div>
<div> </div><font color="#888888">
<div>milton</div>
<div> </div>
<div> </div></font></blockquote></div><br>