[R] Why won't R CMD CHECK run configure?

2011-07-28 Thread Alexander James Rickett
I'm trying to get ready to submit a package to CRAN, but in order for the package to install on OS X, I need to temporarily set an environment variable. I put this in the 'configure' script, and 'R CMD INSTALL MyPackage' works fine, but when I do 'R CMD CHECK MyPackage', and it tests installat

[R] tm: Read a single text file into a corpus as single document?

2011-07-19 Thread Alexander James Rickett
Hello everyone, I'm doing some JGR (a gui frontend for R) development, specifically adding functionality from tm. In order to enable users to select some text files from a file dialog, and turn them into a corpus, I need to be able to generate a corpus using a *SINGLE* text file as a single do