Created
          September 6, 2013 11:03 
        
      - 
      
- 
        Save rpietro/6462404 to your computer and use it in GitHub Desktop. 
    error with RNetLogo
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | sessionInfo() | |
| # R version 3.0.1 (2013-05-16) | |
| # Platform: x86_64-apple-darwin10.8.0 (64-bit) | |
| # locale: | |
| # [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 | |
| # attached base packages: | |
| # [1] stats graphics grDevices utils datasets methods base | |
| Sys.setenv(NOAWT=1) | |
| library(RNetLogo) | |
| nl.path <- "/Applications/NetLogo 5.0.2" | |
| NLStart(nl.path, nl.version = 5) | |
| model.path <- "/Applications/NetLogo 5.0.2/models/Sample Models/Earth Science/Fire.nlogo" | |
| NLLoadModel(paste(model.path, nl.path , sep="")) | |
| NLCommand("setup") | |
| NLDoCommand(10, "go") | |
| burned <- NLReport("burned-trees") | |
| print(burned) | |
| NLQuit() | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment