Created
          July 6, 2018 20:10 
        
      - 
      
 - 
        
Save sjessa/cc9567663f82d01d94798a03eff6f6f2 to your computer and use it in GitHub Desktop.  
    knit Rmd from commandline
  
        
  
    
      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
    
  
  
    
  | # save in .bashrc | |
| # usage: knit 01-analysis.Rmd | |
| function knit() { | |
| R --no-save -e "rmarkdown::render('""$1""', 'html_document')" | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment