title: R - Delete lines following specific conditions
body: <p>I am actually working on a school project on R. I would like to delete observations from my database that contain a specific character in a specific variable. </p>
  
  <p>More precisely, I am building a boxplot to compare two variables, the year and the genre of movies. But in my .csv file, some rows contain a ";" in the title (of the movie), and it totally messes up my datas as my separators are ";" too. How could I delete those rows (5 of them on 58000..) ?</p>
  
  <p>I didn't find my answer in the search bar.</p>
  
  <p>Thank you in advance,</p>
  
  <p>Axel</p>
  
  <pre><code>'data.frame':   58792 obs. of  31 variables:
   $ title        : Factor w/ 55999 levels "-30-","...4 ...3 ...2 ...1 ...morte",..: 88 89 90 91 92 93 94 33 34 35 ...
   $ year         : num  85 53 55 110 89 114 116 116 101 31 ...
   $ length       : int  121 71 7 70 71 91 93 25 97 61 ...
   $ budget       : int  NA NA NA NA NA NA NA NA NA NA ...
   $ rating       : num  6.4 6 8.2 8.2 3.4 4.3 5.3 6.7 6.6 6 ...
   $ votes        : num  348 20 5 6 17 45 200 24 18 51 ...
   $ r1           : num  4.5 0 0 14.5 24.5 4.5 4.5 4.5 4.5 4.5 ...
   $ r2           : num  4.5 14.5 0 0 4.5 4.5 0 4.5 4.5 0 ...
   $ r3           : num  4.5 4.5 0 0 0 4.5 4.5 4.5 4.5 4.5 ...
   $ r4           : num  4.5 24.5 0 0 14.5 14.5 4.5 4.5 0 4.5 ...
   $ r5           : num  14.5 14.5 0 0 14.5 14.5 24.5 4.5 0 4.5 ...
   $ r6           : num  24.5 14.5 24.5 0 4.5 14.5 24.5 14.5 0 44.5 ...
   $ r7           : num  24.5 14.5 0 0 0 4.5 14.5 14.5 34.5 14.5 ...
   $ r8           : num  14.5 4.5 44.5 0 0 4.5 4.5 14.5 14.5 4.5 ...
   $ r9           : num  4.5 4.5 24.5 34.5 0 14.5 4.5 4.5 4.5 4.5 ...
   $ r10          : num  4.5 14.5 24.5 45.5 24.5 14.5 14.5 14.5 24.5 4.5 ...
   $ mpaa         : Factor w/ 8 levels "","0","14,5",..: 1 1 1 1 1 1 8 1 1 1 ...
   $ Action       : int  0 0 0 0 0 0 1 0 0 0 ...
   $ Animation    : int  0 0 1 0 0 0 0 0 0 0 ...
   $ Comedy       : int  1 1 0 1 0 0 0 0 0 0 ...
   $ Drama        : int  1 0 0 0 0 1 1 0 1 0 ...
   $ Documentary  : int  0 0 0 0 0 0 0 1 0 0 ...
   $ Romance      : int  0 0 0 0 0 0 0 0 0 0 ...
   $ Short        : int  0 0 1 0 0 0 0 1 0 0 ...
   $ Action_C     : chr  "No" "No" "No" "No" ...
   $ Animation_C  : chr  "No" "No" "Yes" "No" ...
   $ Comedy_C     : chr  "Yes" "Yes" "No" "Yes" ...
   $ Drama_C      : chr  "Yes" "No" "No" "No" ...
   $ Documentary_C: chr  "No" "No" "No" "No" ...
   $ Romance_C    : chr  "No" "No" "No" "No" ...
   $ Short_C      : chr  "No" "No" "Yes" "No" ...
  </code></pre>