Laura Holt wrote:> Hi R People: > > I got the following error from using the "latex" command from Hmisc; > >> latex(bbm) > > 'latex' is not recognized as an internal or external command, > operable program or batch file. > Warning message: > cmd execution failed with error code 1 in: shell(cmd, wait = TRUE, > intern = output) > >> > > I was printing a matrix to a Latex File. This worked fine in Version 1.8. > This is from Version 1.9.0 for Windows. > > Any suggestions would be much appreciated. > > Thanks in advance! > Sincerely, > Laura > mailto: lauraholt_983 at hotmail.comThe latex and latex viewer executables must be in your path if you are using the print method for a latex object (which you are, implicitly). If you don't want to invoke any executables, do w <- latex(object, file='foo') -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University
Hi R People: I got the following error from using the "latex" command from Hmisc;>latex(bbm)'latex' is not recognized as an internal or external command, operable program or batch file. Warning message: cmd execution failed with error code 1 in: shell(cmd, wait = TRUE, intern = output)>I was printing a matrix to a Latex File. This worked fine in Version 1.8. This is from Version 1.9.0 for Windows. Any suggestions would be much appreciated. Thanks in advance! Sincerely, Laura mailto: lauraholt_983 at hotmail.com
When you do "latex" from the command line (Run -> cmd), what does DOS say? Maybe latex isn't in your PATH. Kevin -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Laura Holt Sent: Monday, June 21, 2004 9:59 AM To: r-help at stat.math.ethz.ch Subject: [R] question about latex command in Hmisc Hi R People: I got the following error from using the "latex" command from Hmisc;>latex(bbm)'latex' is not recognized as an internal or external command, operable program or batch file. Warning message: cmd execution failed with error code 1 in: shell(cmd, wait = TRUE, intern = output)>I was printing a matrix to a Latex File. This worked fine in Version 1.8. This is from Version 1.9.0 for Windows. Any suggestions would be much appreciated. Thanks in advance! Sincerely, Laura mailto: lauraholt_983 at hotmail.com ______________________________________________ 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