Skip to content
Prev 313671 / 398502 Next

Installing Packages from a Local Repository

On 15/12/2012 17:36, Uwe Ligges wrote:
Actually, that's not right: see ?url.  All URI schemes start like 
file:// . For Windows the help says

      In this form the path is relative to the root of the filesystem,
      not a Windows concept.  The standard form on Windows is
      ?file:///d:/R/repos?: for compatibility with earlier versions of R
      and Unix versions, any other form is parsed as R as ?file://? plus
      ?path_to_file?.  Also, backslashes are accepted within the path
      even though RFC1738 does not allow them.

Spaces should work, since it is R which converts this to a filepath (in 
a real URI there are lots of restrictions and spaces need to be encoded 
if the restrictions are enforced).  But file:// URIs on Windows are a 
minefield.