[Rd] Small typo in ?NumericConstants

2021-06-12 Thread Vincent Goulet via R-devel
Hi, I stumbled upon this small typo in ?base::NumericConstants: Index: library/base/man/NumericConstants.Rd === --- library/base/man/NumericConstants.Rd(révision 80490) +++ library/base/man/NumericConstants.Rd(copie d

[Rd] Typo in Writing R Extensions

2021-05-28 Thread Vincent Goulet via R-devel
Hi, Just noticed this: on line 15296 of the current (master) R-exts.texi (section 7 of the compiled document), one reads would do most likely do different things, to the justifiable Either one of the "do" is in extra. Best, Vincent Goulet Univer

[Rd] Adding RtangleRuncode and RtangleFinish to exports of utils

2020-07-08 Thread Vincent Goulet via R-devel
Hi, Could R-Core consider adding 'RtangleRuncode' and 'RtangleFinish' to the exports of utils. Their weave equivalent 'makeRweaveLatexCodeRunner' and 'RweaveLatexFinish' are exported, as well as the other tangle utility functions 'RtangleSetup' and 'RtangleWritedoc'. The rationale is not just

[Rd] "R CMD Sweave --driver=..." woes

2020-06-25 Thread Vincent Goulet via R-devel
ple patch below should fix the issue, but I wasn't able to test it. Hope this helps. v. Vincent Goulet Professeur titulaire École d'actuariat, Université Laval Index: src/library/utils/R/Sweave.R === --- src/library

Re: [Rd] arr.ind argument to which.min and which.max

2010-07-06 Thread Vincent Goulet
Le lun. 5 juil. à 05:56, Martin Maechler a écrit : >> "PatB" == Patrick Burns >>on Sun, 04 Jul 2010 09:43:44 +0100 writes: > >PatB> Is there a reason that 'which.min' and >PatB> 'which.max' don't have an 'arr.ind' >PatB> argument? > > well, help(which.min) tells you th

Re: [Rd] warning from install.packages()

2010-06-03 Thread Vincent Goulet
L] > if(length(.libPaths()) > 1L) > -warning(gettextf("argument 'lib' is missing: using '%s'", lib), > -immediate. = TRUE, domain = NA) > +message(gettextf("argument 'lib' is missing: us

[Rd] Suggested tidying up

2010-05-31 Thread Vincent Goulet
packages on CRAN, though. May I propose to remove this apparently useless function from the sources? [I stubbled upon this function because my package actuar also has a cm() function that masks the one from grDevices.] Dr. Vincent Goulet Full Professor École d'actuariat, Université Laval

Re: [Rd] Out of bounds negative index

2008-05-02 Thread Vincent Goulet
Le ven. 02 mai à 15:46, Duncan Murdoch a écrit : On 5/2/2008 3:23 PM, Vincent Goulet wrote: Hi, From the R Language Definition, Section 3.4.1: "If i is positive and exceeds length(x) then the corresponding selection is NA. A negative out of bounds value for i causes an error."

[Rd] Out of bounds negative index

2008-05-02 Thread Vincent Goulet
e? Thanks in advance --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] r won't start: "r: symbol lookup error: r: undefined symbol: R_Visible" (PR#11265)

2008-04-25 Thread Vincent Goulet
Le ven. 25 avr. à 07:09, Dirk Eddelbuettel a écrit : > > On 24 April 2008 at 20:20, [EMAIL PROTECTED] wrote: > | Full_Name: Jakob Stoeger > | Version: 2.7.0 > | OS: ubuntu 7.10 > | Submission from: (NULL) (137.248.74.38) > | > | > | Hi! > | > | I hope, it is justified to write this email... > | I'

Re: [Rd] HOW TO AVOID LOOPS

2008-04-12 Thread Vincent Goulet
)), function(y) cumsum(x[y]))) [1] 0 0 1 0 1 2 3 0 0 1 2 0 1 0 1 2 3 4 5 6 (The mapply() part is used to create the indexes of each sequence in x starting with a 0. The rest is then straightforward.) HTH --- Vincent Goulet, Associate Professor École d'actuariat

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Vincent Goulet
Le dim. 6 avr. à 07:01, Rory Winston a écrit : > Hi Martin > > Thanks for the detailed reply. I had a look at the matrix power > implementation in the actuar package and the modified version in the > expm > package. I have a couple of questions/comments: > > 1. Firstly, I seem to have trouble lo

Re: [Rd] How to create a function calling two functions with unknown number of parameters?

2008-04-05 Thread Vincent Goulet
- > View this message in context: > http://www.nabble.com/How-to-create-a-function-calling-two-functions-with-unknown-number-of-parameters--tp16501233p16501233.html > Sent from the R devel mailing list archive at Nabble.com. > > __ > R

[Rd] Small encoding question

2008-02-14 Thread Vincent Goulet
ets grDevices graphics methods base other attached packages: [1] CarbonEL_0.1-4 loaded via a namespace (and not attached): [1] tools_2.6.2 Thanks in advance! --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED

Re: [Rd] bug in r-base (PR#10521)

2007-12-19 Thread Vincent Goulet
the instructions in the Ubuntu README at http://cran.r-project.org/bin/linux/ubuntu/ ? What is the result of apt-cache policy r-base ? We should be able to help you with this information. Best, --- Vincent Goulet, Associate Professor École d'actuariat Universi

[Rd] Matrix exponential in R

2007-11-17 Thread Vincent Goulet
ughts. Best, --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] developing a package: increase the number of functions

2007-07-31 Thread Vincent Goulet
e, while internal ones can > only be accessed with > > myInternalFun:::myPackage Or rather myPackage:::myInternalFun > > Gregor > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] C function with unknown output length

2007-06-07 Thread Vincent Goulet
Le 07-06-06 à 15:20, Herve Pages a écrit : > Vincent Goulet wrote: >> Hi all, >> >> Could anyone point me to one or more examples in the R sources of a C >> function that is called without knowing in advance what will be the >> length (say) of the output vector?

[Rd] C function with unknown output length

2007-06-06 Thread Vincent Goulet
nough" to 1. Hence, the number of probabilities is not known in advance. I would like to have an idea what is the best way to handle this situation in R. Thanks in advance! --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PR

Re: [Rd] IDE for R C++ package writing ?

2007-02-23 Thread Vincent Goulet
ca/emacs Please note that the bells and whistles of EmacsW32 are not included. It is a plain GNU Emacs 21.3 with AUCTeX, ESS, Aspell and other minor enhancements thrown in. HTH -- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED]

Re: [Rd] S3 methods for cbind/rbind

2006-09-27 Thread Vincent Goulet
ually you can add your own method. See > > library(zoo) > rbind.zoo > > for an example. > > On 9/27/06, Vincent Goulet <[EMAIL PROTECTED]> wrote: > > I created a type of object similar to a data frame. In some > > circumstances, It needs special methods for &

[Rd] S3 methods for cbind/rbind

2006-09-27 Thread Vincent Goulet
ut by C-internal dispatching. Therefore, there is no need for, e.g., 'rbind.default'. This seems to imply I cannot add my own method. Is there 1) a workaround to and 2) a rationale for this? (Other than creating a generic Rbind() or whatever, that is.) I'm using S3 me

Re: [Rd] building windows packages under wine/linux an d cross-compiling.

2006-08-03 Thread Vincent Goulet
t; > Windows machines are cheap. You don't need a new one to build a package > or to run R. I can't imagine there is any change to the build procedure > that would cost less in our time than the cost to you of getting an old > Windows box. > > Duncan Murdoch I already w

Re: [Rd] Patch to allow negative argument in head() and tail()

2006-07-26 Thread Vincent Goulet
Le Mardi 18 Juillet 2006 04:42, Martin Maechler a écrit : > >>>>> "Vincent" == Vincent Goulet <[EMAIL PROTECTED]> > >>>>> on Mon, 17 Jul 2006 15:03:34 -0400 writes: > > Vincent> Dear developeRs (and other abuseRs ;-)

Re: [Rd] Patch to allow negative argument in head() and tail()

2006-07-18 Thread Vincent Goulet
Le Mardi 18 Juillet 2006 04:42, Martin Maechler a écrit : > >>>>> "Vincent" == Vincent Goulet <[EMAIL PROTECTED]> > >>>>> on Mon, 17 Jul 2006 15:03:34 -0400 writes: > > Vincent> Dear developeRs (and other abuseRs ;-)

[Rd] Patch to allow negative argument in head() and tail()

2006-07-17 Thread Vincent Goulet
xcept code using the (undocumented) "feature" mentioned in my first remark, above. I hope you will find my (albeit small) contribution useful. Best regards, - [1] See previous messages to r-devel by myself <https://stat.ethz.ch/pipermail/r-devel/2005-April/032881.html> and B

[Rd] New probability law functions

2006-05-16 Thread Vincent Goulet
ehand since my current implementation is simpler than what is found in random.c and I would prefer to go one route or another. Thanks in advance for any feedback. -- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vg

[Rd] Typo in polygon.Rd (PR#8605)

2006-02-13 Thread vincent . goulet
Hi, Small typo in the description of argument 'col' of function polygon(): "(For back-compatibiility, ..." should obviously be "(For back-compatibility...". The mistake was still there in 2.3.0 minutes ago... Best, -- Vincent Goulet, Associate Professor

[Rd] Writing new probability functions

2005-11-10 Thread Vincent Goulet
/distribution/quantile functions over the complete domain of the probability laws? Comments appreciated. -- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __ R-de