Nicholas,

I have the same problem, and change to R 2.9.0 and the things works fine
under windows Vista. But the preparing my command to send to system("...")
we need to include the .exe on the command. According to Roger Bivand, this
issue will be solve on next versions.

Try install R 2.9.0 alpha, and good luck.

best wishes

miltinho
brazil-toronto

On Mon, Apr 13, 2009 at 5:55 PM, Nicholas N Nagle <
Nicholas.Nagle@colorado.edu> wrote:

> Dear list,
> I am trying to load the spgrass6 library from within GRASS.  I am running R
> 2.8.0 and GRASS6.4 from within QGIS (i.e. Plugins -> GRASS -> Open Grass
> Tools -> Shell).
>
> Here is the problem I am getting:
> > library(spgrass6)
> Error in system(paste("g.version", .addexe(), sep = ""), intern = TRUE) :
>  g.version not found
> In addition: Warning message:
> package 'spgrass6' was built under R version 2.8.1
> Error in library(spgrass6) : .First.lib failed for 'spgrass6'
>
> The warning, is usual for me, and has not caused any problems in the past.
>
> I don't know if this helps, but I also get:
>
> > system("g.version")
> Warning message:
> In system("g.version") : g.version not found
> > system("g.version.exe")
> GRASS 6.4.0svn (2009)
>
> so I CAN run g.version.exe, but not g.version.  Is this a problem for
> spgrass6?
>
> Thanks,
>
> Nicholas
>
>
>
> Nicholas N. Nagle, Assistant Professor
> University of Colorado
> Department of Geography
> UCB 260, Guggenheim 110
> Boulder, CO 80309-0260
> phone: 303-492-4794
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

