title: Deploying a model calculated on PC to a linux server
body: <p>I'm using intensively R on my PC. I'm working on an easy document classification project and I got my <code>ctree</code> model working fine. Training set, validation set and the like. The results are promising.</p>
  
  <p>Now I want to deploy my model for classification of incoming documents and I'm stuck. The path from moving my model produced on my PC to a linux server is a dark spot for me. I'm trying to figure how to export my model and place it into the server working flow. Is capable R of managing files? </p>
  
  <p>It's a requirement that the program renames the file after predicting the class adding a tag. If the file can not be renamed, a csv file saving the result (new file - predicted class) would be acceptable.</p>
  
  <p>Do I need to use Bash? R script? Python?</p>
  
  <p>Any hint will be much appreciated.</p>