Download and Installation

From $1

    Version as of 19:45, 18 Sep 2019

    to this version.

    Return to Version archive.

    View current version

    radR is installed in its own folder, rather than as an R package.

    • Windows XP:  the latest version stable version is here.  You will need R version 2.5.1.
    • Linux: the source code for the latest stable version is here.  You will need R version 2.5.1

    Previous source and windows binary versions are available here.

    Detailed instructions

    Windows: initial | upgrade    Linux: initial | upgrade

     

    First time installation:  follow these instructions If you have never installed radR before, or wish to create a new installation that will not use any saved parameter values or preferences from a previous installation.

     

    Windows XP initial installation:

     

    • install the recommended  R for windows (the version of R required for radR will change no more than once per year.)
    • download the most recent radRXXXwindows.zip here.(Note: as of Oct. 2008, revision numbers were reset to 1.  Check the file dates.)
    • install radRXXXwindows.zip by unzipping it to a folder (e.g. a folder called radR on your desktop.. WinZip Warning:  verify that your unzip program has correctly created radR subfolders.  These
      should include at least: antennas, main, gui, packages, plugins, palettes, plugins.  At least one version of WinZip has been found to incorrectly flatten this substructure and corrupt files.  The symptom is radR not starting at all, or starting with an error message about "strictenv" and then exiting.  Unzip programs known to work are the "Compressed Files" handler built into Windows XP, and the excellent free Info-Zip program.
    • run radR: double-click on the radRX.Y.Z.bat file in that folder, where X.Y.Z is the
      recommended version of R.   Alternatively:
      • run the graphic version of R, Rgui.exe, from within the radR folder;  this is best done by creating a shortcut to Rgui.exe which starts in the radR folder.
      • from the menu: File | Change dir... and change the directory to the radR folder
      • from the menu: File | Source R code... and select .Rprofile
      • you might need to minimize the Rgui window to see the radR windows
    • if R is not installed in the usual location (C:\Program Files\R\R-X.Y.Z\bin) then edit
      radRX.Y.Z.bat to change the path in the first line: set RHOME=c:\Program Files\R\R-X.Y.Z
    • to hide the console window when starting from the radRX.Y.Z.bat, right click on its icon and drag to the desktop and choose Create a shortcut here.  Right-click on the new shortcut icon and choose Properties.  Then, in the Shortcut panel, change the Run property to minimized.

    Debian or Ubuntu GNU/Linux

    • install the recommended version of R for unix
    • you also need GNU tar, bash, make and gcc
    • download the most recent radRXXXsource.tgz
    • unpack and build radR by doing:
      • tar -xzvf radRXXXsource.tgz
      • cd radR
      • edit Makefile.unix.inc to ensure that the variables R_VERSION, R_INC, and R_LIBDIR point to the correct
        locations on your system; you might need to change other build variables in Makefile and Makefile.unix.inc
      • make; make local_install
    • run radR by doing (from the radR directory):
      • cd LOCAL_INSTALL_DIR  (the location you set in Makefile.unix.inc)
      • R(R will run from the file .Rprofile)
    • on unix, the radR plugins seascan and xenex are not available; however, data recorded by a SeaScan or IntegRadar server, can be read by the seascanarch and xenexarch plugins, respectively. it can read data recorded by one
    1. Upgrade installations

    If you wish to upgrade an existing installation of radR, follow these instructions.  Any parameter values and preferences you saved with the existing version will be preserved in the new installation.

    Windows XP

    • if necessary, install the version of R recommended for the new version of  radR
    • extract the file radRXXXwindows.zip into the same folder as your existing version of radR

    Debian or Ubuntu GNU/Linux

    • if necessary, install the version of R recommended for the new version of  radR

    • download and build the new version of radR, making sure to set LOCAL_INSTALL_DIR to point to the same location as it did in the previous version

    How configuration files are handled during an upgrade

    Configuration files are files in R syntax which assign numbers, strings, lists etc. to
    names.  radR reads these as a list of named items.  Current configuration files are named XXX.conf.R, and configuration files in a new installation are named XXX.conf.update.R

    The following procedure from radRutil.R:rss.do.load.config() is applied to each configurable object XXX:

    if the file XXX.conf.update.R exists
        read LIST from it
        rename XXX.conf.update.R to XXX.conf.factory.R (deleting any old copy)
        if the file XXX.conf.R exists
          update LIST from the file XXX.conf.R, overwriting any entries
                 already in LIST, but not adding any not already there
          rename XXX.conf.R to XXX.conf.old.R (deleting any old copy)
        endif
        copy XXX.conf.factory.R to XXX.conf.R (needed for rewrite)
        rewrite LIST to XXX.conf.R
     else
        read LIST from XXX.conf.R, if it exists

    In summary, if the file XXX.conf.update.R exists, it is presumed to be
    an update, and any items in it but not in XXX.conf.R are added to the latter.
    If an item is in XXX.conf.R but not in XXX.conf.update.R, it is removed, on the assumption that
    the new version of radR has made the item obsolete.
    The file XXX.conf.update.R is renamed so that the update only occurs once.

     


     
    Powered by MindTouch Core