Changes between Version 14 and Version 15 of ndtvInstallation


Ignore:
Timestamp:
11/09/15 21:51:52 (2 years ago)
Author:
skyebend
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ndtvInstallation

    v14 v15  
    55== Installing ndtv and its external dependencies ==  
    66[[Image(https://statnet.csde.washington.edu/trac/raw-attachment/wiki/ndtvInstallation/short.stergm.gif,right)]] 
    7 The [http://cran.r-project.org/web/packages/ndtv/ ndtv: Network Dynamic Temporal Visualizations package] renders dynamic network data from networkDynamic objects as animated movies or other representations of relational structure and node attributes that change over time. It relies on many other packages to do much of the heavy lifting, especially [http://cran.r-project.org/web/packages/animation/ animation] and [http://cran.r-project.org/web/packages/networkDynamic/ networkDynamic]. For some features, it also requires external libraries (FFmpeg) to save movies out of the R environment, and Java to be able to some of the better layout algorithms. 
     7The [http://cran.r-project.org/web/packages/ndtv/ ndtv: Network Dynamic Temporal Visualizations package] renders dynamic network data from networkDynamic objects as animated movies or other representations of relational structure and node attributes that change over time. It relies on many other packages to do much of the heavy lifting, especially [http://cran.r-project.org/web/packages/animation/ animation] and [http://cran.r-project.org/web/packages/networkDynamic/ networkDynamic]. For some features, it also requires external libraries (FFmpeg) to save movies out of the R environment, and Java to be able to apply some of the better layout algorithms. 
    88 
    99These instructions are copied from the ndtv tutorial and most of the content can also be found in the R help files for the various functions indicated. These instructions assume you already have a R [wiki:Installation installed] 
     
    1313There a several ways to try out the ndtv features 
    1414 
    15 * The ndtv package vignette can be displayed with {{{browseVignette(package='ndtv)}}}. 
     15* The [https://cran.r-project.org/web/packages/ndtv/vignettes/ndtv.pdf ndtv package vignette] (can be displayed with {{{browseVignette(package='ndtv)}}}). 
    1616* There is a longer and more detailed [http://statnet.csde.washington.edu/workshops/SUNBELT/current/ndtv/ndtv_workshop.html ndtv tutorial]. 
    1717* the ndtv-d3 HTML5 animation component has its own [http://statnet.csde.washington.edu/workshops/SUNBELT/current/ndtv/ndtv-d3_vignette.html tutorial] 
     
    4242If the installation worked, than the following command should load the package and print version information. 
    4343{{{ 
    44 library(ndtv) # also loads animation and networkDynamic 
     44library(ndtv) # also loads animation and networkDynamic packages 
    4545}}} 
    4646 
     
    6262ˆ 
    6363==== Linux / Unix FFmpeg instructions ==== 
    64 * FFmpeg or the optional is a standard package on many Linux systems. You can check if it is installed with a command like {{{dpkg -s ffmpeg}}}. If it is not installed, you should be able to install with your system's package manager. i.e. {{{sudo apt-get install ffmpeg}}} or search 'mpeg' in the Software Center on Ubuntu. 
     64* FFmpeg or the alternate avconv is a standard package on many Linux systems. You can check if it is installed with a command like {{{dpkg -s ffmpeg}}}. If it is not installed, you should be able to install with your system's package manager. i.e. {{{sudo apt-get install ffmpeg}}} or search 'mpeg' in the Software Center on Ubuntu. 
    6565 
    6666After you have installed FFmpeg on your system, you can verify that R knows where to nd it by typing