[R] dvips function gives "Documents not found" error

Frank E Harrell Jr feh3k at spamcop.net
Fri Nov 28 00:54:36 CET 2003

On Thu, 27 Nov 2003 10:04:51 -0800
David Kelly <dkelly at alum.mit.edu> wrote:

> This is primarily an FYI to the Hmisc author, though any brilliant 
> suggestions from him or anyone else are always welcome.  Re this problem
> reported earlier in this thread:
>    getting an error from Hmisc when trying
>    dvips(latex(describe(mtcars)),file="/kellytest/kelly.ps")
>    that says
>    Error in system(cmd, intern = intern, wait = wait | intern,
>    show.output.on.console = wait,  :
> 	C:/Documents not found
>    which appears to be a path-parsing problem of "Documents and
>    Settings"
> The problem is still present. I've tried every suggestion that was sent 
> to me. Most recently, I created a .Renviron which said
> TMP=c:/kellytest/rtemp
> and I then ran R (from within emacs/ess).
> I verified that TMP had been set correctly as follows:
>  > tempdir()
> [1] "c:/kellytest/rtemp\\Rtmp5417"
> but I still got the C:/Documents not found error.
> P.S. I found that a TeX file was created when the command was executed, 
> but I could find no evidence of a dvi or ps file.
> -- David Kelly
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Did you make the changes I suggested (surrounding two items by dQuote( ))?

Have you tried Linux?  :)

Frank E Harrell Jr    Professor and Chair            School of Medicine
                      Department of Biostatistics    Vanderbilt University

More information about the R-help mailing list