Git Product home page Git Product logo

agroft's Introduction

Agroft: Agricultural Field Trial Statistics Package

An analysis interface for the Agriculture Innovation Project

Installation

The Agroft application is a R package and the development version is hosted on Github. The easiest way to install it is via install.packages, specifying this repository in addition to the normal CRAN repository.

You will also need Rtools installed if you are using Microsoft Windows. Download the Rtools<XY>.exe file that corresponds to your verision of R from this website.

After installing Rtools, re-open R and run:

> install.packages('agroft', 
                   repos = c('@CRAN@', 'https://ucd-ipo.github.io/agroft'), 
                   type='source')

Older versions of R may not be able to download data from the Agroft repository. If you get the error:

Warning in install.packages :
  package 'agroft' is not available (for R version x.y.z)

You will need to install Agroft using the devtools package.

Install devtools:

> install.packages('devtools')

Now install the development version of the app with:

> devtools::install_github('ucd-ipo/agroft')

This step only has to be done once.

Usage

Open R and load the package with the library function:

> library(agroft)

This will load the package and open a new Agroft session in your default web browser. Closing the browser window or tab in which Agroft is running will end your Agroft session (data and progress will not be saved between Agroft sessions). To start another new Agroft session, use the launch function (i.e. type launch() at the R command prompt (>) and press enter).

> launch()

A new session will start in your default web browser.

You can also use the setup function to confugre R so that it will launch an Agroft session when R starts. This option is designed for users who only plan on using R to run Agroft, and not for other purposes.

> setup()

agroft's People

Contributors

moorepants avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.