Publications by Gregor Gorjanc
Sweave.sh plays with cacheSweave
I have added support for caching to Sweave.sh script as implemented in cacheSweave R package written by Roger D. Peng. Now, one can set caching on for chunks that are time consuming (data import, some calculations, …) and the Sweaving process will reuse the cached objects each time they are needed. Read the details about the cacheSweave packag...
1172 sym R (1532 sym/2 pcs) 2 img
Memory limit management in R
R keeps all the data in RAM. I think I read somewhere that S+ does not hold all the data in RAM, which makes S+ slower than R. On the other hand, when we have a lot of data, R chockes. I know that SAS at some “periods” keeps data (tables) on disk in special files, but I do not know the details of interfacing these files. My overall impression...
2524 sym R (354 sym/3 pcs) 2 img
Rtools and Cygwin on MS Windows
Duncan Murdoch provides Rtools which ease the installation of tools that are needed to do R package development/testing on MS Windows. The Rtools is a collection of various tools. However, if you also use Cygwin on MS Windows, you can expect problems since Rtools also includes some tools from Cygwin. The problem is the version collision of fundam...
1568 sym R (164 sym/1 pcs) 2 img
gdata gains trimSum function
I was doing some drawing in R and I needed to trim some values to keep the data (x axis) in reasonable limits, but I did not want to loose that info. Therefore, I summed the values that would be trimmed. Since I was repeating this, I wrote a function and commited it to the gdata SVN package repository. It will probably take some time before new v...
857 sym R (199 sym/1 pcs) 2 img
High-Performance Computing with R
Dirk has posted a new version of slides for a tutorial “Introduction to High-Performance Computing with R“. Related To leave a comment for the author, please follow the link and comment on their blog: Gregor Gorjanc. R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if...
504 sym 2 img
New stuff in the gdata R package
I have moved quite some functions from my “testing/playground” R package ggmisc to the gdata package. Bellow is the relevant text from the NEWS file. Here are the links:SVNSource packageWindows ZIP packageNEWS:New function .runRUnitTestsGdata that enables run of all RUnit tests during the R CMD check as well as directly from within R.Enhanced...
1413 sym 2 img
New York Times on R
This article by New York Times surely shows that R is one of mainstream statistical packages.Update: See also a followup article. Related To leave a comment for the author, please follow the link and comment on their blog: Gregor Gorjanc. R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and m...
539 sym 2 img
Creating R Packages: A Tutorial
See here. Related To leave a comment for the author, please follow the link and comment on their blog: Gregor Gorjanc. R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job. Want to share your content on R-b...
418 sym 2 img
Use of include and input in Sweave documents
When you write a large structured document using LaTeX, it is wise to use \input{} and/or \include{} commands (see here for a nice description). However, you can not “fully” use these two commands with Sweave documents. You can use them, but when you weave the master file, the \input{} and \include{} files are not weaved! The author of Sweav...
1327 sym R (223 sym/2 pcs) 2 img
Versions of Sweave.sh
There are now many places where one can find “my” Sweave.sh shell script for running Sweave and post processing with LaTeX directly from the command line. I published first version of Sweave.sh here (web page of the department). Later I moved my pages to Google Pages and uploaded the script to CRAN. There has been at least one update (adding ...
1000 sym 2 img