Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-01 Thread Michael Hoffman
Duncan Murdoch wrote: > On 01/12/2007 2:38 PM, Michael Hoffman wrote: >> Dieter Menne wrote: >>> Michael Hoffman sneakemail.com> writes: >>> I would like to be able to do something like this: <>= ... @ with mywidth set in a previous code chunk. Is there

Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-01 Thread Max Kuhn
On Dec 1, 2007 3:56 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > My understanding is that Michael wants to have the Sweave options in a > chunk depend on a calculation happening in the underlying R session. > This is hard to do with hooks, because they are run after the options > have already b

Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-01 Thread Duncan Murdoch
I've moved this response to R-devel, because my contribution is more along those lines. Michael, if this doesn't interest you, please let us know. On 01/12/2007 2:38 PM, Michael Hoffman wrote: > Dieter Menne wrote: >> Michael Hoffman sneakemail.com> writes: >> >>> I would like to be able to do

Re: [Rd] Puzzling message: "no man files in this package"

2007-12-01 Thread Katharine Mullen
strange - but at least the strangeness resolved itself. If the problem was with your code as opposed to your build environment, I guess you'll soon here from a CRAN maintainer about it (and by the way: CRAN incoming does not allow read permission for others, so if you upload there it's not really

Re: [Rd] NAs produced by integer overflow (PR#10482)

2007-12-01 Thread ripley
What is the bug here? You haven't told us what you think it is, and > 110231L * 101347L [1] NA Warning message: In 110231L * 101347L : NAs produced by integer overflow is both intentional and documented: see ?Arithmetic. Please do give a reproducible example (as we ask): yours is not as we hav

Re: [Rd] dataframe does not expand as.Dates objects (PR#10481)

2007-12-01 Thread ripley
>From the help for data.frame() (sic): Objects passed to 'data.frame' should have the same number of rows, but atomic vectors, factors and character vectors protected by 'I' will be recycled a whole number of times if necessary. so this is the documented behaviour. Perhaps you

Re: [Rd] NAs produced by integer overflow (PR#10482)

2007-12-01 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > Full_Name: Stefan Th. Gries > Version: R version 2.6.1 (2007-11-26) > OS: Windows XP Home SP2 > Submission from: (NULL) (68.6.47.105) > > > Hi > > A simple computation results in integer overflow: > > These are the relevant vectors: > > >> sum(cur.obs) >> > [1] 11

Re: [Rd] Puzzling message: "no man files in this package"

2007-12-01 Thread Katharine Mullen
Dear Jelle, Could you put the package somewhere public? This would make it easier to diagnose the problem. On Fri, 30 Nov 2007 [EMAIL PROTECTED] wrote: > Dear R developers, > > When building/checking my package (in R 2.6.1 under windows) I run into > some messages that I do not completely unde

[Rd] NAs produced by integer overflow (PR#10482)

2007-12-01 Thread stgries
Full_Name: Stefan Th. Gries Version: R version 2.6.1 (2007-11-26) OS: Windows XP Home SP2 Submission from: (NULL) (68.6.47.105) Hi A simple computation results in integer overflow: These are the relevant vectors: > sum(cur.obs) [1] 110231 > colfreq otherpast perfect pres

[Rd] dataframe does not expand as.Dates objects (PR#10481)

2007-12-01 Thread adrian_d
Full_Name: Adrian Dragulescu Version: 2.6.0 OS: Windows Submission from: (NULL) (216.99.178.65) > data.frame(x=1:10, y="A") # expands fine x y 1 1 A 2 2 A 3 3 A 4 4 A 5 5 A 6 6 A 7 7 A 8 8 A 9 9 A 10 10 A > > data.frame(x=1:10, z=as.Date("2007-01-01")) # get an error

[Rd] Trivial formatting typo in summary(lm()) (PR#10480)

2007-12-01 Thread racinej
Full_Name: Jeffrey Racine Version: 2.6.1 and previous... OS: FreeBSD Submission from: (NULL) (130.113.139.86) Hi. I almost feel bad reporting this, but here goes. The summary() for lm() (and possibly others?) uses a capitalized `S' in Multiple R-Squared but a lowercase `s' in Adjusted R-squared

[Rd] Puzzling message: "no man files in this package"

2007-12-01 Thread J.J.Goeman
Dear R developers, When building/checking my package (in R 2.6.1 under windows) I run into some messages that I do not completely understand and that do not give me precise enough leads to pinpoint where the error in my package is. I would be very grateful for any suggestions. Did anyone else enc