[R] Strange graphical pattern when using hist() function

2013-04-23 Thread Humberto Mohr
Running the following lines I got a strange plot from hist function: x<-0:30 hist(x,breaks=31) As you can see, the 0 value appears two times in the plot. The Y axis only presents 1 as the highest value when: hist(x,breaks=62) Nevertheless, it seems to have two bars between 0 and 1. Could some

[R] Writing audio files (.wav) in a different directory

2013-01-30 Thread Humberto Mohr
0 > min.fin<-101 > > library(tuneR) > rec<-readWave(filename,min.ini,min.fin,"minutes") > writeWave(rec,"cut1.wav") > > It is writing the file in the same directory of the "filename" object. > What I want to do is to write the "cu

[R] Writing audio files (.wav) in a different directory

2013-01-30 Thread Humberto Mohr
min.fin,"minutes") writeWave(rec,"cut1.wav") It is writing the file in the same directory of the "filename" object. What I want to do is to write the "cut1.wav" file in a different folder. Any suggestions? Thanks in advance! -- *Humberto Mohr* * * Mestrando d