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

2010-12-23 Thread carol white
When I copied Sweave.sty in the directory where I ran R, I didn't have any 
error. But this is not the good solution as R can be run in any folder.

I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc folder 
in my R package to create the vignette. I ran R CMD check and it doesn find 
texi2dvi.



- Original Message 
From: Duncan Murdoch 
To: carol white 
Cc: r-devel@r-project.org
Sent: Wed, December 22, 2010 10:33:01 PM
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file

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 Message 
> From: Duncan Murdoch
> To: carol white
> Cc: r-devel@r-project.org
> Sent: Wed, December 22, 2010 6:42:07 PM
> Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file
>
> 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.
> >  LaTeX errors:
> >  ! Undefined control sequence.
> >  l.8 \begin
> > {Schunk}
>
> The Schunk, Sinput, and Soutput environments are defined in Sweave package.
> Something went wrong and latex didn't find them, either because it didn't find
> Sweave.sty, or because it did, but that file has been messed up.
>
>
> >  ?
> >  ! Interruption.
> >  ! Interruption.
> >  
> >  {
> >  l.8 \begin{
> >  Schunk}
> >  ! Undefined control sequence.
> >  l.9 \begin
> > {Sinput}
> >  The control sequence at the end of the top line
> >  of your error message was never \def'ed. If you have
> >  
> >  test.Rnw
> >
> >  \usepackage{Sweave}
> >  \ documentclass [ a4paper ]{ article }
> >  \ title { Sweave Example 1}
> >  \ begin { document }
> >  \ maketitle
>
> Are there really spaces between the backslashes and the macros?  I think that
> doesn't work.  You should also have the \usepackage{Sweave} line after the
> opening \documentclass line.
>
> Duncan Murdoch
>
> >  In this example we embed parts of the examples from the
> >  help page into a \ LaTeX {} document :
> >  <>=
> >  y=2
> >  y = y +1
> >  @
> >  which shows that the location parameter of the Ozone
> >  distribution varies significantly from month to month . Finally we
> >  include a boxplot of the data :
> >
> >  \end{ document }
> >
> >  __
> >  R-devel@r-project.org mailing list
> >  https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2010-12-23 Thread carol white
I also copied Sweave.sty in the directory of my Rnw file (according to 
http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html) but texi2dvi not found 
when I ran R CMD check. I also found this solution inconvenient because if one 
develops different R packages, he shouldn't copy the Sweave.sty in all 
directores containing Rnw file. 




- Original Message 
From: Duncan Murdoch 
To: carol white 
Cc: r-devel@r-project.org
Sent: Wed, December 22, 2010 10:33:01 PM
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file

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 Message 
> From: Duncan Murdoch
> To: carol white
> Cc: r-devel@r-project.org
> Sent: Wed, December 22, 2010 6:42:07 PM
> Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file
>
> 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.
> >  LaTeX errors:
> >  ! Undefined control sequence.
> >  l.8 \begin
> > {Schunk}
>
> The Schunk, Sinput, and Soutput environments are defined in Sweave package.
> Something went wrong and latex didn't find them, either because it didn't find
> Sweave.sty, or because it did, but that file has been messed up.
>
>
> >  ?
> >  ! Interruption.
> >  ! Interruption.
> >  
> >  {
> >  l.8 \begin{
> >  Schunk}
> >  ! Undefined control sequence.
> >  l.9 \begin
> > {Sinput}
> >  The control sequence at the end of the top line
> >  of your error message was never \def'ed. If you have
> >  
> >  test.Rnw
> >
> >  \usepackage{Sweave}
> >  \ documentclass [ a4paper ]{ article }
> >  \ title { Sweave Example 1}
> >  \ begin { document }
> >  \ maketitle
>
> Are there really spaces between the backslashes and the macros?  I think that
> doesn't work.  You should also have the \usepackage{Sweave} line after the
> opening \documentclass line.
>
> Duncan Murdoch
>
> >  In this example we embed parts of the examples from the
> >  help page into a \ LaTeX {} document :
> >  <>=
> >  y=2
> >  y = y +1
> >  @
> >  which shows that the location parameter of the Ozone
> >  distribution varies significantly from month to month . Finally we
> >  include a boxplot of the data :
> >
> >  \end{ document }
> >
> >  __
> >  R-devel@r-project.org mailing list
> >  https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2010-12-23 Thread Uwe Ligges



On 23.12.2010 11:47, carol white wrote:

I also copied Sweave.sty in the directory of my Rnw file (according to
http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html) but texi2dvi not found
when I ran R CMD check. I also found this solution inconvenient because if one
develops different R packages, he shouldn't copy the Sweave.sty in all
directores containing Rnw file.



You can also add the R subdirectory that includes Sweave.sty and freinds 
to the search path for your TeX distribution.

In that case you won't need to pay attention on Sweave.sty upgrades.

Uwe Ligges







- Original Message 
From: Duncan Murdoch
To: carol white
Cc: r-devel@r-project.org
Sent: Wed, December 22, 2010 10:33:01 PM
Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file

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 Message 
From: Duncan Murdoch
To: carol white
Cc: r-devel@r-project.org
Sent: Wed, December 22, 2010 6:42:07 PM
Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file

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.
  LaTeX errors:
  ! Undefined control sequence.
  l.8 \begin
 {Schunk}


The Schunk, Sinput, and Soutput environments are defined in Sweave package.
Something went wrong and latex didn't find them, either because it didn't find
Sweave.sty, or because it did, but that file has been messed up.



  ?
  ! Interruption.
  ! Interruption.
  
  {
  l.8 \begin{
  Schunk}
  ! Undefined control sequence.
  l.9 \begin
 {Sinput}
  The control sequence at the end of the top line
  of your error message was never \def'ed. If you have
  
  test.Rnw

  \usepackage{Sweave}
  \ documentclass [ a4paper ]{ article }
  \ title { Sweave Example 1}
  \ begin { document }
  \ maketitle


Are there really spaces between the backslashes and the macros?  I think that
doesn't work.  You should also have the \usepackage{Sweave} line after the
opening \documentclass line.

Duncan Murdoch


  In this example we embed parts of the examples from the
  help page into a \ LaTeX {} document :
  <>=
  y=2
  y = y +1
  @
  which shows that the location parameter of the Ozone
  distribution varies significantly from month to month . Finally we
  include a boxplot of the data :

  \end{ document }

  __
  R-devel@r-project.org mailing list
  https://stat.ethz.ch/mailman/listinfo/r-devel






__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2010-12-23 Thread Duncan Murdoch

On 23/12/2010 5:26 AM, carol white wrote:

When I copied Sweave.sty in the directory where I ran R, I didn't have any
error. But this is not the good solution as R can be run in any folder.

I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc folder
in my R package to create the vignette. I ran R CMD check and it doesn find
texi2dvi.


texi2dvi is both a function name in R (in the tools package) and a GNU 
utility that comes with texinfo and some TeX distributions, but 
apparently not with yours.  See the R Installation and Administration 
manual for suggestions on where to get it.  If that doesn't help, you 
might get help on this list by stating the versions of everything you're 
using: R, your OS, and TeX.


Duncan Murdoch





- Original Message 
From: Duncan Murdoch
To: carol white
Cc: r-devel@r-project.org
Sent: Wed, December 22, 2010 10:33:01 PM
Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file

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 Message 
From: Duncan Murdoch
To: carol white
Cc: r-devel@r-project.org
Sent: Wed, December 22, 2010 6:42:07 PM
Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file

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.
  LaTeX errors:
  ! Undefined control sequence.
  l.8 \begin
 {Schunk}


The Schunk, Sinput, and Soutput environments are defined in Sweave package.
Something went wrong and latex didn't find them, either because it didn't find
Sweave.sty, or because it did, but that file has been messed up.



  ?
  ! Interruption.
  ! Interruption.
  
  {
  l.8 \begin{
  Schunk}
  ! Undefined control sequence.
  l.9 \begin
 {Sinput}
  The control sequence at the end of the top line
  of your error message was never \def'ed. If you have
  
  test.Rnw

  \usepackage{Sweave}
  \ documentclass [ a4paper ]{ article }
  \ title { Sweave Example 1}
  \ begin { document }
  \ maketitle


Are there really spaces between the backslashes and the macros?  I think that
doesn't work.  You should also have the \usepackage{Sweave} line after the
opening \documentclass line.

Duncan Murdoch


  In this example we embed parts of the examples from the
  help page into a \ LaTeX {} document :
  <>=
  y=2
  y = y +1
  @
  which shows that the location parameter of the Ozone
  distribution varies significantly from month to month . Finally we
  include a boxplot of the data :

  \end{ document }

  __
  R-devel@r-project.org mailing list
  https://stat.ethz.ch/mailman/listinfo/r-devel










__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] License statement

2010-12-23 Thread Gavin Simpson
On Wed, 2010-12-22 at 18:04 -0800, Scott Gonyea wrote:
> Heh.  That's annoying.  The R Mailing List should really set the
> "reply-to" header.

No it shouldn't, if you mean set the list as the reply-to address that
i. If I want to reply to a message you sent, I Reply to you. If I want
that reply to go to all recipients of *your* message I Reply-All
instead. Users should think about where their messages go not blindly
click things in their mailer.

I am on one list where the Reply-To header *is* set (to the list) and
you would not believe the amount of crap, personal replies we get there
because users click Reply without thinking and send their stuff to the
list.

G

> I wrote two e-mail, so here they are:
> 
> 
> There's a 'source' command in R, so I should not use that word.  If
> you're not copying out chunks of code and inserting them, you own the
> code itself.  No one can somehow take that away from you, unless they
> paid you to write it and your contract does not say that you own it.
> 
> The big issue is "bundling."  ie, creating a .tgz with all of the R
> packages AND your stuff (source code OR binary), IF your licenses are
> incompatible AND you intend to distribute your new "package"--that is,
> distribution external from whichever entity claims ownership.
> 
> Scott
> 
> 
> Which was a correction to:
> 
> 
> The issue is the bundling of the code, contained inside those
> packages.  As long as you're not sourcing material from inside them,
> license it how you want.  If you want, your license should be stamped
> at the top of your source files with something like:
> 
> # [COMPANY] CONFIDENTIAL. DISTRIBUTION OF THIS SOURCE CODE IS
> PROHIBITED. [HR POLICY]
> 
> Scott
> 
> 
> Scott^3
> 
> On Dec 22, 2010, at 2: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 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 violate the licensing of R and the packages I am using 
> > (RODBC, ggplot2, zoo).
> > 
> > David Scott
> > 
> > -- 
> > _
> > David Scott Department of Statistics
> > The University of Auckland, PB 92019
> > Auckland 1142,NEW ZEALAND
> > Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055
> > Email:  d.sc...@auckland.ac.nz,  Fax: +64 9 373 7018
> > 
> > Director of Consulting, Department of Statistics
> > 
> > __
> > R-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,  [f] +44 (0)20 7679 0565
 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London  [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT. [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Bug filed on unzip() function

2010-12-23 Thread Uwe Ligges

This message contains a good question:

Is there any reason why the bug reports are no longer mailed to R-devel?
I'd appreciate to get a notice what is going on in the bug repository 
without having to look on those web pages.


Best wishes,
Uwe



On 21.12.2010 18:50, Ken Williams wrote:

Hi,

A few days ago I filed a bug report on the unzip() function:

   https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462

I haven't gotten any comments yet, so I thought I'd ask for comments
here.  I also see on the description of R-devel that the list "also
receives all (filtered, i.e. non-spam!) bug reports from R-bugs", but
I don't see it here.

Eventually I would like to help unzip() gain large-file support, such
as is offered by http://info-zip.org/UnZip.html version 6.0.  A
corresponding zip() function would be nice too.

Thanks.

  -Ken

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2010-12-23 Thread carol white
R installation and admin manual doesn't tell where to save Sweave.sty. 

I use R 2.10.0, fedora 10 and, tex  Version 3.141592-1.40.3 (Web2C 7.5.6)

Cheers,



- Original Message 
From: Duncan Murdoch 
To: carol white 
Cc: r-devel@r-project.org
Sent: Thu, December 23, 2010 1:21:14 PM
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file

On 23/12/2010 5:26 AM, carol white wrote:
> When I copied Sweave.sty in the directory where I ran R, I didn't have any
> error. But this is not the good solution as R can be run in any folder.
>
> I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc 
folder
> in my R package to create the vignette. I ran R CMD check and it doesn find
> texi2dvi.

texi2dvi is both a function name in R (in the tools package) and a GNU 
utility that comes with texinfo and some TeX distributions, but 
apparently not with yours.  See the R Installation and Administration 
manual for suggestions on where to get it.  If that doesn't help, you 
might get help on this list by stating the versions of everything you're 
using: R, your OS, and TeX.

Duncan Murdoch

>
>
>
> - Original Message 
> From: Duncan Murdoch
> To: carol white
> Cc: r-devel@r-project.org
> Sent: Wed, December 22, 2010 10:33:01 PM
> Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file
>
> 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 Message 
>> From: Duncan Murdoch
>> To: carol white
>> Cc: r-devel@r-project.org
>> Sent: Wed, December 22, 2010 6:42:07 PM
>> Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file
>>
>> 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.
>>>   LaTeX errors:
>>>   ! Undefined control sequence.
>>>   l.8 \begin
>>>  {Schunk}
>>
>> The Schunk, Sinput, and Soutput environments are defined in Sweave package.
>> Something went wrong and latex didn't find them, either because it didn't 
find
>> Sweave.sty, or because it did, but that file has been messed up.
>>
>>
>>>   ?
>>>   ! Interruption.
>>>   ! Interruption.
>>>   
>>>   {
>>>   l.8 \begin{
>>>   Schunk}
>>>   ! Undefined control sequence.
>>>   l.9 \begin
>>>  {Sinput}
>>>   The control sequence at the end of the top line
>>>   of your error message was never \def'ed. If you have
>>>   
>>>   test.Rnw
>>>
>>>   \usepackage{Sweave}
>>>   \ documentclass [ a4paper ]{ article }
>>>   \ title { Sweave Example 1}
>>>   \ begin { document }
>>>   \ maketitle
>>
>> Are there really spaces between the backslashes and the macros?  I think that
>> doesn't work.  You should also have the \usepackage{Sweave} line after the
>> opening \documentclass line.
>>
>> Duncan Murdoch
>>
>>>   In this example we embed parts of the examples from the
>>>   help page into a \ LaTeX {} document :
>>>   <>=
>>>   y=2
>>>   y = y +1
>>>   @
>>>   which shows that the location parameter of the Ozone
>>>   distribution varies significantly from month to month . Finally we
>>>   include a boxplot of the data :
>>>
>>>   \end{ document }
>>>
>>>   __
>>>  R-devel@r-project.org mailing list
>>>  https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>>
>
>
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2010-12-23 Thread Duncan Murdoch

On 23/12/2010 7:46 AM, carol white wrote:

R installation and admin manual doesn't tell where to save Sweave.sty.


You shouldn't need to move it.



I use R 2.10.0, fedora 10 and, tex  Version 3.141592-1.40.3 (Web2C 7.5.6)


That R is pretty old.  I wouldn't be surprised if the current release 
handled things better.  But the thing that appears to be missing on your 
system is texinfo, and that's not part of R.


Duncan Murdoch



Cheers,



- Original Message 
From: Duncan Murdoch
To: carol white
Cc: r-devel@r-project.org
Sent: Thu, December 23, 2010 1:21:14 PM
Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file

On 23/12/2010 5:26 AM, carol white wrote:

When I copied Sweave.sty in the directory where I ran R, I didn't have any
error. But this is not the good solution as R can be run in any folder.

I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc

folder

in my R package to create the vignette. I ran R CMD check and it doesn find
texi2dvi.


texi2dvi is both a function name in R (in the tools package) and a GNU
utility that comes with texinfo and some TeX distributions, but
apparently not with yours.  See the R Installation and Administration
manual for suggestions on where to get it.  If that doesn't help, you
might get help on this list by stating the versions of everything you're
using: R, your OS, and TeX.

Duncan Murdoch





- Original Message 
From: Duncan Murdoch
To: carol white
Cc: r-devel@r-project.org
Sent: Wed, December 22, 2010 10:33:01 PM
Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file

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 Message 
From: Duncan Murdoch
To: carol white
Cc: r-devel@r-project.org
Sent: Wed, December 22, 2010 6:42:07 PM
Subject: Re: [Rd] Error in generating sweave-tex ->pdf file

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.
   LaTeX errors:
   ! Undefined control sequence.
   l.8 \begin
  {Schunk}


The Schunk, Sinput, and Soutput environments are defined in Sweave package.
Something went wrong and latex didn't find them, either because it didn't

find

Sweave.sty, or because it did, but that file has been messed up.



   ?
   ! Interruption.
   ! Interruption.
   
   {
   l.8 \begin{
   Schunk}
   ! Undefined control sequence.
   l.9 \begin
  {Sinput}
   The control sequence at the end of the top line
   of your error message was never \def'ed. If you have
   
   test.Rnw

   \usepackage{Sweave}
   \ documentclass [ a4paper ]{ article }
   \ title { Sweave Example 1}
   \ begin { document }
   \ maketitle


Are there really spaces between the backslashes and the macros?  I think that
doesn't work.  You should also have the \usepackage{Sweave} line after the
opening \documentclass line.

Duncan Murdoch


   In this example we embed parts of the examples from the
   help page into a \ LaTeX {} document :
   <>=
   y=2
   y = y +1
   @
   which shows that the location parameter of the Ozone
   distribution varies significantly from month to month . Finally we
   include a boxplot of the data :

   \end{ document }

   __
  R-devel@r-project.org mailing list
  https://stat.ethz.ch/mailman/listinfo/r-devel














__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2010-12-23 Thread carol white
Another question that I have is the following:

If I want to create the package vignette on a server for which I don't have 
admin rights to install Sweave.sty, where is the best place to save this file 
if 
I want to run from anywhere in my home directoy or do I have to put this file 
in 
a directory where I should always run from there?

I also attach Sweave.sty to check if it the right file.




- Original Message 
From: Duncan Murdoch 
To: carol white 
Cc: r-devel@r-project.org
Sent: Thu, December 23, 2010 2:01:26 PM
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file

On 23/12/2010 7:46 AM, carol white wrote:
> R installation and admin manual doesn't tell where to save Sweave.sty.

You shouldn't need to move it.


> I use R 2.10.0, fedora 10 and, tex  Version 3.141592-1.40.3 (Web2C 7.5.6)

That R is pretty old.  I wouldn't be surprised if the current release 
handled things better.  But the thing that appears to be missing on your 
system is texinfo, and that's not part of R.

Duncan Murdoch

>
> Cheers,
>
>
>
> - Original Message 
> From: Duncan Murdoch
> To: carol white
> Cc: r-devel@r-project.org
> Sent: Thu, December 23, 2010 1:21:14 PM
> Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file
>
> On 23/12/2010 5:26 AM, carol white wrote:
>> When I copied Sweave.sty in the directory where I ran R, I didn't have any
>> error. But this is not the good solution as R can be run in any folder.
>>
>> I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc
> folder
>> in my R package to create the vignette. I ran R CMD check and it doesn find
>> texi2dvi.
>
> texi2dvi is both a function name in R (in the tools package) and a GNU
> utility that comes with texinfo and some TeX distributions, but
> apparently not with yours.  See the R Installation and Administration
> manual for suggestions on where to get it.  If that doesn't help, you
> might get help on this list by stating the versions of everything you're
> using: R, your OS, and TeX.
>
> Duncan Murdoch
>
>>
>>
>>
>> - Original Message 
>> From: Duncan Murdoch
>> To: carol white
>> Cc: r-devel@r-project.org
>> Sent: Wed, December 22, 2010 10:33:01 PM
>> Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file
>>
>> 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 Message 
>>> From: Duncan Murdoch
>>> To: carol white
>>> Cc: r-devel@r-project.org
>>> Sent: Wed, December 22, 2010 6:42:07 PM
>>> Subject: Re: [Rd] Error in generating sweave-tex ->pdf file
>>>
>>> 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.
LaTeX errors:
! Undefined control sequence.
l.8 \begin
   {Schunk}
>>>
>>> The Schunk, Sinput, and Soutput environments are defined in Sweave package.
>>> Something went wrong and latex didn't find them, either because it didn't
> find
>>> Sweave.sty, or because it did, but that file has been messed up.
>>>
>>>
?
! Interruption.
! Interruption.

{
l.8 \begin{
Schunk}
! Undefined control sequence.
l.9 \begin
   {Sinput}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have

test.Rnw

\usepackage{Sweave}
\ documentclass [ a4paper ]{ article }
\ title { Sweave Example 1}
\ begin { document }
\ maketitle
>>>
>>> Are there really spaces between the backslashes and the macros?  I think 
that
>>> doesn't work.  You should also have the \usepackage{Sweave} line after the
>>> opening \documentclass line.
>>>
>>> Duncan Murdoch
>>>
In this example we embed parts of the examples from the
help page into a \ LaTeX {} document :
<>=
y=2
y = y +1
@
which shows that the location parameter of the Ozone
distribution varies significantly from month to month . Finally we
include a boxplot of the data :

\end{ document }

__
  R-devel@r-project.org mailing list
  https://stat.ethz.ch/mailman/listinfo/r-devel
>>>
>>>
>>>
>>
>>
>>
>
>
>


  __
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2010-12-23 Thread Kasper Daniel Hansen
Hi Carol

As you now know, this is because per default R/Sweave puts the line
  \usepackage{Sweave}
in the generated tex file.  This means the tex file is "portable", but
it also implies that Sweave.sty needs to be "installed" in your tex
installation.  Or you can put the Sweave.sty in the directory of the
Rnw file since tex usually is set up to search the same directory.

An alternative is to get R to generate a line like
  \usepackage{FULL_PATH_TO_SWEAVE.STY}
in the tex document.  This implies that the tex file can only be
tex'ed on a setup where the Sweave.sty is at the same place - hence it
kind of break portability.  Now portability of the tex file does not
matter to many users - most of us think of the tex file as an
intermediate file and only care about the Rnw file and the final PDF.
You get this behaviour by setting the environment variable
  SWEAVE_STYLEPATH_DEFAULT
to
  TRUE
An easy way to do this is to include the following line in your .Rprofile
 Sys.setenv("SWEAVE_STYLEPATH_DEFAULT" = "TRUE")

This trick also fixes running Sweave on a system where you do not have
admin rights.

Kasper

On Thu, Dec 23, 2010 at 5:14 AM, carol white  wrote:
> Another question that I have is the following:
>
> If I want to create the package vignette on a server for which I don't have
> admin rights to install Sweave.sty, where is the best place to save this file 
> if
> I want to run from anywhere in my home directoy or do I have to put this file 
> in
> a directory where I should always run from there?
>
> I also attach Sweave.sty to check if it the right file.
>
>
>
>
> - Original Message 
> From: Duncan Murdoch 
> To: carol white 
> Cc: r-devel@r-project.org
> Sent: Thu, December 23, 2010 2:01:26 PM
> Subject: Re: [Rd] Error in generating sweave-tex -> pdf file
>
> On 23/12/2010 7:46 AM, carol white wrote:
>> R installation and admin manual doesn't tell where to save Sweave.sty.
>
> You shouldn't need to move it.
>
>
>> I use R 2.10.0, fedora 10 and, tex  Version 3.141592-1.40.3 (Web2C 7.5.6)
>
> That R is pretty old.  I wouldn't be surprised if the current release
> handled things better.  But the thing that appears to be missing on your
> system is texinfo, and that's not part of R.
>
> Duncan Murdoch
>
>>
>> Cheers,
>>
>>
>>
>> - Original Message 
>> From: Duncan Murdoch
>> To: carol white
>> Cc: r-devel@r-project.org
>> Sent: Thu, December 23, 2010 1:21:14 PM
>> Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file
>>
>> On 23/12/2010 5:26 AM, carol white wrote:
>>> When I copied Sweave.sty in the directory where I ran R, I didn't have any
>>> error. But this is not the good solution as R can be run in any folder.
>>>
>>> I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc
>> folder
>>> in my R package to create the vignette. I ran R CMD check and it doesn find
>>> texi2dvi.
>>
>> texi2dvi is both a function name in R (in the tools package) and a GNU
>> utility that comes with texinfo and some TeX distributions, but
>> apparently not with yours.  See the R Installation and Administration
>> manual for suggestions on where to get it.  If that doesn't help, you
>> might get help on this list by stating the versions of everything you're
>> using: R, your OS, and TeX.
>>
>> Duncan Murdoch
>>
>>>
>>>
>>>
>>> - Original Message 
>>> From: Duncan Murdoch
>>> To: carol white
>>> Cc: r-devel@r-project.org
>>> Sent: Wed, December 22, 2010 10:33:01 PM
>>> Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file
>>>
>>> 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 Message 
 From: Duncan Murdoch
 To: carol white
 Cc: r-devel@r-project.org
 Sent: Wed, December 22, 2010 6:42:07 PM
 Subject: Re: [Rd] Error in generating sweave-tex ->    pdf file

 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.
>    LaTeX errors:
>    ! Undefined control sequence.
>    l.8 \begin
>               {Schunk}

 The Schunk, Sinput, and Soutput environments are defined in Sweave package.
 Something went wrong and latex didn't find them, either because it didn't
>> find
 Sweave.sty, or because it did, but that file has been messed up.


>    ?
>    ! Interruption.
>    ! Interruption.
>    
>                        {
>    l.8 \begin{
>                Schunk}
>    ! Undefined control 

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

2010-12-23 Thread Marc Schwartz
Hi,

Sorry for the late entry here, but I just noted that Carol is running Fedora 
10, which has not been actively supported for just over a year. It went End of 
Life (EOL) in December of 2009, which means that your Fedora 10 installation 
has been without bug/security fixes, application patches and other important 
updates since then.

The only actively supported released versions of Fedora are 13 and 14. So you 
should really update the underlying Fedora installation ASAP, which will also 
get you to R version 2.12.x, which is available via Fedora's yum updates for 13 
and 14.

At this point, it would be prudent to move to Fedora 14, given that Fedora 13 
will go EOL late next Spring after Fedora 15 is released. So you may as well 
give yourself a longer time frame of support, given Fedora's aggressive version 
update/EOL schedule.

HTH,

Marc Schwartz

On Dec 23, 2010, at 10:13 AM, Kasper Daniel Hansen wrote:

> Hi Carol
> 
> As you now know, this is because per default R/Sweave puts the line
>  \usepackage{Sweave}
> in the generated tex file.  This means the tex file is "portable", but
> it also implies that Sweave.sty needs to be "installed" in your tex
> installation.  Or you can put the Sweave.sty in the directory of the
> Rnw file since tex usually is set up to search the same directory.
> 
> An alternative is to get R to generate a line like
>  \usepackage{FULL_PATH_TO_SWEAVE.STY}
> in the tex document.  This implies that the tex file can only be
> tex'ed on a setup where the Sweave.sty is at the same place - hence it
> kind of break portability.  Now portability of the tex file does not
> matter to many users - most of us think of the tex file as an
> intermediate file and only care about the Rnw file and the final PDF.
> You get this behaviour by setting the environment variable
>  SWEAVE_STYLEPATH_DEFAULT
> to
>  TRUE
> An easy way to do this is to include the following line in your .Rprofile
> Sys.setenv("SWEAVE_STYLEPATH_DEFAULT" = "TRUE")
> 
> This trick also fixes running Sweave on a system where you do not have
> admin rights.
> 
> Kasper
> 
> On Thu, Dec 23, 2010 at 5:14 AM, carol white  wrote:
>> Another question that I have is the following:
>> 
>> If I want to create the package vignette on a server for which I don't have
>> admin rights to install Sweave.sty, where is the best place to save this 
>> file if
>> I want to run from anywhere in my home directoy or do I have to put this 
>> file in
>> a directory where I should always run from there?
>> 
>> I also attach Sweave.sty to check if it the right file.
>> 
>> 
>> 
>> 
>> - Original Message 
>> From: Duncan Murdoch 
>> To: carol white 
>> Cc: r-devel@r-project.org
>> Sent: Thu, December 23, 2010 2:01:26 PM
>> Subject: Re: [Rd] Error in generating sweave-tex -> pdf file
>> 
>> On 23/12/2010 7:46 AM, carol white wrote:
>>> R installation and admin manual doesn't tell where to save Sweave.sty.
>> 
>> You shouldn't need to move it.
>> 
>> 
>>> I use R 2.10.0, fedora 10 and, tex  Version 3.141592-1.40.3 (Web2C 7.5.6)
>> 
>> That R is pretty old.  I wouldn't be surprised if the current release
>> handled things better.  But the thing that appears to be missing on your
>> system is texinfo, and that's not part of R.
>> 
>> Duncan Murdoch
>> 
>>> 
>>> Cheers,
>>> 
>>> 
>>> 
>>> - Original Message 
>>> From: Duncan Murdoch
>>> To: carol white
>>> Cc: r-devel@r-project.org
>>> Sent: Thu, December 23, 2010 1:21:14 PM
>>> Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file
>>> 
>>> On 23/12/2010 5:26 AM, carol white wrote:
 When I copied Sweave.sty in the directory where I ran R, I didn't have any
 error. But this is not the good solution as R can be run in any folder.
 
 I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc
>>> folder
 in my R package to create the vignette. I ran R CMD check and it doesn find
 texi2dvi.
>>> 
>>> texi2dvi is both a function name in R (in the tools package) and a GNU
>>> utility that comes with texinfo and some TeX distributions, but
>>> apparently not with yours.  See the R Installation and Administration
>>> manual for suggestions on where to get it.  If that doesn't help, you
>>> might get help on this list by stating the versions of everything you're
>>> using: R, your OS, and TeX.
>>> 
>>> Duncan Murdoch
>>> 
 
 
 
 - Original Message 
 From: Duncan Murdoch
 To: carol white
 Cc: r-devel@r-project.org
 Sent: Wed, December 22, 2010 10:33:01 PM
 Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file
 
 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 Message 
> 

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

2010-12-23 Thread carol white
Thanks for all replies.

I found Sweave.sty in the system files of my local machine. It was sitting in 
/usr/share/R/texmf/. The content is the same as the file sent previously. So 
the 
file has always been in the system but R has been unable to find it.

I put the sty file in the home directory, in the folder where the Rnw file is, 
used \usepackage{/usr/share/R/texmf/Sweave.sty},
set SWEAVE_STYLEPATH_DEFAUL = TRUE, 

still with R CMD check, texi2dvi can't be found.

Recall that before I started to create the package vignette, I could generated 
the pdf file of the tex file by invoking texi2dvi in an R session after loading 
library(tools).

Best,

Carol


- Original Message 
From: Kasper Daniel Hansen 
To: carol white 
Cc: Duncan Murdoch ; r-devel@r-project.org
Sent: Thu, December 23, 2010 5:13:58 PM
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file

Hi Carol

As you now know, this is because per default R/Sweave puts the line
  \usepackage{Sweave}
in the generated tex file.  This means the tex file is "portable", but
it also implies that Sweave.sty needs to be "installed" in your tex
installation.  Or you can put the Sweave.sty in the directory of the
Rnw file since tex usually is set up to search the same directory.

An alternative is to get R to generate a line like
  \usepackage{FULL_PATH_TO_SWEAVE.STY}
in the tex document.  This implies that the tex file can only be
tex'ed on a setup where the Sweave.sty is at the same place - hence it
kind of break portability.  Now portability of the tex file does not
matter to many users - most of us think of the tex file as an
intermediate file and only care about the Rnw file and the final PDF.
You get this behaviour by setting the environment variable
  SWEAVE_STYLEPATH_DEFAULT
to
  TRUE
An easy way to do this is to include the following line in your .Rprofile
Sys.setenv("SWEAVE_STYLEPATH_DEFAULT" = "TRUE")

This trick also fixes running Sweave on a system where you do not have
admin rights.

Kasper

On Thu, Dec 23, 2010 at 5:14 AM, carol white  wrote:
> Another question that I have is the following:
>
> If I want to create the package vignette on a server for which I don't have
> admin rights to install Sweave.sty, where is the best place to save this file 
>if
> I want to run from anywhere in my home directoy or do I have to put this file 
>in
> a directory where I should always run from there?
>
> I also attach Sweave.sty to check if it the right file.
>
>
>
>
> - Original Message 
> From: Duncan Murdoch 
> To: carol white 
> Cc: r-devel@r-project.org
> Sent: Thu, December 23, 2010 2:01:26 PM
> Subject: Re: [Rd] Error in generating sweave-tex -> pdf file
>
> On 23/12/2010 7:46 AM, carol white wrote:
>> R installation and admin manual doesn't tell where to save Sweave.sty.
>
> You shouldn't need to move it.
>
>
>> I use R 2.10.0, fedora 10 and, tex  Version 3.141592-1.40.3 (Web2C 7.5.6)
>
> That R is pretty old.  I wouldn't be surprised if the current release
> handled things better.  But the thing that appears to be missing on your
> system is texinfo, and that's not part of R.
>
> Duncan Murdoch
>
>>
>> Cheers,
>>
>>
>>
>> - Original Message 
>> From: Duncan Murdoch
>> To: carol white
>> Cc: r-devel@r-project.org
>> Sent: Thu, December 23, 2010 1:21:14 PM
>> Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file
>>
>> On 23/12/2010 5:26 AM, carol white wrote:
>>> When I copied Sweave.sty in the directory where I ran R, I didn't have any
>>> error. But this is not the good solution as R can be run in any folder.
>>>
>>> I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc
>> folder
>>> in my R package to create the vignette. I ran R CMD check and it doesn find
>>> texi2dvi.
>>
>> texi2dvi is both a function name in R (in the tools package) and a GNU
>> utility that comes with texinfo and some TeX distributions, but
>> apparently not with yours.  See the R Installation and Administration
>> manual for suggestions on where to get it.  If that doesn't help, you
>> might get help on this list by stating the versions of everything you're
>> using: R, your OS, and TeX.
>>
>> Duncan Murdoch
>>
>>>
>>>
>>>
>>> - Original Message 
>>> From: Duncan Murdoch
>>> To: carol white
>>> Cc: r-devel@r-project.org
>>> Sent: Wed, December 22, 2010 10:33:01 PM
>>> Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file
>>>
>>> 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 Message 
 From: Duncan Murdoch
 To: carol white
 Cc: r-devel@r-project.org
 Sent: Wed, December 22, 2010 6:42:07 PM
 Subject: Re: [Rd] Error in generating sweave-tex ->pdf file

 On 22/12/2010 12:27 PM, 

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

2010-12-23 Thread Zhang,Jun
The sub-package texinfo-tex is freely available on the internet. Install it, 
and /usr/bin/texi2dvi should be one of its components. You may need admin 
privilege to do that. 

Jun

-Original Message-
From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On 
Behalf Of carol white
Sent: Thursday, December 23, 2010 12:02 PM
To: Kasper Daniel Hansen
Cc: r-devel@r-project.org
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file

Thanks for all replies.

I found Sweave.sty in the system files of my local machine. It was sitting in 
/usr/share/R/texmf/. The content is the same as the file sent previously. So 
the 
file has always been in the system but R has been unable to find it.

I put the sty file in the home directory, in the folder where the Rnw file is, 
used \usepackage{/usr/share/R/texmf/Sweave.sty},
set SWEAVE_STYLEPATH_DEFAUL = TRUE, 

still with R CMD check, texi2dvi can't be found.

Recall that before I started to create the package vignette, I could generated 
the pdf file of the tex file by invoking texi2dvi in an R session after loading 
library(tools).

Best,

Carol


- Original Message 
From: Kasper Daniel Hansen 
To: carol white 
Cc: Duncan Murdoch ; r-devel@r-project.org
Sent: Thu, December 23, 2010 5:13:58 PM
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file

Hi Carol

As you now know, this is because per default R/Sweave puts the line
  \usepackage{Sweave}
in the generated tex file.  This means the tex file is "portable", but
it also implies that Sweave.sty needs to be "installed" in your tex
installation.  Or you can put the Sweave.sty in the directory of the
Rnw file since tex usually is set up to search the same directory.

An alternative is to get R to generate a line like
  \usepackage{FULL_PATH_TO_SWEAVE.STY}
in the tex document.  This implies that the tex file can only be
tex'ed on a setup where the Sweave.sty is at the same place - hence it
kind of break portability.  Now portability of the tex file does not
matter to many users - most of us think of the tex file as an
intermediate file and only care about the Rnw file and the final PDF.
You get this behaviour by setting the environment variable
  SWEAVE_STYLEPATH_DEFAULT
to
  TRUE
An easy way to do this is to include the following line in your .Rprofile
Sys.setenv("SWEAVE_STYLEPATH_DEFAULT" = "TRUE")

This trick also fixes running Sweave on a system where you do not have
admin rights.

Kasper

On Thu, Dec 23, 2010 at 5:14 AM, carol white  wrote:
> Another question that I have is the following:
>
> If I want to create the package vignette on a server for which I don't have
> admin rights to install Sweave.sty, where is the best place to save this file 
>if
> I want to run from anywhere in my home directoy or do I have to put this file 
>in
> a directory where I should always run from there?
>
> I also attach Sweave.sty to check if it the right file.
>
>
>
>
> - Original Message 
> From: Duncan Murdoch 
> To: carol white 
> Cc: r-devel@r-project.org
> Sent: Thu, December 23, 2010 2:01:26 PM
> Subject: Re: [Rd] Error in generating sweave-tex -> pdf file
>
> On 23/12/2010 7:46 AM, carol white wrote:
>> R installation and admin manual doesn't tell where to save Sweave.sty.
>
> You shouldn't need to move it.
>
>
>> I use R 2.10.0, fedora 10 and, tex  Version 3.141592-1.40.3 (Web2C 7.5.6)
>
> That R is pretty old.  I wouldn't be surprised if the current release
> handled things better.  But the thing that appears to be missing on your
> system is texinfo, and that's not part of R.
>
> Duncan Murdoch
>
>>
>> Cheers,
>>
>>
>>
>> - Original Message 
>> From: Duncan Murdoch
>> To: carol white
>> Cc: r-devel@r-project.org
>> Sent: Thu, December 23, 2010 1:21:14 PM
>> Subject: Re: [Rd] Error in generating sweave-tex ->  pdf file
>>
>> On 23/12/2010 5:26 AM, carol white wrote:
>>> When I copied Sweave.sty in the directory where I ran R, I didn't have any
>>> error. But this is not the good solution as R can be run in any folder.
>>>
>>> I copied Sweave.sty in  /usr/share/texmf/. I put my Rnw file in inst/doc
>> folder
>>> in my R package to create the vignette. I ran R CMD check and it doesn find
>>> texi2dvi.
>>
>> texi2dvi is both a function name in R (in the tools package) and a GNU
>> utility that comes with texinfo and some TeX distributions, but
>> apparently not with yours.  See the R Installation and Administration
>> manual for suggestions on where to get it.  If that doesn't help, you
>> might get help on this list by stating the versions of everything you're
>> using: R, your OS, and TeX.
>>
>> Duncan Murdoch
>>
>>>
>>>
>>>
>>> - Original Message 
>>> From: Duncan Murdoch
>>> To: carol white
>>> Cc: r-devel@r-project.org
>>> Sent: Wed, December 22, 2010 10:33:01 PM
>>> Subject: Re: [Rd] Error in generating sweave-tex ->   pdf file
>>>
>>> On 22/12/2010 1:30 PM, carol white wrote:
 Should the Sweave package be in /usr/share/texmf/tex/latex/? How about
>

Re: [Rd] Bug filed on unzip() function

2010-12-23 Thread Simon Urbanek
On Dec 23, 2010, at 7:44 AM, Uwe Ligges wrote:

> This message contains a good question:
> 
> Is there any reason why the bug reports are no longer mailed to R-devel?

The way Bugzilla works is that all parties involved in a bug get e-mails - but 
then they get all of them including all updates of the status, replies etc. One 
way to get involved is to be the assignee for a bug and most bugs have R-core 
as the assignee so that's where it goes. Although we could add R-devel on the 
CC list it would mean that *every* change to a bug will result in a message and 
I suspect R-devel subscribers would not be quite happy about that.

I don't know of any provision that would make it possible to broadcast the 
initial report only. Moreover, doing so on R-devel would be somewhat 
problematic, because people might reply to all and thus some correspondence 
would still land on R-devel whereas replies via website would not - and that 
could lead to a serious confusion.


> I'd appreciate to get a notice what is going on in the bug repository without 
> having to look on those web pages.
> 

I could add you to the CC list of any (or all) components - that's one way (it 
could be interesting to see how it works traffic-wise). Another would be to 
have a dedicated list for the bug traffic (R-bugs is not a list). Or, as I 
said, we could put R-devel on the CC list for all components. I wouldn't mind 
doing so, but I'm not sure what the R-devel readership would say... Comments 
are welcome.

Cheers,
Simon



> 
> On 21.12.2010 18:50, Ken Williams wrote:
>> Hi,
>> 
>> A few days ago I filed a bug report on the unzip() function:
>> 
>>   https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462
>> 
>> I haven't gotten any comments yet, so I thought I'd ask for comments
>> here.  I also see on the description of R-devel that the list "also
>> receives all (filtered, i.e. non-spam!) bug reports from R-bugs", but
>> I don't see it here.
>> 
>> Eventually I would like to help unzip() gain large-file support, such
>> as is offered by http://info-zip.org/UnZip.html version 6.0.  A
>> corresponding zip() function would be nice too.
>> 
>> Thanks.
>> 
>>  -Ken
>> 
>> __
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Bug filed on unzip() function

2010-12-23 Thread Marc Schwartz
On Dec 23, 2010, at 8:24 PM, Simon Urbanek wrote:

> On Dec 23, 2010, at 7:44 AM, Uwe Ligges wrote:
> 
>> This message contains a good question:
>> 
>> Is there any reason why the bug reports are no longer mailed to R-devel?
> 
> The way Bugzilla works is that all parties involved in a bug get e-mails - 
> but then they get all of them including all updates of the status, replies 
> etc. One way to get involved is to be the assignee for a bug and most bugs 
> have R-core as the assignee so that's where it goes. Although we could add 
> R-devel on the CC list it would mean that *every* change to a bug will result 
> in a message and I suspect R-devel subscribers would not be quite happy about 
> that.
> 
> I don't know of any provision that would make it possible to broadcast the 
> initial report only. Moreover, doing so on R-devel would be somewhat 
> problematic, because people might reply to all and thus some correspondence 
> would still land on R-devel whereas replies via website would not - and that 
> could lead to a serious confusion.
> 
> 
>> I'd appreciate to get a notice what is going on in the bug repository 
>> without having to look on those web pages.
>> 
> 
> I could add you to the CC list of any (or all) components - that's one way 
> (it could be interesting to see how it works traffic-wise). Another would be 
> to have a dedicated list for the bug traffic (R-bugs is not a list). Or, as I 
> said, we could put R-devel on the CC list for all components. I wouldn't mind 
> doing so, but I'm not sure what the R-devel readership would say... Comments 
> are welcome.
> 
> Cheers,
> Simon

I don't know what the volume of traffic would be from Bugzilla these days 
versus what it used to be from Jitterbug.

One of the issues with Jitterbug and the cc'ing of bug reports and comments to 
R-devel, is that the e-mails would frequently come from the participants in the 
bug report who were not subscribers to R-devel. That required that the R-devel 
moderators manually approve those e-mails, which added overhead. In fact, since 
moving to Bugzilla, the volume of manual approvals on R-devel has declined 
notably since those e-mails are no longer mirrored.

There is not an easy way to interact with Bugzilla via e-mail as there was with 
Jitterbug. The last time that I looked into this during the transition, it 
would require e-mails with a very specific formatting and name-value pair style 
entries in the message body, which could then be parsed by Bugzilla for 
inclusion into the underlying database. So one could not just reply to a 
Bugzilla bug report or comment with a free form e-mail as could be done with 
Jitterbug.

If an e-mail list mirror is desired, I would vote for a separate READ-ONLY list 
that folks could subscribe to and/or perhaps have an RSS feed that could be 
followed for updates. Making the list read-only would obviate situations where 
somebody replied to a bug report and/or comment via e-mail, where that reply 
would of course not make it into the Bugzilla repo thread, resulting in a loss 
of information.

With Bugzilla, the results of search queries generate an RSS feed link at the 
bottom of the query results page (see the "Feed" link), which can be subscribed 
to using one's favorite RSS reader. That would be one way of keeping track of 
new/open bug reports.

One could, if desired, create custom queries in Bugzilla using the Advanced 
Search functionality and then use the resultant RSS feed link to keep track of 
updates to the particular query result set.

Also, I don't know what the typical response time has been on Bugzilla once a 
bug report is filed. Perhaps something could be noted there so that bug 
reporters might have some expectation that a comment/reply might be forthcoming 
within X days of filing. After that time frame, some recommended form of follow 
up communication could take place as a tickler/reminder of sorts.

That's my $0.02.

Regards,

Marc Schwartz

> 
> 
>> 
>> On 21.12.2010 18:50, Ken Williams wrote:
>>> Hi,
>>> 
>>> A few days ago I filed a bug report on the unzip() function:
>>> 
>>>  https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462
>>> 
>>> I haven't gotten any comments yet, so I thought I'd ask for comments
>>> here.  I also see on the description of R-devel that the list "also
>>> receives all (filtered, i.e. non-spam!) bug reports from R-bugs", but
>>> I don't see it here.
>>> 
>>> Eventually I would like to help unzip() gain large-file support, such
>>> as is offered by http://info-zip.org/UnZip.html version 6.0.  A
>>> corresponding zip() function would be nice too.
>>> 
>>> Thanks.
>>> 
>>> -Ken

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel