Displaying 1 result from an estimated 1 matches for "r_working_directory".
2012 Dec 23
1
Calling a .bat to set environment variables and subsequent .exe execution from within R
...he
problem is that I need to execute SDKShell.bat file first that sets the
environment variables for the program ogr2ogr.exe:
shell(cmd = "C:\\GDAL_1.9.2_MAPSERVER_6.2.0\\SDKShell_original.bat")
Setting environment for using the GDAL and MapServer tools.
Hiding the OCI plugin library.
D:\R_working_directory\Koordinatenproblem>> source(.trPaths[5], echo=TRUE,
max.deparse.length=150)
shell( cmd="ogr2ogr -s_srs EPSG:31254 -t_srs EPSG:25832
D:\\R_working_directory\\Koordinatenproblem\\Fliessgewaesser_25832.shp
D:\\R_working_directory\\Koordinatenproblem\\Fliessgewaesser.shp", invisible
=...