Re: [R-pkg-devel] LICENSE file in an R package for CRAN submission

2023-08-16 Thread Vincent Goulet
and end up with a file .../mypkg/mypkg_x.y-z.tar.gz, rather than in the parent directory of 'mypkg'. (Mind you, I build my packages manually. The tidyverse tools may very well take care of this sort of things automatically and I wouldn't know.) Hope this helps, v. Vincent Goulet Professeur

[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

[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

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

2020-06-25 Thread Vincent Goulet via R-devel
helps. v. Vincent Goulet Professeur titulaire École d'actuariat, Université Laval Index: src/library/utils/R/Sweave.R === --- src/library/utils/R/Sweave.R(revision 78746) +++ src/library/utils/R/Sweave.R(working

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 pbu...@pburns.seanet.com 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

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

2010-06-03 Thread Vincent Goulet
that has been worrying my students for some time. However, I think saying argument 'lib' not specified: using '%s' would be even less alarming. ... is missing sort of implies the user forgot something. My 0.02 $ Dr. Vincent Goulet Full Professor École d'actuariat, Université Laval, Québec

[Rd] Suggested tidying up

2010-05-31 Thread Vincent Goulet
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, Québec vincent.gou...@act.ulaval.ca http

[Rd] Out of bounds negative index

2008-05-02 Thread Vincent Goulet
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] 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

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'm

Re: [Rd] HOW TO AVOID LOOPS

2008-04-12 Thread Vincent Goulet
() 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 Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca

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 loading

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

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

[Rd] Matrix exponential in R

2007-11-17 Thread Vincent Goulet
. 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
with myInternalFun:::myPackage Or rather myPackage:::myInternalFun Gregor __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel --- Vincent Goulet, Associate Professor École d'actuariat Université Laval

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? To make myself clearer, we have a C

[Rd] C function with unknown output length

2007-06-06 Thread Vincent Goulet
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 PROTECTED] http

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

2007-02-23 Thread Vincent Goulet
, ESS, Aspell and other minor enhancements thrown in. HTH -- 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

[Rd] S3 methods for cbind/rbind

2006-09-27 Thread Vincent Goulet
. 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 methods. Thanks in advance! -- Vincent Goulet

Re: [Rd] S3 methods for cbind/rbind

2006-09-27 Thread Vincent Goulet
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 [ and [- and rbind() (but not cbind()). Then I found this in the cbind()/rbind() man page

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

2006-08-03 Thread Vincent Goulet
for that matter). The Server version is now free. It's a great product. No need to reboot or to have a separate computer. A virtual one (or two, or...) is right there on your desktop. HTH -- Vincent Goulet, Professeur agrégé École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http

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 ;-), Vincent I would like to contribute a patch against Vincent functions head

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 ;-), Vincent I would like to contribute a patch against Vincent functions head

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

2006-07-17 Thread Vincent Goulet
useful. Best regards, - [1] See previous messages to r-devel by myself https://stat.ethz.ch/pipermail/r-devel/2005-April/032881.html and Bill Venables https://stat.ethz.ch/pipermail/r-devel/2005-May/033081.html -- Vincent Goulet, Associate Professor École d'actuariat Université Laval

[Rd] New probability law functions

2006-05-16 Thread Vincent Goulet
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://vgoulet.act.ulaval.ca

[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-devel@r