Skip to content
Emanuel Huber edited this page Sep 18, 2019 · 1 revision

Feel free to contact me if you have any troubles, questions, comments, wishes, etc.

[email protected]

Software

  1. Download R from the R Cran website and install it.
  2. Optionally install a R-editor:
  1. If necessary, learn some R basics:

Install and load RGPR

require("devtools")   # package "devtools" used to install RGPR
devtools::install_github("emanuelhuber/RGPR")  # install RGPR
library(RGPR)   # load RGPR in the current R session

Note: if necessary, use the lib argument of the function install_github() to define the library directory where to install the package. For example with Ubuntu: devtools::install_github("username/packagename", lib="/usr/lib/R/library/").

Error 'C:\Program is not recognized as an internal or external command'

Solution (source, check also):

  • uninstall R

``re-install R/Rtools/Rstudio on C: (not C:\Program Files)

  • Go to your windows variables (Controll Panel)

  • Edit PATH field with the following path: C:\R\R-3.0.1\bin;C:\R\R-3.0.1\bin\i386;C:\R\R-3.0.1\bin\x64;

Tutorials

Check the companion website for tutorials:

http://emanuelhuber.github.io/RGPR/

Recommended directory/file organisation

/name_of_survey   (put your R-script)
    /maps         (maps, sketches of the GPR survey)
    /processing   (the processed files, use sub-directories)
    /rawGPR       (the raw data, never modify this files)
    /topo         (topographic data)
        /GPS            (GPS data, converted in shapefiles)
        /totalStation   (topographic data measured with a total station)
        /elevationGPR   (if available, 1 file for each GPR file containing
                         the x,y,z coordinates of every traces)