[Rd] Error in generating sweave-tex - pdf file

2010-12-22 Thread carol white
Hi, I created a Sweave file (see below). when I want to convert tex file generated from it into pdf, I get error message as follows: texi2dvi(test.tex, pdf=TRUE) Error in texi2dvi(test.tex, pdf = TRUE) : Running 'texi2dvi' on 'test.tex' failed. LaTeX errors: ! Undefined control sequence. l.8

Re: [Rd] Error in generating sweave-tex - pdf file

2010-12-22 Thread Duncan Murdoch
On 22/12/2010 12:27 PM, carol white wrote: Hi, I created a Sweave file (see below). when I want to convert tex file generated from it into pdf, I get error message as follows: texi2dvi(test.tex, pdf=TRUE) Error in texi2dvi(test.tex, pdf = TRUE) : Running 'texi2dvi' on 'test.tex' failed.

Re: [Rd] Error in generating sweave-tex - pdf file

2010-12-22 Thread carol white
Should the Sweave package be in /usr/share/texmf/tex/latex/? How about Sweave.sty? Thanks - Original Message From: Duncan Murdoch murdoch.dun...@gmail.com To: carol white wht_...@yahoo.com Cc: r-devel@r-project.org Sent: Wed, December 22, 2010 6:42:07 PM Subject: Re: [Rd] Error in

Re: [Rd] Error in generating sweave-tex - pdf file

2010-12-22 Thread Zhang,Jun
Define the envvar LC_ALL with value C will reduce the texi2dvi error. Sweave.sty need to be at the right location depend on the kind of tex installation. Jun - Original Message - From: carol white [mailto:wht_...@yahoo.com] Sent: Wednesday, December 22, 2010 12:30 PM To: Duncan Murdoch

[Rd] Error checking in Sys.sleep

2010-12-22 Thread Stavros Macrakis
Sys.sleep returns immediately for arguments larger than 2.2e6 or so, including for Inf. This does conforms to the letter of the documention: There is no guarantee that the process will sleep for the whole of the specified interval. but an error would be more helpful. Since Sys.sleep ignores

Re: [Rd] Error in generating sweave-tex - pdf file

2010-12-22 Thread Duncan Murdoch
On 22/12/2010 1:30 PM, carol white wrote: Should the Sweave package be in /usr/share/texmf/tex/latex/? How about Sweave.sty? I meant Sweave.sty, there's no separate Sweave package. It should be in the R home directory, somewhere within share/texmf. Duncan Murdoch Thanks - Original

[Rd] License statement

2010-12-22 Thread David Scott
I am writing a package for a company for its internal use only. What is an appropriate license statement for the DESCRIPTION file? I would like a statement which reflects the private and proprietary nature of the package, giving copyright to the writer and the company. I also don't want to

Re: [Rd] License statement

2010-12-22 Thread Duncan Murdoch
On 22/12/2010 5:35 PM, David Scott wrote: I am writing a package for a company for its internal use only. What is an appropriate license statement for the DESCRIPTION file? I think Internal use only, not for distribution is reasonable. The copyright statement is separate from the