Publications by romain francois
RGG# 154: demo of atomic functions
Przemyslaw Biecek has submitted this graph (and also others I will add later) to the graphics gallery A list of examples for the atomic functions polygon(), segments(), symbols(), arrows(), curve(), abline(), points(), lines(). this figure is taken from the book Przewodnik po pakiecie R Related To leave a comment for the author, please follow...
714 sym 2 img
useR! slides
I’ve pushed my slides from the presentation I’ve given at useR! a few minutes ago here Related To leave a comment for the author, please follow the link and comment on their blog: Romain Francois, Professional R Enthusiast. R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click ...
511 sym
RGG#155, 156 and 157
I pushed 3 more graphics from Biecek Przemyslaw to the graphics gallery A list of popular names for colors from packages RColorBrewer, colorRamps, grDevices A set of examples of few graphical low-level parameters lend, ljoin, xpd, adj, legend(), axis, expressions, mtext, srt etc Examples for different settings of: the type and width for line...
821 sym 6 img
R GUI page on the R wiki
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 comparison, … When we are ready, we will add an entry for the jedit plugin Related To leave a c...
746 sym
Transfer files through Rserve
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.txt bla bla ^C And we are good to go: $ javac -cp .:REngine.jar:Rserve.jar RserveWire.java $ java -cp .:REn...
828 sym R (1144 sym/4 pcs)
R parser package on CRAN
The parser package has been released to CRAN, the package mainly defines a function parser that is similar to the usual R function parse, with the few following differences: The information about the location of each token is structured differently, in a data frame location is gathered for all symbols from the source code, including terminal sy...
1740 sym R (98 sym/1 pcs)
Code Snippet : List of CRAN packages
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 the titles of the packages Related To leave a comment for the author, please follow the link and comment...
691 sym
Completion for java objects
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 package) Here it is in action (I hit tab twice after the dollar sign) Related To leave a comment ...
744 sym
Combine R CMD build and junit
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 testing of the java functionality that is shipped as part of an R package. Java has several unit test platf...
1402 sym R (510 sym/1 pcs)
Tip: get java home from R with rJava
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' ) " [1] "/opt/jdk/jre" This is useful when you develop scripts that need to call a java program withou...
719 sym R (142 sym/1 pcs)