[Rd] minus: operator and sign (PR#7908)

2005-05-31 Thread allsi
Full_Name: Allan Sims Version: 2.1.0 OS: WinXP Submission from: (NULL) (193.40.25.254) This should not be correct. It seams that first power is applied and then sign. > -2^2 [1] -4 __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/

Re: [Rd] minus: operator and sign (PR#7908)

2005-05-31 Thread ligges
[EMAIL PROTECTED] wrote: > Full_Name: Allan Sims > Version: 2.1.0 > OS: WinXP > Submission from: (NULL) (193.40.25.254) > > > This should not be correct. It seams that first power is applied and then > sign. > >>-2^2 > > [1] -4 > > __ > R-devel@sta

Re: [Rd] minus: operator and sign (PR#7908)

2005-05-31 Thread Uwe Ligges
Uwe Ligges wrote: [EMAIL PROTECTED] wrote: Full_Name: Allan Sims Version: 2.1.0 OS: WinXP Submission from: (NULL) (193.40.25.254) This should not be correct. It seams that first power is applied and then sign. -2^2 [1] -4 __ R-devel@stat.ma

RE: [Rd] minus: operator and sign (PR#7908)

2005-05-31 Thread Ted Harding
On 31-May-05 [EMAIL PROTECTED] wrote: > Full_Name: Allan Sims > Version: 2.1.0 > OS: WinXP > Submission from: (NULL) (193.40.25.254) > > > This should not be correct. It seams that first power is applied and > then sign. >> -2^2 > [1] -4 Rule 1: Know your enemy! ?Syntax --> The following

RE: [Rd] minus: operator and sign (PR#7908)

2005-05-31 Thread Ted Harding
On 31-May-05 Ted Harding wrote: > [...] > But it is always safe (and often prudent) to force precedence > with parentheses -- at least you yourself are then absolutely > sure of exactly what is going to happen, which is the really > important thing (and this is Rule 2, which takes precedence > over

Re: [Rd] (PR#7899) seek(con, 0, "end", rw="r") does not always work

2005-05-31 Thread tplate
Uwe Ligges wrote: > Tony Plate wrote: > >> [EMAIL PROTECTED] wrote: >> >>> [EMAIL PROTECTED] wrote: >>> >>> I've noticed that seek(con, 0, "end", rw="r") on a file connection does not always work correctly after a write (R 2.1.0 on Windows). [Is a call to fflush() needed insid

[Rd] Problem with fPortfolio

2005-05-31 Thread Neuro LeSuperHéros
Hello, I hesitate to call this a bug, because I could have forgotten something important, but the MarkowitzPortfolio example in fPortfolio does not work for me. Here's my code: library(fPortfolio) xmpPortfolio("\nStart: Load monthly data set of returns > ") data(berndtInvest)

[Rd] Re: [R] Problem going back to a viewport with gridBase

2005-05-31 Thread Gabor Grothendieck
[moved from r-help to r-devel] On 5/31/05, Paul Murrell <[EMAIL PROTECTED]> wrote: > ># mm.row[j] gives the row in the layout of the jth cell > ># mm.col[j] gives the col in the layout of the jth cell > >mm <- matrix(seq(nr*nc), nr, nc) > >mm.row <- c(row(mm)) > >mm.col <- c(c

Re: [Rd] Problem with fPortfolio

2005-05-31 Thread Uwe Ligges
Yes, looks like a bug in package fPortfolio. Please report bugs in conztributed packages to the package maintainer (look at e.g. library(help=fPortfolio)) rather than to an R list. Thank you. Uwe Ligges Neuro LeSuperHéros wrote: Hello, I hesitate to call this a bug, because I could have fo