useR! 2010 conference videos
August 12, 2010 · Posted by R User Groups ·
Videos of the invited talks of the useR! 2010 conference as follows (courtesy by Kate Mullen and NIST). This site also aims at collecting the materials (video, slides, R code) of local R users group (RUG) meetings and various other R talks and bringing them to the larger R community. See more videos here, and if you’d like to contribute with materials, see more information here.
Welcome by NIST and
Frank E. Harrell Jr: Information AllergyMark S. Handcock: Statistical Modeling of Networks in R and
Panel Discussion: Challenges Bringing R into Commercial EnvironmentsLuke Tierney: Some possible directions for the R engine and
Diethelm Würtz: ...highlight 0.2-2
July 31, 2010 · Posted by Romain Francois, Professional R Enthusiast ·
I've released highlight 0.2-2 to CRAN. This release adds the possibility to control the font size of the latex code generated by sweave (when using the driver that is provided by highlight)For example, this C++ code (using Rcpp) will be highlighted in tiny size.<<lang=cpp,size=tiny>>=
double square( double x){
return x*x ;
}SEXP foo( SEXP xx ){
NumericVector x(xx) ;
return sapply( x, square ) ;
}
@This is something we had to do manually when preparing the slides for useR! 2010inline 0.3.6
July 30, 2010 · Posted by Romain Francois, Professional R Enthusiast ·
I released inline 0.3.6 yesterday. This is a minor release which gives better R level errors when there is a compiler error. For example :> tryCatch( cxxfunction( , 'int x = 3 ; x+ ; return R_NilValue ; ' ), error = function(e) print(e$message))
file10d63af1.cpp: In function ‘SEXPREC* file10d63af1()’:
file10d63af1.cpp:18: error: expected primary-expression before ‘;’ token
make: *** [file10d63af1.o] Error 1ERROR(s) during compilation: source code errors or compiler configuration errors!Program source:
1: // includes from the plugin
2: #include <R.h>
3: #include <Rdefines.h>
4: #include <R_ext/Error.h>
5:
6:
7: ...Building an R package (under Windows) without C, C++ or FORTRAN code
July 23, 2010 · Posted by Dang, another error ·
Why build and R package? It basically boils down to be able to brag at your local pub that a new version of YOUR package is on CRAN as of 7 p.m. CET. But seriously, if you’ve produced some function that other people might benefit (or have ordered them) from using them, like your boss, co-workers or students, consider building a package. The chances of broken dependencies and ease of installing everything outweighs the effort of learning how to build one. If you feel your functions (that may be new in some respect) could benefit an even wider audience, consider ...Rcpp 0.8.4
July 10, 2010 · Posted by Romain Francois, Professional R Enthusiast ·
pre{
font-size: small ;
border : 1px solid gray ;
}Dirk uploaded Rcpp 0.8.4 to CRAN yesterday.
This release quickly follows the release of Rcpp 0.8.3, because there was some building problems (particularly on the ppc arch on OSX).Rcpp sugarAlready available in Rcpp 0.8.3, the new sugar feature was extended in 0.8.4 to cover more functions, and we have now started to adapt sugar for matrices with functions such as outer, row, diag, etc ...Here is an example of using the sugar version of outerNumericVector xx(x) ;
NumericVector yy(y);
NumericMatrix m = outer( xx, yy, std::plus<double>() ) ;
return m ;This mimics ...bibtex 0.2-1
July 10, 2010 · Posted by Romain Francois, Professional R Enthusiast ·
I've uploaded version 0.2-1 of my bibtex package to CRAN.This release anticipates changes in R 2.12.0, and structures bibtex entries in object of the new class bibentry. The release also fixes various parser and lexer bugsRcpp 0.8.1
June 8, 2010 · Posted by Romain Francois, Professional R Enthusiast ·
We released Rcpp 0.8.0 almost a month ago. It finalized our efforts in designing a better, faster and more natural API than any version of Rcpp ever before. The journey from Rcpp 0.7.0 toinline 0.3.5
June 2, 2010 · Posted by Romain Francois, Professional R Enthusiast ·
The inline package is an amazing, yet simple, package for R. It allows to dynamically (within the R session) define R functions and S4 methods with inlined C/C++/Fortran code.Together with RUnit, inline powers the entire unit test suite of Rcpp.As agreed with Oleg Sklyar, who maintains inline, we made a few additions to inline to accomodate the needs of the Rcpp family of packages.cxxfunctionThe main addition is cxxfunction which is very similar to cfunction, except that it only focuses on C++ code using the .Call calling convention. cxxfunction uses a plugin system allowing other ...highlight 0.2-0
May 31, 2010 · Posted by Romain Francois, Professional R Enthusiast ·
I've released version 0.2-0 of highlight to CRANThis version brings some more additions to the sweave driver that uses highlight to produce nice looking vignettes with color coded R chunksThe driver gains new arguments boxes, bg and border
to control the appearance of the code chunks. When boxes is set to TRUE, the R code chunks are surrounded in boxes, and the arguments bg and border control the background color and the color of the boxAlso, when the other highlight is available, the driver will also color code example code in any language that highlight supports. To ...highlight 0.1-9
May 29, 2010 · Posted by Romain Francois, Professional R Enthusiast ·
The version 0.1-8 of highlight
introduced a small bug in the latex renderer.This is now fixed in version 0.1-9 and the latex renderer also gains an argument "minipage" which wraps the latex code in a minipage environment. I've used this to make this vignette for an upcoming feature of Rcpp