Dear Professor Ripley,
Sorry I didn't get what the manual says. I read readme.package and also R
for Windows Users several times but the pieces didn't come together. Your
guess is right. The TMPDIR was set to c:\Documents
and Settings\ and I didn't know this was a problem since I only checked
Path and didn't see any path to be c:\Documents.... I think the Path
"Program Files" should be substitute with "PROGRA~1" but
what I should use
for "Documents and Settings"? Thanks a lot for your help.
Jing
On Tue, 6 Jan 2004, Prof Brian Ripley wrote:
> The issue here is that some other path has been set to
>
> c:\Documents and Settings\...
>
> and I suspect that to be TMPDIR, as when I do that I get exactly this
> symptom.
>
> Why Jing Wu claims to quote me but excises everything I said, and also
> ignores everything I wrote, I don't know. He is showing a phenomenal
lack
> of respect, and owes us an apology.
>
> On Tue, 6 Jan 2004, Uwe Ligges wrote:
>
> > Jing Wu wrote:
> >
> > >
> > > On Mon, 5 Jan 2004, Prof Brian Ripley wrote:
> > >
> > >
> > >>On Mon, 5 Jan 2004, Jing Wu wrote:
> > >>
> > >>
> > >>>I wrote an R function and want to build an R package on
winXP. I have
> > >>>set my
> >
>>>path:C:\bin;C:\MinGW\bin;C:\Perl\bin\;C:\Tcl\bin;C:\texmf\miktex\bin;C:\Program
> > >>>Files\R\rw1081\bin;
> > >>>
> > >>>I tried to run "Rcmd build --help" but failed.
Under
> > >>>C:\WINDOWS\System32\cmd.exe, I got the error message:
> > >>>Please set TMPDIR to a valid temporary directory.
> > >>
> > > I moved my folder 'IHF' to C:\Program
Files\R\rw1081\src\library. Then I
> > > typed the commond:
> > > C:\Program Files\R\rw1081\src\library >Rcmd build --binary IHF
> > > I got this error message:
> > > Error: cannot change to directory 'C:/Documents'.
> > >
> > > Where did I go wrong? Thanks.
> >
> > I think Prof. Ripley already told you that there are blanks in your
path
> > ("Program Files" contains a blank!). Simply use another one
without
> > blanks in it.
> >
> > Uwe Ligges
> >
> > > Jing
> > >
> > > ______________________________________________
> > > 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
> >
> >
>
> --
> Brian D. Ripley, ripley at 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, UK Fax: +44 1865 272595
>