R package

What does this package look like?

May 1, 2012 | 0 Comments

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 | 0 Comments

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...]

Creating an R package, using developer/productivity tools

October 27, 2011 | 0 Comments

Couple of R programming (mainly infrastructure/workflow) related topics discussed at the Los Angeles R users group in a tutorial/demo-like form (targeted mainly to beginners) by Szilard Pafka and Jeroen Ooms: how easy it is to create a simple package for … Continue reading →
[Read more...]

The fun Package: Use R for Fun!

August 16, 2011 | 0 Comments

A couple of days ago we released a package named fun to CRAN, but I did not dare to send an announcement to [email protected] as usual. This package is a collection of some classical computer games (e.g. the Mine sweeper and Five in a row) as well ... [Read more...]

Arrogance sampling

January 7, 2011 | 0 Comments

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 | 0 Comments

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 | 0 Comments

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 | 0 Comments

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...]

Using the {plyr} (1.2) package parallel processing backend with windows

September 11, 2010 | 0 Comments

Hadley Wickham has just announced the release of a new R package “reshape2” which is (as Hadley wrote) “a reboot of the reshape package”. Alongside, Hadley announced the release of plyr 1.2.1 (now faster and with support to parallel computation!). Both releases are exciting due to a significant speed increase they ... [Read more...]

Difficulty with mcsm?

May 4, 2010 | 0 Comments

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 | 0 Comments

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 | 0 Comments

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...]

Compiling and Cross-compiling R packages for Windows (win32)

September 3, 2009 | 0 Comments

so recently i’m learning how to compile and cross-compile R packages from source for windows machines, which means i have to create windows binaries. the first option is to build on a windows system, and the 2nd is to cross-build on an intel-based linux or mac system. i will ... [Read more...]

update on the ant package

September 3, 2009 | 0 Comments

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 | 0 Comments

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 | 0 Comments

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)