R package

What does this package look like?

May 1, 2012 | tuxettechix

In this post, I give a very simple trick to understand the way a package is organized, which functions are included in and how these functions depend from each others. The idea has been brought by one of my student, Soraya, who is currently working in a very hostile environment, ... [Read more...]

Gini index and Lorenz curve with R

February 23, 2012 | tuxettechix

You can do anything pretty easily with R, for instance, calculate concentration indexes such as the Gini index or display the Lorenz curve (dedicated to my students). Although I did not explain it during my lectures, calculating a Gini index or displaying the Lorenz curve can be done very easily ... [Read more...]

Arrogance sampling

January 7, 2011 | xi'an

A new posting on arXiv by Benedict Escoto on a simulation method for approximating normalising constants (i.e. evidence) with an eye-catching name! Here is the abstract This paper describes a method for estimating the marginal likelihood or Bayes factors of Bayesian models using non-parametric importance sampling (“arrogance sampling”). This ... [Read more...]

formatR update (0.1-6)

January 6, 2011 | Yihui Xie

A new version of the formatR package is available on CRAN now (binary packages are still on the way). There are three major updates: the inline comments will also be preserved in most cases (in earlier versions, only single lines of comments are preserved) tidy.source() gained a new argument ... [Read more...]

formatR update (0.1-5)

December 3, 2010 | Yihui Xie

he formatR package has been silent for quite a few months now. Recently I’ve been moving my old packages from R-Forge to GitHub, and I finally killed several things on my TODO list. In the past, I made an awkward decision to let formatR depend on the animation package, ... [Read more...]

Rd2roxygen: Convert Rd to roxygen documentation

December 1, 2010 | Yihui Xie

must admit that I have been tired of maintaining my R packages for a long time, and the main reason is I feel really uncomfortable with writing R documentations (Rd). The required structure of an R package mainly includes two directories R and man — the former for the R source ... [Read more...]

Difficulty with mcsm?

May 4, 2010 | xi'an

An email from Keith I got this morning: Professor Robert, I have loaded the mcsm package to windows. The following messages appear in the R console: trying URL 'http://cran.stat.ucla.edu/bin/windows/contrib/2.9/mcsm_1.0.zip' Content type 'application/zip' length 193590 bytes (189 Kb) opened URL downloaded 189 Kb package ... [Read more...]

How to use mcsm

February 27, 2010 | xi'an

Within the past two days, I received this email Dear Prof.Robert I have just bought your recent book on Introducing Monte Carlo Methods with R.  Although I have checked your web page for the R programs (bits of the code in the book, codes for generating the figures and ...
[Read more...]

new R package : ant

September 8, 2009 | romain francois

The ant package has been released to CRAN yesterday. As discussed in previous posts in this blog (here and here), the ant R package provides an R-aware version of the ant build tool from the apache project. The package contains an R script that c... [Read more...]

update on the ant package

September 3, 2009 | romain francois

I have updated the ant package I described yesterday in this blog to add several things Now the R code related to and tasks can either be given as the code attribute or as the text inside the task The R code has acces... [Read more...]

R capable version of ant

September 2, 2009 | romain francois

ant is an amazing build tool. I have been using ant for some time to build the java code that lives inside the src directories of my R packages, see this post for example. The drawbacks of this approach are : that it assumes ant is available on... [Read more...]

R parser package on CRAN

August 4, 2009 | romain francois

pre{ border: 1px solid black; font-family: "Courier New" !important; font-size: xx-small !important; } The parser package has been released to CRAN, the package mainly defines a function parser that is similar to the usual R function parse, w... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)