title: Fast way for splitting large .wav file using R
body: <p>For my work I need to analyze large .wav files (>208 MB), and I make use of the R packages seewave and tuneR. I bring each file into the R environment in 30 s chunks, using the readWave function as follows:</p>
  
  <pre><code>tr1_1 = readWave("TR1_edit.WAV", from = 0, to = 0.5, units = "minutes")
  tr1_2= readWave("TR1_edit.WAV", from = 0.5, to = 1, units = "minutes")
  tr1_3= readWave("TR1_edit.WAV", from = 1, to = 1.5, units = "minutes")
  tr1_4= readWave("TR1_edit.WAV", from = 1.5, to = 2, units = "minutes")
  tr1_5= readWave("TR1_edit.WAV", from = 2, to = 2.5, units = "minutes")
  </code></pre>
  
  <p>and so on. This method works, but is not efficient or pretty. Is there a way to import and split up a large .wav class file more efficiently? </p>