search for: r_tempfile

Displaying 4 results from an estimated 4 matches for "r_tempfile".

Did you mean: mytempfile
2007 Nov 25
1
Package Building under Windows with MikTeX 2.6
...rth the error: Error message: C:\RWork\mbes>R CMD check mbes * checking for working latex ...Error: environment variable TMPDIR not set (or set to unusable value) and no default available. at C:\Programme\Uni\R\share\perl/R/Utils.pm line 73 I looked at the path and Utils.pm shows: ... ### * R_tempfile sub R_tempfile { my $pat = "Rutils"; $pat = $_[0] if $_[0]; R::Vars::error("TMPDIR"); my $retval = file_path($R::Vars::TMPDIR, $pat . $$ . sprintf("%05d", rand(10**5))); my $n=0; while(-e $retval) { # was -f, but want to b...
2007 Oct 02
0
patch: allow R CMD build exclude patterns to match symlinks
...->{"Version"} . ".tar"; + my $filepath = &file_path($startdir, $filename); + R_system(join(" ", + ("$tar chf", + &shell_quote_file_path($filepath), + "$pkgname"))); + my $tmpdir = R_tempfile("Rbuild"); + rmtree($tmpdir) if(-d $tmpdir); + mkdir("$tmpdir", 0755) + or die "Error: cannot create directory '$tmpdir'\n"; + chdir($tmpdir); + ## was xhf, but there are no symbolic links here and that is invalid + ## on FreeBSD, see http:...
2005 Nov 24
1
Windows R CMD build <pkg> leftovers
A command R CMD build <pkg> that fails, e.g., because of C code compilation errors, leaves a directory %TMPDIR%/Rinst.xxx containing the file R.css. Although R CMD INSTALL --build cleans up after itself, build does not. A fix is below. Also, build.in references Rcmd.exe, which I thought was no longer necessary? Index: build.in
2004 May 27
2
Rcmd check, windows xp, perl (2)
...t 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 (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] > > Gese...