[R] Windows Check/Build Configuration

Duncan Murdoch murdoch at stats.uwo.ca
Fri Sep 4 19:08:25 CEST 2009


On 9/4/2009 1:02 PM, Gates, Michael wrote:
> To all (and Duncan in particular),
> The problem has been solved. Apparently, you cannot have directories in the path for files that contain "spaces" in their names. I noticed this problem under Vista if the build directory was nested under several directories within the working directory (i.e. the pdf file would not print when check was run).
> I placed the package in a directory (c:\build) and re-ran the check command. The pdf manual printed as part of the check procedure.

Right, I think that's a MikTeX limitation.  R can generally tolerate 
spaces, but latex can't.

Duncan Murdoch

> 
> Thanks to everyone for the help.
> Michael Gates
> 
> ________________________________________
> From: Duncan Murdoch [murdoch at stats.uwo.ca]
> Sent: Friday, September 04, 2009 8:14 AM
> To: Gates, Michael
> Cc: r-help at R-project.org
> Subject: Re: [R] Windows Check/Build Configuration
> 
> On 9/4/2009 9:07 AM, Gates, Michael wrote:
>> I recently submitted a package on CRAN. When I went to update the package, I tried to do the check/build procedures on a system with Windows XP, using the recommended R-tools available from Dr. Ripley (Rtools29).
>>
>> Everything works fine in the check and build process except under Windows XP the pdf manual is not generated? The check procedure does, in fact, check the read files for correct syntax and required content and the manual passes "OK" on the check procedure; however, when I look for the pdf manual it is not created. This does not occur when I complete the check process under Windows Vista?
>>
>> I have tried installing post-script drivers, uninstalling/re-installing the R-tools, updating the current release of R (i.e. 2.9.1), everything I can think of, but the pdf manual is not generated under XP.
>>
>> I would be very thankful if anyone could tell me if I have missed changing something in a configuration file under windows XP that is not required under windows Vista. I have check the path commands to ensure all tools are properly listed and that any program that might be called during check is listed in the path command file.
>>
>> How do I get the pdf manual to print during the check process for creating a new package under Windows XP, using the R-tools available for Windows?
>>
>> Thank you all in advance for reading my post.
> 
> The pdf manuals are created by pdflatex.  I would guess that R can't
> find it on your XP system.  It's not part of the Rtools, you need to
> install it separately.
> 
> Duncan Murdoch




More information about the R-help mailing list