title: Error in listing packages in RStudio
body: <p>When I click "Refresh Pakcage Listing", I got "Error listing packages" in RStudio. </p>
  
  <p><img src="https://i.stack.imgur.com/bl1BE.png" alt="enter image description here"></p>
  
  <p>In the mean time, the commandline shows <code>Error in nchar(homeDir) : invalid multibyte string 1</code>.
  <img src="https://i.stack.imgur.com/7icdG.png" alt="enter image description here"></p>
  
  <p>Could anybody help me fix this error?</p>
  
  <p>RStudio verstion: Version 0.98.1062
  OS: Win 7, 64bit</p>