[R] "The system cannot find the file specified"

Duncan Murdoch murdoch at stats.uwo.ca
Thu Oct 29 14:45:56 CET 2009

On 29/10/2009 9:43 AM, Mark Knecht wrote:
> On Thu, Oct 29, 2009 at 6:39 AM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
>> On 29/10/2009 9:11 AM, Mark Knecht wrote:
>>> What is the problem here? I did an install package from the Rgui menu.
>>> Windows Vista
>> normalizePath uses the Windows functions GetFullPathName and GetLongPathName
>> to clean up paths, and one of them returned the error you saw.  Does that
>> path exist on your system?
>> Duncan Murdoch
> <SNIP>
>>> Error in normalizePath(path) :
>>>  path[1]="C:\Program Files\R\R-2.9.2\library/QRMlib": The system
>>> cannot find the file specified
>>> <SNIP>
> "C:\Program Files\R\R-2.9.2\library" does exist
> "C:\Program Files\R\R-2.9.2\library/QRMlib" does not.
> As it was the QRMlib package being installed it doesn't surprise me
> that it's not there, but please note the '/' instead of '\' like the
> rest of the path.
> I've seen this a number of times recently. This is the first I've posted here.

Do you have write permission in C:\Program Files\R\R-2.9.2\library?  It 
could be that the installer just tried to create the QRMlib subdir, and 
failed, and that's why it doesn't exist.

What happens in 2.10.0?

Duncan Murdoch

More information about the R-help mailing list