Articles by romain francois

C++ exceptions at the R level

December 29, 2009 | romain francois

pre{ solid black 1px;} I've recently offered an extra set of hands to Dirk to work on the Rcpp package, this serves a good excuse to learn more about C++ Exception management was quite high on my list. C++ has nice exception handling (well not ... [Read more...]

CPP package: exposing C++ objects

December 22, 2009 | romain francois

I've just started working on the new package CPP, as usual the project is maintained in r-forge. The package aims at exposing C++ classes at the R level, starting from classes from the c++ standard template library. key to the package is the CPP f... [Read more...]

new R package : bibtex

December 11, 2009 | romain francois

I've pushed to CRAN the package bibtex package The package defines the read.bib function that reads a file in the bibtex format. The code is based on bibparse The read.bib function generates an object of class citationList, just like utils::citation [Read more...]

new R package : highlight

November 22, 2009 | romain francois

I finally pushed highlight to CRAN, which should be available in a few days. The package uses the information gathered by the parser package to perform syntax highlighting of R code The main function of the package is highlight, which takes a numb... [Read more...]

LondonR slides

November 9, 2009 | romain francois

I was in london last week to present RemoteREngine at the LondonR user group sponsored by mango solutions. Apart from minor technical details and upsetting someone because I did not mention that he once presented a much simpler solution to a quit... [Read more...]

celebrating R commit #50000

October 9, 2009 | romain francois

pre{ font-size: x-small !important ; border: 1px solid black ; } Today, Brian Ripley commited the revision 50 000 into R svn repository. ------------------------------------------------------------------------ r50000 | ripley | 2009-10-09... [Read more...]

New R package: sos

September 12, 2009 | romain francois

Searching help pages of contributed packages just got easier with the release of the new sos package. This is a replacement for and substantial enhancement of the existing "RSiteSearch" package. To learn more about it, try vignette("sos") We hope... [Read more...]

search the graph gallery from R

September 8, 2009 | romain francois

pre{ font-size:xx-small !important ; border: 1px black solid; } This is a short code snippet that is motivated by this thread on r-help yesterday. The gallery contains a search engine textbox (top-right) that can be used to search for content i... [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...]

Tip: get java home from R with rJava

September 2, 2009 | romain francois

Assuming rJava is installed and works, it is possible to take advantage of its magic to get the path where java is installed: $ Rscript --default-packages="methods,rJava" -e ".jinit(); .jcall( 'java/lang/System', 'S', 'getProperty', 'java.home' )... [Read more...]

Combine R CMD build and junit

August 28, 2009 | romain francois

This is a post in the series Mixing R CMD build and ant. Previous posts have shown how to compile the java code that lives in the src directory of a package and how to document this code using javadoc. This post tackles the problem of unit testin... [Read more...]

Completion for java objects

August 9, 2009 | romain francois

As indicated in this thread, completion after the dollar operator can be customized by defining a custom names method. Here I am showing how to take advantage of this to display fields and methods of java references (jobjRef objects from the rJava ... [Read more...]

Code Snippet : List of CRAN packages

August 5, 2009 | romain francois

This is a really simple code snippet that shows how to get the list of CRAN packages and their titles from the html page html page (toulouse mirror in this example). ... Note that R has the available.packages function, but it does not give th... [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...]

Transfer files through Rserve

August 4, 2009 | romain francois

This post is motivated by this question on R-help. This is a simple java class that sends files through Rserve using the classes RFileInputStream and RFileOutputStream Then we create a simple file on the client machine: $ cat __ testfile.tx... [Read more...]

R GUI page on the R wiki

August 3, 2009 | romain francois

I've started the process of moving the content of this page to the R wiki. The motivation is that the content will become dynamic and updated much more often, people can add their own project, we can have use cases of each gui, tutorials, feature c... [Read more...]
1 3 4 5 6

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)