Skip to content
Atharv Bhosekar edited this page Apr 20, 2021 · 5 revisions

GDXRRW

Package Versions

GDXRRW 1.0.10, 2 April 2021: built by R 4.0.5

GDXRRW 1.0.8, 10 Dec 2020: built by R 4.0.3

GDXRRW 1.0.6, 9 May 2020: built by R 4.0.0

GDXRRW 1.0.5, 27 Sep 2019: built by R 3.6.1

GDXRRW 1.0.4, 10 Aug 2018: built by R 3.5.1 - rename files after downloading to lose the _r351

GDXRRW 1.0.4, 19 Feb 2018: binaries built with R version prior to 3.5

GDXRRW 1.0.2, 19 Oct 2016:

GDXRRW 0.5.4, 20 Apr 2015:

GDXRRW 0.5.1, 28 Jan 2015:

GDXRRW 0.2.0, 18 Oct 2012:

GDXRRW 0.0-4, 2 Jul 2012:

GDXRRW 0.0-3, 2 Nov 2011:

GDXRRW 0.0-2, 16 Aug 2011:

GDXRRW 0.0-1, 2 Aug 2011: Initial alpha release

Package installation

The preferred way to install GDXRRW is using devtools package. Devtools can be installed by running the following command in R.

install.packages("devtools")

devtools can then be loaded

library(devtools)

GDXRRW can be installed as follows.

install_github("GAMS-dev/gdxrrw/gdxrrw")

To install a specific version of GDXRRW, the following command can be used.

install_github("GAMS-dev/gdxrrw/gdxrrw@vX.Y.Z")

GDXRRW can also be installed using the source/binary package files (using the download links above).

The GDXRRW package depends on the reshape2 package. Before installing GDXRRW you should install the reshape2 package, e.g. by running install.packages(“reshape2”)

  • installing from source: In the R environment, navigate to the directory containing the source package file (see download links above), and, substituting the version number for a.b.c, type: install.packages(“gdxrrw_a.b.c.tar.gz”) or, depending on the version of R, install.packages(“gdxrrw_a.b.c.tar.gz”,repos=NULL,type=“source”)

  • Linux installation: In the R environment, navigate to the directory containing the binary package file (see download links above), and, substituting the version number for a.b.c and the appropriate platform info, type: install.packages(“gdxrrw_a.b.c_R_platform-info.tar.gz”) or, depending on the version of R, install.packages(“gdxrrw_a.b.c_R_platform-info.tar.gz”,repos=NULL)

  • OS X installation: In the R environment, navigate to the directory containing the binary package file (see download links above), and, substituting the version number for a.b.c, type: install.packages(“gdxrrw_a.b.c.tgz”) or, depending on the version of R, install.packages(“gdxrrw_a.b.c.tgz”,repos=NULL)

  • Windows installation: In the R environment, navigate to the directory containing the binary package file (see download links above), and, substituting the version number for a.b.c, type: install.packages(“gdxrrw_a.b.c.zip”) or, depending on the version of R, install.packages(“gdxrrw_a.b.c.zip”,repos=NULL)

FAQ

  • How to install R packages in user space?
    If you are relatively new to R you may not have installed R packages before. More complete documentation on installing and managing packages is available in the R manual, but you can also follow these simple steps for getting set up to install packages in user space.
    1. Find out the name of the user-specific package installation directory: this is given by the command Sys.getenv(“R_LIBS_USER”)
    2. Verify that this directory exists. If it does not, then create it and restart R.
    3. Verify that this directory is now the first directory in the library installation/search path: do .libPaths()
    4. Do the installation, e.g. using one of the install.packages commands above.
Clone this wiki locally