Re: [Rd] Calculation of e^{z^2/2} for a normal deviate z

2019-06-21 Thread Christophe DUTANG
You should take a look at https://CRAN.R-project.org/package=Rmpfr Regards, Christophe Christophe Dutang CEREMADE, Univ. Paris Dauphine, PSL Univ., France Web : http://dutangc.free.fr

[Rd] discrete-time survival model

2010-05-13 Thread Christophe Dutang
someone has already implemented this model? In the coming days, I plan to move my code on R-forge, so people can easily contribute. If you are interested please let me know. Thanks in advance Christophe -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr

[Rd] constrained optimization

2010-07-07 Thread Christophe Dutang
A. Saunders -- Christophe DUTANG Ph. D. student at ISFA, Lyon, France [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] constrained optimization

2010-07-07 Thread Christophe Dutang
k some time to find > out which license I could use to distribute it, but I'm planning to > make it publicly available this weekend. > > Jelmer > > On Wed, Jul 7, 2010 at 13:01, Christophe Dutang wrote: > > Dear list, > > > > The task view on optimi

Re: [Rd] constrained optimization

2010-07-07 Thread Christophe Dutang
; > Best, > Ravi. > > -Original Message- > From: Paul Gilbert [mailto:pgilb...@bank-banque-canada.ca] > Sent: Wednesday, July 07, 2010 9:18 AM > To: Ravi Varadhan; Christophe Dutang > Subject: RE: [Rd] constrained optimization > > Ravi > > I think you

Re: [Rd] constrained optimization

2010-07-08 Thread Christophe Dutang
-optimization-tp2280809p2281282.html > Sent from the R devel mailing list archive at Nabble.com. > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Christophe

[Rd] on the optim function

2010-08-06 Thread Christophe Dutang
number? Kind regards Christophe -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] on the optim function

2010-08-06 Thread Christophe Dutang
at the difference in function counts. There is 102 more function > evals, even though I did only 25 more iterations. This tells you that the > function is evaluated more than once during an iteration. > > The above is also true for BFGS, L-BFGS-B. You can check it for yourself. >

[Rd] on the usage of do.call

2010-11-02 Thread Christophe Dutang
e header file Internal.h is not found when included in my C file. As this header is not listed in R-exts.pdf section 6.17, I think I cannot use the do_docall function. Does anyone face this problem? or have an idea on how to solve it? Thanks in advance Christophe -- Christophe DUTANG

Re: [Rd] on the usage of do.call

2010-11-03 Thread Christophe Dutang
AM, Christophe Dutang wrote: > >> Hello all, >> >> I don't know if it is possible, but I would like to use do.call in C code >> in >> my package. The function do.call is defined as >> > do.call >> function (what, args, quote = FALSE, envir = parent.

[Rd] An update of the Distribustions man page

2011-04-19 Thread Christophe Dutang
other task views? But a link to the task views on those man pages could increase the popularity of the CRAN task views. Kind regards Christophe -- Christophe DUTANG Ph. D. student at ISFA, Lyon, France [[alternative HTML version deleted]] ___

[Rd] on the Distribution task view

2011-04-27 Thread Christophe Dutang
the task view, as well as to list the new packages that could be added to it. Kind regards Christophe -- Christophe DUTANG Ph. D. student at ISFA, Lyon, France [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https

Re: [Rd] Wish R Core had a standard format (or generic function) for "newdata" objects

2011-04-27 Thread Christophe Dutang
that > do the same function, when it is such a common thing. > > -- > Paul E. Johnson > Professor, Political Science > 1541 Lilac Lane, Room 504 > University of Kansas > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Christophe DUTANG Ph. D. student at ISFA, Lyon, France [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] First package submission to CRAN

2011-06-22 Thread Christophe Dutang
Hi, By default, R CMD build makes sources, you have to use --binary if you want to get binaries. But you have to submit sources to the CRAN ftp server (and not binary). So just run a R CMD build. C -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr Le 22

[Rd] registering Fortran routines in R packages

2017-05-09 Thread Christophe Dutang
ile src/LowDiscrepancy.f? Any help appreciated Regards, Christophe --- Christophe Dutang LMM, UdM, Le Mans, France web: http://dutangc.free.fr __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] registering Fortran routines in R packages

2017-05-09 Thread Christophe Dutang
arch of Fortran routines. Regards, Christophe ------- Christophe Dutang LMM, UdM, Le Mans, France web: http://dutangc.free.fr <http://dutangc.free.fr/> > Le 9 mai 2017 à 14:32, Berend Hasselman a écrit : > > >> On 9 May 2017, at 13:44, Christoph

Re: [Rd] registering Fortran routines in R packages

2017-05-10 Thread Christophe Dutang
t with C version also renamed halton_c and sobol_c. In the NAMESPACE, I put at the top useDynLib(randtoolbox, .registration = TRUE). Berend, I do look at your package… I still don’t figure out why it works for you! Regards, Christophe ----------- Christophe Dutang

[Rd] 64-bit integer type warning on windows

2018-03-13 Thread Christophe DUTANG
php/pkg/randtoolbox/?root=rmetrics -------- Christophe Dutang CEREMADE, Univ. Paris Dauphine, France Web : http://dutangc.free.fr __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [Wishlist] a 'PackageDevelopment' Task View

2014-07-27 Thread Christophe Dutang
interfaces 6 - GUI and other frond-ends 7 - Unit testing 8 - Benchmarking 9 - Automation Maybe 7 and 8 could be merged? Regards, Christophe — Christophe Dutang LMM, UdM, Le Mans, France web: http://dutangc.free.fr Le 26 juil. 2014 à 17:04, Luca Braglia a écrit : > 2014-07-25 14:29 GMT+02

Re: [Rd] Programming Tools CTV

2015-01-23 Thread Christophe Dutang
Dear Willem, Personally, I use the R-forge project for the distribution CTV : https://r-forge.r-project.org/projects/ctv/ It’s an alternative option to github. Regards, Christophe --- Christophe Dutang LMM, UdM, Le Mans, France web: http://dutangc.free.fr

[Rd] names in optim()

2015-08-21 Thread Christophe Dutang
ods base loaded via a namespace (and not attached): [1] tools_3.2.1 Kind regards, CD --- Christophe Dutang LMM, UdM, Le Mans, France web: http://dutangc.free.fr __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] names treatment in optim()

2015-09-17 Thread Christophe Dutang
8/C/fr_FR.UTF-8/fr_FR.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base Kind regards, Christophe --- Christophe Dutang LMM, UdM, Le Mans, France web: http://dutangc.fr

Re: [Rd] names treatment in optim()

2015-10-08 Thread Christophe Dutang
(hessian) res$hessian <- .External2(C_optimhess, res$par, fn1, gr1, con) if(!is.null(names(par))) names(res$par) <- names(par) if(!is.null(names(fn1(par names(res$value) <- names(fn1(par)) res } Regards, Christophe --- Christo

Re: [Rd] Beta binomial and Beta negative binomial

2012-03-16 Thread Christophe Dutang
Hi, Please look at the distribution task view (http://cran.r-project.org/web/views/Distributions.html) and the package gamlss.dist. By the way, distributions in R are implemented in /src/nmath directory and not /src/library/stats Regards Christophe -- Christophe Dutang Ph.D. student at

Re: [Rd] Patch to add Beta binomial distribution. Mentor needed!

2012-05-22 Thread Christophe Dutang
Dear Joan, Are you aware of this page http://cran.r-project.org/web/views/Distributions.html ? If you want to contribute to R, you should write a package and submit it to CRAN. See http://cran.r-project.org/doc/manuals/R-exts.html Regards Christophe -- Christophe Dutang Ph.D. student at

Re: [Rd] dger_ in BLAS definition

2009-03-10 Thread Christophe Dutang
e there suggestions of how to work around this? Thanks [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Christophe Dutang Ph. D. student at ISFA, Lyon, Fra

Re: [Rd] License question (RUnit)

2009-04-01 Thread Christophe Dutang
is GPLv2 or any later version. Thanks in advance for your help, Best regards, Pierre [1] http://cran.r-project.org/web/packages/RUnit/index.html __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Christophe

Re: [Rd] License status of CRAN packages

2009-04-24 Thread Christophe Dutang
set. Perhaps, for the 2% of packages that want a different license a second repository could be made available. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Christophe Dutang Ph. D. student at ISFA, Lyon, Fr

[Rd] Vignettes with missing or empty \VignetteIndexEntry:

2009-05-10 Thread Christophe Dutang
ackage 'probdistr' Formats: text html latex example codeforplot texthtmllatex example ** building package indices ... * DONE (probdistr) * creating vignettes ... OK * removing junk files * checking for LF line-endings in source and make files * checki

[Rd] Fwd: Vignettes with missing or empty \VignetteIndexEntry:

2009-05-10 Thread Christophe Dutang
of manual ... OK Début du message réexpédié : > De : Christophe Dutang > Date : 10 mai 2009 11:52:17 HAEC > À : r-devel@r-project.org > Objet : Vignettes with missing or empty \VignetteIndexEntry: > > Hi, > > I have a problem when checking the package 'probdistr'

[Rd] statutes of R Foundation

2009-06-02 Thread Christophe Dutang
translation? Thanks in advance Christophe PS : Tex sources are here http://dutangc.free.fr/pub/statut%20R.tex -- Christophe Dutang Ph. D. student at ISFA, Lyon, France website: http://dutangc.free.fr __ R-devel@r-project.org mailing list https

[Rd] cran task view

2009-06-11 Thread Christophe Dutang
? Thanks in advance for any advice Christophe -- Christophe Dutang Ph. D. student at ISFA, Lyon, France website: http://dutangc.free.fr __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] cran task view

2009-06-11 Thread Christophe Dutang
view are always welcome. :-) Dirk -- Three out of two people have difficulties with fractions. -- Christophe Dutang Ph. D. student at ISFA, Lyon, France website: http://dutangc.free.fr __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] user supplied random number generators

2009-07-30 Thread Christophe Dutang
correct, or extend it. Thanks. Ross Boylan __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr __ R-devel@r-project.org mailing

[Rd] rowSums, rowMean and rowCumSums?

2009-07-30 Thread Christophe Dutang
roved to have other arguments like na.rm or dims. Is there any hope to have this function in R? Christophe -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr [[alternative HTML version deleted]] ___

Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-10 Thread Christophe Dutang
tamford Road, Singapore 178899 | +65-6828-1932 ___ R-SIG-Mac mailing list r-sig-...@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr

Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-11 Thread Christophe Dutang
nek a écrit : Christophe, I forgot to answer the second part of your e-mail -- see below. On Oct 10, 2009, at 12:04 PM, Christophe Dutang wrote: Hi all, I need to transform classic 32bit Fortran code to 64bit Fortran code, see the discussion [R-SIG-Mac] rnorm.halton. But I'm clearly

[Rd] Fwd: AR(2) modelling

2009-11-15 Thread Christophe Dutang
My email does not seem to receive any attention on R-help, so I forward it on R-devel if someone has already faced the "problem". Thanks in advance Christophe Début du message réexpédié : > De : Christophe Dutang > Date : 13 novembre 2009 23:30:14 HNEC > À : r-h...@r-

Re: [Rd] Fwd: AR(2) modelling

2009-11-15 Thread Christophe Dutang
xford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr ___

Re: [Rd] Fwd: AR(2) modelling

2009-11-15 Thread Christophe Dutang
through the ar code so you can see the results line by line and understand what it is doing at a very detailed level. On Sun, Nov 15, 2009 at 10:06 AM, Christophe Dutang wrote: As you are sure of the accuracy of your code, why don't you tell me where is my mistake? Le 15 nov. 2009

Re: [Rd] p-generalized normal distribution

2009-11-26 Thread Christophe Dutang
He already asked... And I don t know any pkg implementing this distribution... iPhone.fan Le 26 nov. 2009 à 21:22, Kjetil Halvorsen m> a écrit : There is a CRAN Task View for probability Distributions. take a look there! Kjetil On Tue, Nov 24, 2009 at 1:53 PM, Steve Kalke > wrote: Hell

[Rd] Error message for infinite probability parameters in rbinom() and rmultinom()

2023-04-08 Thread Christophe Dutang
[1] compiler_4.2.3 tools_4.2.3 --------- Christophe DUTANG LJK, Ensimag, Grenoble INP, UGA, France Web: http://dutangc.free.fr __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Error message for infinite probability parameters in rbinom() and rmultinom()

2023-04-10 Thread Christophe Dutang
Thanks Duncan and Martin for your answer. > Le 9 avr. 2023 à 00:33, Duncan Murdoch a écrit : > > On 08/04/2023 5:53 p.m., Martin Maechler wrote: >>>>>>> Christophe Dutang >>>>>>> on Sat, 8 Apr 2023 14:21:53 +0200 writes: >> > D

Re: [Rd] [R] aligned memory allocation in C

2008-08-13 Thread Christophe Dutang
Hi, You are completely right, the problem was not about what R_alloc returned but my use of the fill_array32. Now it works fine, but the block generation is longer due to a conversion to double after using fill_array32. I must underline the fact that I do not yet use sse2 support. Thank

Re: [Rd] [R] aligned memory allocation in C

2008-08-14 Thread christophe dutang
Thanks for your remarks. According to http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/howto-compile.html, I need 16 bit aligned memory when using fill_array64. So I suppose I need 8 bit aligned memory. I will test what you advise me and will come back to R-devel list after. Thanks again Chr

Re: [Rd] [R] RNG Cycle and Duplication (PR#12540)

2008-08-17 Thread Christophe Dutang
Hi, If you want I can put RANARRAY in the 'randtoolbox' package? unless you want in R and not in a package? In randtoolbox (not the version on cran), I port SFMT and WELL generator respectively from Matsumoto and L'Ecuyer. It could be a good idea to add Knuth's code?

[Rd] standard errors for glm

2008-08-27 Thread christophe dutang
Hi, I'm currently using biglm package to compute GLM outputs on a very large dataset. But no function computes standard erros of predictions. I look in what is done in R, namely in the function predict.glm.R in stats package. In this function, we call predict.lm to compute the standard errors (lin

Re: [Rd] standard errors for glm

2008-08-28 Thread christophe dutang
x27;t remember it off the top of my head. Good > luck and hopefully someone else will reply with more exact info. > > > > > > > On Wed, Aug 27, 2008 at 1:25 PM, christophe dutang wrote: > > Hi, >> >> I'm currently using biglm package to compute GLM out

[Rd] non user-friendly error for chol2inv functions

2008-08-29 Thread christophe dutang
Hi, In function chol2inv with the option LINPACK set to false (default), it raises an error when the matrix is 1x1 matrix (i.e. just a real) saying 'a' must be a numeric matrix This error is raised by the underlying C function (modLa_chol2inv in function Lapack.c). Everything is normal, but I wo

Re: [Rd] non user-friendly error for chol2inv functions

2008-08-29 Thread christophe dutang
er <[EMAIL PROTECTED]> > >>>>> "cd" == christophe dutang <[EMAIL PROTECTED]> > >>>>> on Fri, 29 Aug 2008 12:44:18 +0200 writes: > >cd> Hi, >cd> In function chol2inv with the option LINPACK set to false (default), > it

[Rd] package config file for windows

2008-09-13 Thread Christophe Dutang
Hi, I'm maintaining randtoolbox package on CRAN and I wonder how to do a windows config file? I need to test SSE2 instructions support as well as inttypes.h library check. Currently I use the trick of 'foreign' package, i.e. I have config.win file with cp -p src/config.h.win src/config.h an

Re: [Rd] package config file for windows

2008-09-14 Thread Christophe Dutang
Thanks for your answer. You confirm what I fear, it is not easily possible to test for SSE2 support on windows. Can I assume there exists inttypes.h on windows platform? Thanks again Christophe Le 14 sept. 08 à 01:11, Duncan Murdoch a écrit : Christophe Dutang wrote: Hi, I&#

Re: [Rd] Can DESCRIPTION Maintainer: field contain general URL instead of only email address?

2008-10-03 Thread christophe dutang
There is a field URL in the DESCRIPTION file of the package. Could you use it for route support request? 2008/10/3 William Dunlap <[EMAIL PROTECTED]> > Our firm would like to route support requests through > a website instead of using email. However R will refuse > to install a package if DESCR

[Rd] percent concordant function

2008-10-29 Thread christophe dutang
Hi, I would like to compute ''SAS'' output statistic for logistic regression, namely the percent concordant, percent discordant, Sommer's D, Gamma, Tau-a...Actually, I'm very interested in percent concordant. Since the function 'cor' with method kendall compute the kendall's tau, I'm wondering ho

[Rd] R tutorial

2009-02-22 Thread Christophe Dutang
Dear all, I have just found a 'good' tutorial R for datamining. I think it should be on the contributed docs. http://cran.r-project.org/other-docs.html Here is the link http://www.liaad.up.pt/~ltorgo/DataMiningWithR/ What do you think? Kind regards Christophe -- Christophe Du

Re: [Rd] R tutorial

2009-02-22 Thread Christophe Dutang
On Sun, 22 Feb 2009 14:44:27 +0100, Christophe Dutang (CD) wrote: Dear all, I have just found a 'good' tutorial R for datamining. I think it should be on the contributed docs. http://cran.r-project.org/other-docs.html Here is the link http://www.liaad.up.pt/~ltorgo/DataMiningWith