Run GLM demo
Timeline
SubTasks
From Age of Water
    TypeM
    low
    ProgressM
    100%
    Start dateM
    18th Oct 2014
    Target dateM
    24th Oct 2014
    Participants
    Not defined!
    Expertise
    Not defined!
    Legend: M Mandatory | States: Not defined, Valid, Inconsistent with parent
    (Run GLM demo)
    m (Installing required packages)
    Line 4: Line 4:
     
    ===Installing required packages===
     
    ===Installing required packages===
      
    For '''windows''' use use the following command in R:
    +
    For '''windows, OSX, or Linux''' use use the following command in R:
    In R, type:
    +
    <code><pre> install.packages("ncdf4",
    +
        repos = "http://gleon.github.com/",
    +
        type = "win.binary") </pre></code>
    +
     
    +
    then
    +
    <code><pre> install.packages("glmtools",
    +
        repos = c("http://gleon.github.com/", "http://cran.us.r-project.org", "http://usgs-r.github.com/"),
    +
        dependencies = TRUE,
    +
        type = "both",
    +
        INSTALL_opts = "--no-multiarch") </pre></code>
    +
     
    +
     
    +
    For '''OSX or Linux''' use the following command in R:
    +
     
    <code><pre> install.packages("glmtools",  
     
    <code><pre> install.packages("glmtools",  
     
         repos = c("http://gleon.github.com/", "http://cran.us.r-project.org", "http://usgs-r.github.com/"),
     
         repos = c("http://gleon.github.com/", "http://cran.us.r-project.org", "http://usgs-r.github.com/"),
    Line 24: Line 10:
     
         type = "both")</pre></code>
     
         type = "both")</pre></code>
      
    You now have GLM (<code>GLMr</code>), R tools for GLM (<code>glmtools</code>), NetCDF file handlers (<code>ncdf4</code>), and <code>rLakeAnalyzer</code> installed!!
    +
    You now have GLM (<code>GLMr</code>), R tools for GLM (<code>glmtools</code>), NetCDF file handlers (<code>ncdf</code>), and <code>rLakeAnalyzer</code> installed!!
      
     
    ===Run GLM demo===
     
    ===Run GLM demo===

    Revision as of 15:45, 21 October 2014


    Installing required packages

    For windows, OSX, or Linux use use the following command in R:

     install.packages("glmtools", 
        repos = c("http://gleon.github.com/", "http://cran.us.r-project.org", "http://usgs-r.github.com/"),
        dependencies = TRUE,
        type = "both")

    You now have GLM (GLMr), R tools for GLM (glmtools), NetCDF file handlers (ncdf), and rLakeAnalyzer installed!!

    Run GLM demo

    library(GLMr)
    demo(glm)

    If you get a success message, your task is complete!

    Properties
    Credits
    Users who have contributed to this Task, its SubTasks and Answers:
    Yandex.Metrica