From murdoch.duncan at gmail.com  Sun Nov  6 20:27:03 2011
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Sun, 06 Nov 2011 14:27:03 -0500
Subject: [Rd] Error in gzfile(file,
 mode) when checking a package with rcmd check
In-Reply-To: <4EB6D8F5.5040200@univ-fcomte.fr>
References: <4E9A8CDF.70801@univ-fcomte.fr> <4E9A9D8E.1090304@univ-fcomte.fr>
	<4E9AA386.7010008@univ-fcomte.fr>
	<CANz9Z_Le2kOxm6GkGmeMnWjtB0DexLq6jSvQOJdCvNwHsSkzZQ@mail.gmail.com>
	<4EB6C807.30601@univ-fcomte.fr>
	<4EB6CA72.4090609@statistik.tu-dortmund.de>
	<4EB6D271.1070300@univ-fcomte.fr> <1320605279.30493.8.camel@milan>
	<4EB6D8F5.5040200@univ-fcomte.fr>
Message-ID: <4EB6DF87.8030505@gmail.com>

On 11-11-06 1:59 PM, Patrick Giraudoux wrote:
> Le 06/11/2011 19:47, Milan Bouchet-Valat a ?crit :
>> Le dimanche 06 novembre 2011 ? 19:31 +0100, Patrick Giraudoux a ?crit :
>>> Means "Mes documents" seems not to be the real cause, but the "On
>>> Work" directory. However, replacing "On Work" by "On_work" gives a
>>> failure as before. Conclusion: looks like if the "space" character is
>>> not the problem, but the length of the path or the number of embedded
>>> directories (?).
>> Is "On Work" the actual name, or a translation? Accentuated characters
>> are often the cause of bugs in filenames.
>>
>>
>> Cheers
>>
>
> Yes. There is no accent just a space as in "Documents and settings" or
> "My Documents" or "Mes documents". To check if there was really a
> 'space' problem, I have renamed "On Work" to "On_work" (with no space),
> and rcmd check does not work better.
>
> Rcmd check works fine only when the pgirmess folder is moved one
> directory up (so still on a path that still have 'space' in directory
> names, e.g. "Documents and Settings" and "Mes documents".
>
> Quite strange.

Windows historically had quite a short limit on pathnames (something 
like 260 characters, or bytes), and also on command lines.  I don't know 
what the current limits are, but R has the 260 limit coded into it, and 
likely some of our other tools do too.  Your paths don't approach that 
limit, but once you put several copies of them into one command line, 
you would.  I suspect that's what is catching you.

Duncan Murdoch



[Rd] Error in gzfile(file, mode) when checking a package with rcmd check
Duncan Murdoch