[R] [R-pkgs] Major update of package actuar

2016-11-14 Thread Vincent Goulet
d’. • Vignette ‘"lossdist"’ is renamed to ‘"modeling"’ and it is revised to cover the new functionalities of ‘grouped.data’ and ‘ogive’. BUG FIX • An old and nasty out-of-bounds bug could crash R when using the "recursive" method of 'aggregateDist' wit

[R] [R-pkgs] Announcing new package expint

2017-01-12 Thread Vincent Goulet
I am pleased to announce the immediate availability on CRAN of the new package expint: https://cran.r-project.org/package=expint. The exponential integral E_1(x) = int_x^\Inf exp(-t)/t dt, x real and the incomplete gamma function G(a, x) = \int_x^\Inf t^{a-1} exp(-t) dt, x > 0, a real are

Re: [R] Insurance review statistical methods

2008-07-15 Thread Vincent Goulet
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoul

Re: [R] Help Updating and Installing R Packages

2008-07-15 Thread Vincent Goulet
" Which library path should I choose? Whatever you wish (my personal pick below). This is also discussed in the README: Individual users can install R packages into their home directory. The simplest procedure is to create a file ~/.Renviron containing, e.g., R_LIBS=&

Re: [R] Graphics not working for R in ubuntu

2008-07-19 Thread Vincent Goulet
ect.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- Vincent Goulet, Associate Professor École d'actuariat Université Laval,

Re: [R] Histogram

2008-07-23 Thread Vincent Goulet
what you mean by "treat", but package actuar has a function grouped.data() to create such objects. Then, there are methods to compute the mean or plot the histogram. See the "lossdist" package vignette for details. HTH Vincent -- Vincent Goulet, Associate Professor

Re: [R] best quad core configuration?

2008-07-30 Thread Vincent Goulet
everything myself? As the README file linked above mentions, we provide up-to-date R binaries for i386 and amd64. For your other points, I will let more competent people answer. --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PR

Re: [R] [ESS] "Emacs + ESS + R" installer

2009-10-07 Thread Vincent Goulet
should get to the same position. Vincent is providing a great resource for win (and mac) users, and if there is anyway of building on what he has done, it wuold be great. Stephen Ah, but I also have AUCTeX! ;-) Will definitely have a look at Frank et al.'s offer. Vincent Goulet, Full

[R] [R-pkgs] New version of actuar

2009-05-19 Thread Vincent Goulet
. -- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec vincent.gou...@act.ulaval.ca http://vgoulet.act.ulaval.ca ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-pac

[R] [R-pkgs] 3.0-0 milestone for actuar

2020-06-08 Thread Vincent Goulet
complete NEWS is available on CRAN as usual: https://cran.r-project.org/web/packages/actuar/news.html Cheers, Vincent Goulet Professor École d'actuariat, Université Laval ___ R-packages mailing list r-packa...@r-project.org https://stat.et

[R] New version of document on R programming - with videos [French]

2014-01-22 Thread Vincent Goulet
tains sujets plus délicats. Ces vidéos sont disponibles dans la chaîne YouTube http://www.youtube.com/user/VincentGouletIntroR Le document est publié sous licence Creative Commons. Vincent Goulet, Ph.D. Professor of Actuarial Science Directeur général de la formation continue Université

Re: [R] extracting columns from a list

2008-05-23 Thread Vincent Goulet
Le ven. 23 mai à 09:37, mohamed nur anisah a écrit : Dear all, i have 2 lists of data with each of the list contain 14 columns. No, you have one list with two elements; each is a 14-column data frame. How am i going to extract column 12 and 13 from each of the list ?? Let's call your lis

Re: [R] Maximum likelihood estimation in R with censored Data

2008-06-13 Thread Vincent Goulet
Le ven. 13 juin à 13:55, Ben Bolker a écrit : Bluder Olivia k-ai.at> writes: Hello, I'm trying to calculate the Maximum likelihood estimators for a dataset which contains censored data. I started by using the function "nlm", but isn't there a separate method for doing this for e.g. t

Re: [R] unable to install for r-base dependency?

2008-06-19 Thread Vincent Goulet
R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- Vincent Goulet, Associate Professor Éco

Re: [R] version problems of rkward in ubuntu hardy repository

2008-07-09 Thread Vincent Goulet
Le mer. 09 juil. à 06:20, Rainer M Krug a écrit : Hi I tried to install rkward under ubuntu hardy heron, but it tried to use the one from the cran repository which was newer, but it did not install. To be able to install rkward, I had to disable the cran repository, install rkward, lock it's ve

Re: [R] Another failed attempt to install an R package in Ubuntu

2008-07-12 Thread Vincent Goulet
MIklos, You may have missed this part of the Ubuntu README on CRAN: Users who need to compile packages should also install the r-base-dev package: sudo apt-get install r-base-dev This will fetch all the standard tools you need to compile packages. If you have more Ubuntu specific q

Re: [R] Installation of R, Sweave, ESS and [X]Emacs on Windows?

2008-03-20 Thread Vincent Goulet
mention is R itself (upgrade while you're at it, you're two versions behind) and a TeX distribution (consider TeX Live or MiKTeX). There is no need for Cygwin with this setup. Hope this helps --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Q

Re: [R] Newbie help with Sweave

2008-03-25 Thread Vincent Goulet
x27;re not familiar with the concepts of "local texmf tree" and "updating the TeX database".) HTH > > >> >> Best, >> >> Jim >> >> >> >> Zembower, Kevin wrote: >>> Kevin, thanks for writing. Yes, sorry, I forgot to

Re: [R] Sweave and printing error

2008-03-25 Thread Vincent Goulet
e lines should do what you want: <>= TRUE <- 3 @ <>= cat(try(TRUE <- 3)) @ If I recall correctly, this was discussed here before. HTH --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval

[R] Emacs 22.2-modified-1 is out

2008-03-28 Thread Vincent Goulet
ectly. --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] [OT] Typesetting / highlighting R code in Latex

2008-04-06 Thread Vincent Goulet
Le dim. 6 avr. à 14:44, Dirk Eddelbuettel a écrit : > > On 6 April 2008 at 10:40, Dirk Eddelbuettel wrote: > | Using Latex and the beamer class, I would like to highlight code > snippets. > | Does anybody know a suitable 'preprocessor' or 'filter' for R (and/ > or C/C++) > | code ? > | > | I hav

Re: [R] If statements for vectors

2008-04-09 Thread Vincent Goulet
gt; [49] 0.07206342 0.20325505 > > > -- > Paul E. Johnson > Professor, Political Science > 1541 Lilac Lane, Room 504 > University of Kansas > > __ > R-help@r-project.org mailing list > https://s

Re: [R] Equivalent to a BY command in SAS

2008-04-13 Thread Vincent Goulet
tly you want to do (have a look at the Posting Guide), but... perhaps by() will do what you what. See ?by . Bye! --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __

[R] R 2.7.0 in Ubuntu

2008-04-22 Thread Vincent Goulet
the R-SIG-Debian forum, where messages have the greatest chance to be noticed. --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __ R-help@r-project.org ma

Re: [R] g(x,y) = f(x,y) - e(x)- e(y)?

2008-04-23 Thread Vincent Goulet
Le mer. 23 avr. à 06:59, William Simpson a écrit : > Thanks Phipp very much for your help. I had meant, given that I'd > computed the matrix f[x,y] and the vector e[x], how to take the > difference. What is confusing is how to subtract a vector from a > matrix. I don't want the recycling rule. We

[R] Announcement: support of littler, rkward and rpy on Debian/Ubuntu

2008-05-06 Thread Vincent Goulet
wide an audience as possible, but we remind that the best place to report problems with these packages or to ask R questions specific to Debian and Ubuntu is the R-SIG-Debian mailing list. See https://stat.ethz.ch/mailman/listinfo/r-sig-debian for more information. --- Vince

Re: [R] How do I write a sum of matrixes??

2008-05-06 Thread Vincent Goulet
ork is done in C, so it is pretty fast. [1] On R-Forge: http://r-forge.r-project.org/projects/expm/ --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __

Re: [R] help with updating to R2.7

2008-05-08 Thread Vincent Goulet
nd www.tcd.ie/Economics/staff/frainj/home.html mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.htm

Re: [R] speeding up a special product of three arrays

2008-05-08 Thread Vincent Goulet
, , 1 [,1] [,2] [,3] [1,] 152 181 97 [2,] 211 248 131 , , 2 [,1] [,2] [,3] [1,] 193 194 83 [2,] 269 268 113 , , 3 [,1] [,2] [,3] [1,] 254 322 184 [2,] 352 440 248 , , 4 [,1] [,2] [,3] [1,] 190 350 260 [2,] 260 472 348 HTH --- Vincent Goulet,

Re: [R] speeding up a special product of three arrays

2008-05-09 Thread Vincent Goulet
Le ven. 09 mai à 03:44, Dimitris Rizopoulos a écrit : try this: A <- matrix(rnorm(10*4), 10, 4) B <- matrix(rnorm(3*4), 3, 4) C <- matrix(rnorm(5*4), 5, 4) nrA <- nrow(A); nrB <- nrow(B); nrC <- nrow(C) ind <- as.matrix(expand.grid(1:nrA, 1:nrB, 1:nrC)) D <- rowSums(A[ind[, 1], ] * B[ind[, 2],

Re: [R] [OT] xemacs on windows vista

2008-05-12 Thread Vincent Goulet
Le lun. 12 mai à 15:15, Wensui Liu a écrit : Hi, dear all, I just switch to vista (ultimate) and have heard there is some problem for the installation of xemacs on vista. Is there any insight or experience that you could share? Yes: go with GNU Emacs. There doesn't seem to be any compelling re

Re: [R] How to paste graph from R in Latex?

2008-05-16 Thread Vincent Goulet
http://www.statistik.lmu.de/~leisch/Sweave/ --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Log or diary file

2008-05-19 Thread Vincent Goulet
Agustin, Given this message and your previous one about starting R by clicking on the .RData file, I would suggest/recommend you have a look at the Emacs + ESS combination; see http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-and-Emacs In my opinion, this is the best multi-platform (

Re: [R] Odp: Problem in converting natural numbers to bits and others

2008-05-21 Thread Vincent Goulet
Le mer. 21 mai à 04:38, Petr PIKAL a écrit : Hallo [EMAIL PROTECTED] napsal dne 21.05.2008 09:42:40: Hi, I just started using R for about one week and I have few problems. i)I have a problem in finding right function to convert a table of natural numbers to bitwise. For a simple example;

[R] [R-pkgs] New version of actuar

2007-11-16 Thread Vincent Goulet
f aggregateDist() now correctly returns 1 when evaluated past its largest knot. DEPRECATED o Direct usage of bstraub() is now deprecated in favor of cm(). The function will remain in the package since it is used internally by cm(), but it will not be exported in future releases

Re: [R] many zeroes in rgamma ... what's going on?

2007-11-18 Thread Vincent Goulet
> >> Min.1st Qu. Median Mean3rd Qu. Max. >> 2.266e+01 9.311e+66 3.250e+153InfInfInf >> >> -- > O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B > c/ /'_ --- Dept. of Biostatistics PO

Re: [R] problem updating packages on Ubuntu 7.10

2007-11-23 Thread Vincent Goulet
es(update[instlib == l, "Package"], l, contriburl = > contriburl, : > installation of package 'Hmisc' had non-zero exit status >> Hi Daniel, The package built and installed flawlessly here in the Gutsy chroot where the Ubuntu packages are built. Did you i

Re: [R] Fwd: Empty list to use in a for cycle

2007-11-27 Thread Vincent Goulet
ccolò > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provi

Re: [R] editor under MAC system

2007-12-11 Thread Vincent Goulet
.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducibl

[R] New: R packages for Ubuntu amd64

2008-01-21 Thread Vincent Goulet
stepped up as maintainer for the amd64 Ubuntu packages. --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __ R-help@r-project.org mailing list https://stat.et

Re: [R] MLE for censored distributions in R

2008-01-23 Thread Vincent Goulet
You can then use the function is usual fitting procedures such as fitdistr() for ML. See the "lossdist" vignette in the package for details. HTH --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec

[R] [R-pkgs] New version of actuar

2008-09-16 Thread Vincent Goulet
nd contributions to the project are more than welcome. (*) http://www.jstatsoft.org/v25/i07 (**) http://cran.r-project.org/doc/Rnews/Rnews_2008-1.pdf --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca

Re: [R] RCurl compilation error on ubuntu hardy

2008-09-17 Thread Vincent Goulet
e64.o] Error 1 chmod: cannot access `/usr/local/lib/R/site-library/RCurl/libs/*': No such file or directory This should have been the clue. --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca E

Re: [R] unix-type commandline keystrokes in the windows RGUI

2008-09-17 Thread Vincent Goulet
Look at GNU Emacs with ESS, you'll get what you want out of the box --- and much more! See http://vgoulet.act.ulaval.ca/en/emacs [shameless plug] for a distribution of Emacs bundled with ESS. HTH Vincent Le mer. 17 sept. à 09:26, mfrumin a écrit : Hi all, I am generally quite f

Re: [R] Hmisc and Ubuntu (aptitude install)

2008-09-22 Thread Vincent Goulet
Matthew, As per the CRAN Ubuntu README http://cran.r-project.org/bin/linux/ubuntu/ install the Ubuntu r-base-dev package to compile R packages from sources. Vincent Le lun. 22 sept. à 00:08, Matthew Pettis a écrit : Hi, I'm trying to get the Hmisc module on my Ubuntu Hardy Heron

Re: [R] print.data.frame : row.name = FALSE not having intended effect

2008-09-23 Thread Vincent Goulet
posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- Vincent Goulet, Professeur agrégé École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca

Re: [R] Sweave documents have corrupted double quotes

2009-01-16 Thread Vincent Goulet
imal, self-contained, reproducible code. --- Vincent Goulet Acting Chair, Associate Professor École d'actuariat Université Laval, Québec vincent.gou...@act.ulaval.ca http://vgoulet.act.ulaval.ca __ R-help@r-project.org mailing list https

Re: [R] Histogram for grouped data in R

2009-01-23 Thread Vincent Goulet
ld be much appreciated! Define your data as a "grouped.data" object using the function of the same name in package actuar. Then you can simply use hist() as usual to get what you want. See: @Article{Rnews:Goulet+Pigeon:2008, author = {Vincent Goulet and Mathieu Pigeon}, title = {Sta

Re: [R] installing R on Ubuntu

2009-02-11 Thread Vincent Goulet
Thanks, Paul, for the instructions. However, as it has been pointed out by Dirk a couple of times, most of these instructions (those related to R installation and the location of package files at least) can already be found in the Ubuntu README: http://cran.us.r-project.org/bin/linu

[R] New R mailing list: R-SIG-insurance

2009-03-03 Thread Vincent Goulet
ipate, your contributions are most welcome! -- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec vincent.gou...@act.ulaval.ca http://vgoulet.act.ulaval.ca __ R-help@r-project.org mailing list https://stat.ethz.ch/mailma

Re: [R] How to color certain area under curve

2009-03-13 Thread Vincent Goulet
I did similar things with polygon(). Le mar. 10 mars à 13:30, g...@ucalgary.ca a écrit : For a given random variable rv, for instance, rv = rnorm(1000), I plot its density curve and calculate some quantiles: plot(density(rv)) P10P50P90 = = quantile(rv,probs = c(10,50,90)/100) I would like to co

Re: [R] best text editor for Linux?

2008-02-02 Thread Vincent Goulet
read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/m

Re: [R] Use of ellipses ... in argument list of optim(), integrate(), etc.

2008-03-13 Thread Vincent Goulet
the later arguments must be named in full. --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca Le jeu. 13 mars à 12:05, Ravi Varadhan a écrit : > Hi, > > > > I have noticed that t

Re: [R] R 2.8.0 for Ubuntu Intrepid Ibex i386

2008-11-05 Thread Vincent Goulet
. It's done now and they will reach CRAN mirrors within the next few hours. Sorry for the inconvenience. In the future, please ask Ubuntu related questions on R-SIG-Debian (cc'd) where such postings have a far greater chance of being noticed. Thx, RZ --- Vincent Goulet,

Re: [R] ubuntu system refuses to update packages

2008-11-10 Thread Vincent Goulet
Le lun. 10 nov. à 00:45, Leon Yee a écrit : Dirk Eddelbuettel wrote: On 9 November 2008 at 20:35, Alan Jackson wrote: | There must be a simple answer to this. | | I'm running ubuntu gutsy, currently have 2.7.2 loaded, but the update | tools refuse to update it, and don't tell me why. With apt

Re: [R] exponential of a matrix

2008-11-12 Thread Vincent Goulet
Le mar. 11 nov. à 17:20, Terry Therneau a écrit : Is the matrix exponential available in some package? You may also have a look at the expm package for a very straightforward operator: http://r-forge.r-project.org/projects/expm/ Disclaimer: although entirely usable, the package i

Re: [R] including Sweave tangled code in '.Rnw' document

2008-11-30 Thread Vincent Goulet
Kyle, In addition to "listings" already mentioned by Berwin, you may find useful the "answers" package. This is what I use to create assignments/ exams/exercise sets with solutions all in one file. HTH Vincent --- Vincent Goulet, Associate Professor École d&#x

[R] R 2.6.0 packages for Ubuntu Gutsy Gibbon

2007-10-21 Thread Vincent Goulet
where such announcements are usually posted. Please report any problems using the binary packages to me. Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca __ R-h

Re: [R] Call C code from R

2007-09-13 Thread Vincent Goulet
You did read the "Writing R Extensions" manual before posting, did you? Le 13 sept. à 01:05, Olga K. Kamneva a écrit : > Hello, All! > > I have function which is written in C, the function uses other > functions > also builded bu me. Now I need to use the function to build R > function. > My

[R] [R-pkgs] Announcing RweaveExtra

2021-06-02 Thread Vincent Goulet via R-packages
he 'RtangleExtra' driver, but I never had use for it.) See ?RweaveExtraLatex for a complete example. I have been using the package "privately" for the past year without any issue. I hope that the new drivers may prove useful to the community. Vincent Goulet École d'a