[R] Rcmd check, windows xp, perl (2)

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu May 27 14:27:32 CEST 2004


TEMPL Matthias wrote:

>  Thank you for your help. I´m sorry that I found not the right 
>  entries in the R-devel. Now, I have again a problem.
>  
>  After installing all needed things I have run 
>  Rcmd INSTALL -l ../mypkg  	and respectively 
>  make mypkg 
>  
>  By running Rcmd check I get following message:
>  	* checking for working latex ...Error: environment 
>  variable TMPDIR not set (or set to unusable value) and no 	
>  default available. At 
>  D:\Programme\R\rw1090\share\perl/R/Utils.pm line 153
>  
>  By running Rcmd built I get following message:
>  	Please set TMPDIR to a valid temporary directory
>  
>  My TMPDIR is on "D:\temp" , which is known by R.
>  In "Utils.pm" I have no idea how to set TMPDIR at  sub R_tempfile
>  
>  Maybe this problem was discussed in Oct 2002.
>  
>  Can anybody help me again please?
>  
>  Thanks,
>  Matthias


Obviously you have *not* set an environment variable TMPDIR. Try for 
example (if c:\Windows\temp exists and you have got write access):

set TMPDIR=c:\Windows\temp
R CMD INSTALL mypkg

Uwe Ligges




>  (I´m running R version 1.9.0 on Windows XP, perl 5.8.3)
>  
> 
>>>-----Ursprüngliche Nachricht-----
>>>Von: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
>>>Gesendet: Donnerstag, 27. Mai 2004 09:26
>>>An: TEMPL Matthias
>>>Cc: R-help at stat.math.ethz.ch
>>>Betreff: Re: [R] Rcmd check, windows xp, perl
>>>
>>>
>>>TEMPL Matthias wrote:
>>>
>>>
>>>>Dear R users,
>>>>
>>>>With package.skeleton() i have produced successfully my
>>>
>>>.Rd´s, ... Now
>>>
>>>>i will run Rcmd check on ..\R\bin\
>>>>
>>>>But Rcmd check (and build) on my Windows XP does not work. It`s a
>>>>problem with "perl". (Translated i get the message:
>>>>The instruction Perl is either wrongly written or could not 
>>>
>>>not be found.)
>>>
>>>>In help("check") I found this:
>>>>     "These may not work correctly under Windows 95/98/ME 
>>
>>because of
>>
>>>>     problems Perl has launching programs on those limited OSes."
>>>>
>>>>And in the R-devel I found following from Prof. Brian Ripley:
>>>>     "2) On Windows, we did hope to make Rcmd check the
>>>
>>>standard way.
>>>
>>>>     Unfortunately, a whole series Perl builds were 
>>
>>broken, so make 
>>
>>>>     pkgcheck-foo is still preferred."
>>>>
>>>>But i can not find something like "pkgcheck" and Rcmd 
>>
>>does not work.
>>
>>>>(I use R version 1.9.0 on Windows XP, IBM Computer)
>>>
>>>On Windows XP everything is fine.
>>>
>>>Please read ..../src/gnuwin32/readme.packages and follow the
>>>instructions therein exactly.
>>>In particular: Do you have perl installed?
>>>
>>>Uwe Ligges
>>>
>>>
>>>
>>>>Can anybody help me please?
>>>>
>>>>Regards,
>>>>
>>>>Matthias
>>>>
>>>>______________________________________________
>>>>R-help at stat.math.ethz.ch mailing list
>>>>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>>>>PLEASE do read the posting guide! 
>>>>http://www.R-project.org/posting-guide.html
>>>
>>>
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list