I need help to connect R with Grass. In RStudio when I send the line:

loc <- initGRASS("C:/Program Files/R/R-3.1.0/bin/i386", home=tempdir(),
override=TRUE)

and it says:  Error in system(paste("g.dirseps.exe -g",
shQuote(Sys.getenv("WINGISRC"))),  :
  'g.dirseps.exe' not found

Guys, can you help me?

	[[alternative HTML version deleted]]

