[R] The system cannot find the file specified

2009-10-29 Thread Mark Knecht
What is the problem here? I did an install package from the Rgui menu.
Windows Vista

SNIP

trying URL 
'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/mvtnorm_0.9-8.zip'
Content type 'application/zip' length 236089 bytes (230 Kb)
opened URL
downloaded 230 Kb

trying URL 
'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/QRMlib_1.4.4.zip'
Content type 'application/zip' length 2369023 bytes (2.3 Mb)
opened URL
downloaded 2.3 Mb

package 'robustbase' successfully unpacked and MD5 sums checked
package 'fUtilities' successfully unpacked and MD5 sums checked
package 'fEcofin' successfully unpacked and MD5 sums checked
package 'fCalendar' successfully unpacked and MD5 sums checked
package 'fSeries' successfully unpacked and MD5 sums checked
package 'mvtnorm' successfully unpacked and MD5 sums checked
package 'QRMlib' successfully unpacked and MD5 sums checked
Error in normalizePath(path) :
  path[1]=C:\Program Files\R\R-2.9.2\library/QRMlib: The system
cannot find the file specified

SNIP

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Mark Knecht
Is 2.10 out? I'll give it a try.

Thanks,
Mark

On Thu, Oct 29, 2009 at 6:45 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
 On 29/10/2009 9:43 AM, Mark Knecht wrote:

 On Thu, Oct 29, 2009 at 6:39 AM, Duncan Murdoch murd...@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


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Duncan Murdoch

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

trying URL 
'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/mvtnorm_0.9-8.zip'
Content type 'application/zip' length 236089 bytes (230 Kb)
opened URL
downloaded 230 Kb

trying URL 
'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/QRMlib_1.4.4.zip'
Content type 'application/zip' length 2369023 bytes (2.3 Mb)
opened URL
downloaded 2.3 Mb

package 'robustbase' successfully unpacked and MD5 sums checked
package 'fUtilities' successfully unpacked and MD5 sums checked
package 'fEcofin' successfully unpacked and MD5 sums checked
package 'fCalendar' successfully unpacked and MD5 sums checked
package 'fSeries' successfully unpacked and MD5 sums checked
package 'mvtnorm' successfully unpacked and MD5 sums checked
package 'QRMlib' successfully unpacked and MD5 sums checked
Error in normalizePath(path) :
  path[1]=C:\Program Files\R\R-2.9.2\library/QRMlib: The system
cannot find the file specified

SNIP

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Mark Knecht
On Thu, Oct 29, 2009 at 6:39 AM, Duncan Murdoch murd...@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.

Thanks,
Mark

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Duncan Murdoch

On 29/10/2009 9:43 AM, Mark Knecht wrote:

On Thu, Oct 29, 2009 at 6:39 AM, Duncan Murdoch murd...@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

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Mark Knecht
Thanks Duncan. 2.10 seems to install things correctly.

Cheers,
Mark

On Thu, Oct 29, 2009 at 6:52 AM, Mark Knecht markkne...@gmail.com wrote:
 Is 2.10 out? I'll give it a try.

 Thanks,
 Mark

 On Thu, Oct 29, 2009 at 6:45 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
 On 29/10/2009 9:43 AM, Mark Knecht wrote:

 On Thu, Oct 29, 2009 at 6:39 AM, Duncan Murdoch murd...@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



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Jim Burke

I think your are using R 2.10.0.

I get similar messages when I have too many resources in use. Like FireFox
eating memory and CPU.

When you get this message go look in your R installation library 
subdirectory.
You will see a weird number as a folder name. Under that folder is the 
package you
were trying to install. Simply copy that package name folder to the 
correct folder
location for the other packages in library. Then clean up by removing 
that weird

folder name.

Hope this helps,
Jim

Mark Knecht wrote:

What is the problem here? I did an install package from the Rgui menu.
Windows Vista

SNIP

trying URL 
'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/mvtnorm_0.9-8.zip'
Content type 'application/zip' length 236089 bytes (230 Kb)
opened URL
downloaded 230 Kb

trying URL 
'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/QRMlib_1.4.4.zip'
Content type 'application/zip' length 2369023 bytes (2.3 Mb)
opened URL
downloaded 2.3 Mb

package 'robustbase' successfully unpacked and MD5 sums checked
package 'fUtilities' successfully unpacked and MD5 sums checked
package 'fEcofin' successfully unpacked and MD5 sums checked
package 'fCalendar' successfully unpacked and MD5 sums checked
package 'fSeries' successfully unpacked and MD5 sums checked
package 'mvtnorm' successfully unpacked and MD5 sums checked
package 'QRMlib' successfully unpacked and MD5 sums checked
Error in normalizePath(path) :
  path[1]=C:\Program Files\R\R-2.9.2\library/QRMlib: The system
cannot find the file specified

SNIP

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread hadley wickham
 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.

One possible reason for failure is that your virus checker prevented
the R installer from creating a new directory.

Hadley

-- 
http://had.co.nz/

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Duncan Murdoch

On 10/29/2009 12:58 PM, hadley wickham wrote:

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.


One possible reason for failure is that your virus checker prevented
the R installer from creating a new directory.


Yes, virus checkers cause a lot of trouble for R.  Some of them open 
files for exclusive access while checking, and when R tries to read or 
write the same file while the virus checker has it locked, it fails.


Duncan Murdoch

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Prof Brian Ripley

On Thu, 29 Oct 2009, hadley wickham wrote:

(quoting Duncan Murdoch without attribution, tut tut)


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.


One possible reason for failure is that your virus checker prevented
the R installer from creating a new directory.


Another (more likely, and mentioned in the rw-FAQ) is that a file 
indexing service prevented the file being renamed.


As I understand this thread, the OP was able to install several 
packages but the last one failed.  That's more consistent with file 
indexing (a concurrent process that will interfere apparently 
randomly) than with permission issues.  Anti-virus software normally 
intervenes before the file gets written, not on renaming.


--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Mark Knecht
On Thu, Oct 29, 2009 at 9:45 AM, Jim Burke j.bu...@earthlink.net wrote:
 I think your are using R 2.10.0.


No, I was using 2.9 and updating to 2.10 solved it for me.

- Mark

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] The system cannot find the file specified

2009-10-29 Thread Mark Knecht
On Thu, Oct 29, 2009 at 9:58 AM, hadley wickham h.wick...@gmail.com wrote:
 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.

 One possible reason for failure is that your virus checker prevented
 the R installer from creating a new directory.

 Hadley

 --
 http://had.co.nz/

Why then would it stop only the final directory getting created?

When I installed the package on a new 2.9 installation it had to load
5 or 6 packages. The first 4 or 5 packages all created directories and
it was only the final one that did not. When I installed on a new 2.10
installation it created all 5 or 6 directories and completed the
installation successfully.

- Mark

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.