[Rd] Changing style for the Sweave vignettes

2014-11-13 Thread January Weiner
As a user, I am always annoyed beyond measure that Sweave vignettes precede the code by a command line prompt. It makes running examples by simple copying of the commands from the vignette to the console a pain. I know the idea is that it is clear what is the command, and what is the output, but

Re: [Rd] Changing style for the Sweave vignettes

2014-11-13 Thread Søren Højsgaard
Not sure if this is the right list for your question, but options(prompt=) should do it. Regards Søren |-Original Message- |From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r- |project.org] On Behalf Of January Weiner |Sent: 13. november 2014 12:10 |To: r-devel |Subject:

Re: [Rd] Changing style for the Sweave vignettes

2014-11-13 Thread Brian G. Peterson
On 11/13/2014 05:09 AM, January Weiner wrote: As a user, I am always annoyed beyond measure that Sweave vignettes precede the code by a command line prompt. It makes running examples by simple copying of the commands from the vignette to the console a pain. I know the idea is that it is clear

Re: [Rd] Changing style for the Sweave vignettes

2014-11-13 Thread January Weiner
Thank you, Søren and Brian for your answers. Whether this is the right list -- well, I think it is, since I am developing a package and would like to create a vignette which is useful and convenient for my users. I know how to extract the vignette code. However, most of my users don't. Or if

Re: [Rd] Changing style for the Sweave vignettes

2014-11-13 Thread Martin Morgan
On 11/13/2014 03:09 AM, January Weiner wrote: As a user, I am always annoyed beyond measure that Sweave vignettes precede the code by a command line prompt. It makes running examples by simple copying of the commands from the vignette to the console a pain. I know the idea is that it is clear

Re: [Rd] Changing style for the Sweave vignettes

2014-11-13 Thread Paul Gilbert
You might also consider starting your vignettes with \begin{Scode}{echo=FALSE,results=hide} options(continue= ) \end{Scode} Then you get one prompt but it is still easy to cut and paste. This has been in many of my packages for many years, so I think it would be fair to assume it is

Re: [Rd] Problem with build and check

2014-11-13 Thread Duncan Murdoch
On 12/11/2014 2:36 PM, Joshua Ulrich wrote: On Wed, Nov 12, 2014 at 1:28 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 12/11/2014 2:11 PM, Therneau, Terry M., Ph.D. wrote: I am getting failure of build and check, for an Rd file that has a long argument list. Guess diagnosis: a

Re: [Rd] Changing style for the Sweave vignettes

2014-11-13 Thread January Weiner
Dear Paul and Martin, thanks for the useful tips. I'll start with Paul's suggestion (getting rid of these '+'-es will already be a boon!), and move from my old Sweave vignettes when possible. Thank you! j. On 13 November 2014 15:35, Paul Gilbert pgilbert...@gmail.com wrote: You might also

Re: [Rd] Changing style for the Sweave vignettes

2014-11-13 Thread Yihui Xie
As someone who was also annoyed by command line prompts a couple of years ago, I wrote knitr and removed prompts as well as the continuation characters (+) by default (FAQ5: https://github.com/yihui/knitr/blob/master/FAQ.md). BTW, I do not always trust copying text from PDF. Perhaps it is fine

Re: [Rd] Non-webby links on Windows web page

2014-11-13 Thread Boylan, Ross
Thanks for the detective work. I'm a little surprised all the mirrors aren't configured the same. Maybe it should be a little easier to figure out how to contact the maintainers of a particular site. At the bottom of the front page are links to 2 organization; picking the most specific led

Re: [Rd] Non-webby links on Windows web page

2014-11-13 Thread Winston Chang
I agree that it would be nice to have mirrors configured the same. Several weeks ago, there was a change to the .htaccess file at the top level of the CRAN repository which brought down RStudio mirror, since the .htaccess file used an Apache module that wasn't installed on the RStudio mirror. A

[Rd] Correction in help(factanal)

2014-11-13 Thread John Maindonald
Thus factor analysis is in essence a model for the correlation matrix of x, Σ = Λ'Λ + Ψ This should surely be Σ = ΛΛ' + Ψ Also line 3 under “Details” says for a p–element row-vector x, … x is here surely a column vector, albeit the transpose of a row vector from the data matrix. cf page