[GRASS-stats] R 3.3.1 and GRASSGIS 7.0.4
C. Buerger IV
cbuerger4 at gmail.com
Wed Jul 13 13:46:20 PDT 2016
When I enter the command echo %PATH% I get:
C:\Program Files\Grass GIS 7.0.7\lib;C:\Program Files\GRASS GIS
7.0.4\bin;C:\Users\buer3379\AppData\Roaming\GRASS7\addons\bin;{app};C:\Program
Files\GRASS GIS 7.0.4\estrabin;C:\Program Files\GRASS GIS
7.0.4\bin;C:\Program
Files\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windowssystem32\config\systemprofile\.dnx\bin;C:\Program
Files\Microsoft\DNS
Dnvm\;C:\Program Files
(x86)\Skype\Phone\;c:\users\buer3379\appdata\local\enthought\canopy\user\scripts;C:\Users\buer3379\AppData\Local\Enthough\Canopy\User;C:\Users\buer3379\AppData\Local\Enthought\Canopy\User\Scripts;C:\Program
Files\RStudio\bin;C:\Program Files\R\R-3.3.1\bin\x64
Reassigning the PATH variable did not affect anything. I got the same error
as before.
any idea?
> maybe around here?
> "Before further steps, we will set our working directory so that the input
> population files and text files we are going to create in the following
> section are saved in one directory and easily accessible. You can do that
> from menu Settings → GRASS working environment → Change working directory.
> Select (or create) a directory and move there the downloaded files
> population_projection.csv and population_trend.csv. "
I had questions about this part, or its placement in the order of the
walkthrough, and contacted an individual on the OSGEO team at NC State
about them. That individual. That person seemed unconcerned about it, but
perhaps I did not express my concerns clearly enough. I did do that part,
though I still do not understand why it should be done that far ahead of
the step that uses the population data.
Thank you for your help and appologies for getting back to you so late,
C. L. Buerger IV
On Fri, Jul 8, 2016 at 6:45 PM, Helmut Kudrnovsky <hellik at web.de> wrote:
> C. Buerger IV wrote
> > I'm attempting to use the FUTURES
> > <
> https://grasswiki.osgeo.org/wiki/Workshop_on_urban_growth_modeling_with_FUTURES#Software>model
> > for GRASSGIS, which requires an interface with R to use the drudge
> > function. I'm running Windows 7 and the automatic linkup between R and
> > GRASS does not seem to be happening. When working from the FUTURES
> package
> > I have run:
> >
> > r.futures.potential -d input=sampling at practice1 output=potential.csv
> >
> columns=devpressure_0_5_92,slope,road_dens_perc,forest_1992_smooth_perc,dist_to_water_km,dist_to_protected_km,dist_interchanges_km,travel_time_cities
> > developed_column=urban_change_clip subregions_column=counties
> > min_variables=4 --overwrite
> >
> > and get:
> >
> > Running automatic model selection ...
> > Traceback (most recent call last):
> > File "C:\Users\buer3379\AppData\Roaming\GRASS7\addons/scri
> > pts/r.futures.potential.py", line 185, in
> > <module>
> > sys.exit(main())
> > File "C:\Users\buer3379\AppData\Roaming\GRASS7\addons/scri
> > pts/r.futures.potential.py", line 158, in main
> > stdout=subprocess.PIPE, stderr=subprocess.PIPE)
> > File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line
> > 711, in __init__
> > errread, errwrite)
> > File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line
> > 948, in _execute_child
> > startupinfo)
> > WindowsError: [Error 2] The system cannot find the file
> > specified
> >
> > In just attempting to run R via R--save I get:
> >
> > R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
> > Copyright (C) 2016 The R Foundation for Statistical Computing
> > Platform: x86_64-w64-mingw32/x64 (64-bit)
> > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > You are welcome to redistribute it under certain conditions.
> > Type 'license()' or 'licence()' for distribution details.
> > Natural language support but running in an English locale
> > R is a collaborative project with many contributors.
> > Type 'contributors()' for more information and
> > 'citation()' on how to cite R or R packages in publications.
> > Type 'demo()' for some demos, 'help()' for on-line help, or
> > 'help.start()' for an HTML browser interface to help.
> > Type 'q()' to quit R.
> > During startup - Warning messages:
> > 1: Setting LC_CTYPE=en_US.cp1252 failed
> > 2: Setting LC_COLLATE=en_US.cp1252 failed
> > 3: Setting LC_TIME=en_US.cp1252 failed
> > 4: Setting LC_MONETARY=en_US.cp1252 failed
> >>
> >
> > Does anyone have any pointers or tips to work around this problem. Any
> > ideas would be appreicated.
> >
> > C. L. Buerger IV
>
> could you type in the winGRASS windows console:
>
> echo %PATH%
>
> ?
>
>
>
>
> -----
> best regards
> Helmut
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/R-3-3-1-and-GRASSGIS-7-0-4-tp5274444p5275499.html
> Sent from the Grass - Stats mailing list archive at Nabble.com.
> _______________________________________________
> grass-stats mailing list
> grass-stats at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-stats
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-stats/attachments/20160713/8244bdd6/attachment.html>
More information about the grass-stats
mailing list