Re: [Rd] Checking R manual build

2011-06-22 Thread Prof Brian Ripley
On Wed, 22 Jun 2011, Stephen Ellison wrote: Is there a quick way of checking the R manuals built from the .texi files in ../doc/manual without building the rest of R? What does 'check' mean? Going from a vanilla checkout, some included files are missing (eg version.texi) and created by the m

[Rd] suggestion for subset.data.frame()

2011-06-22 Thread Benjamin Tyner
Hello, Currently, subset.data.frame() does if (missing(subset)) r <- TRUE else { perhaps better might be: if (missing(subset)) r <- rep(TRUE, nrow(x)) else { The rationale being, if 'x' has zero rows and 'subset' is missing, we don't want to end up w

Re: [Rd] First package submission to CRAN

2011-06-22 Thread David Scott
On 23/06/11 08:34, Christophe Dutang wrote: Hi, By default, R CMD build makes sources, you have to use --binary if you want to get binaries. But you have to submit sources to the CRAN ftp server (and not binary). So just run a R CMD build. C -- Christophe Dutang Ph.D. student at ISFA, Lyon,

Re: [Rd] First package submission to CRAN

2011-06-22 Thread steven mosher
Thanks, I understand. Looks like everything checks and Now I have to upload. whew. kinda exciting, even though its a small package for now. Steve On Wed, Jun 22, 2011 at 1:34 PM, Christophe Dutang wrote: > Hi, > > By default, R CMD build makes sources, you have to use --binary if you want > t

Re: [Rd] First package submission to CRAN

2011-06-22 Thread Christophe Dutang
Hi, By default, R CMD build makes sources, you have to use --binary if you want to get binaries. But you have to submit sources to the CRAN ftp server (and not binary). So just run a R CMD build. C -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr Le 22

[Rd] First package submission to CRAN

2011-06-22 Thread steven mosher
I'm preparing to submit my first package to CRAN, thanks to the help of too many people to mention. I've built and checked the package on Windows ( making a zip) and my path points to the 64 bit version of R. Everything builds and checks and the final warnings have been fixed. My package is pure

[Rd] Checking R manual build

2011-06-22 Thread Stephen Ellison
Is there a quick way of checking the R manuals built from the .texi files in ../doc/manual without building the rest of R? Going from a vanilla checkout, some included files are missing (eg version.texi) and created by the makefiles, so it looks like the complete make script needs to be run at

Re: [Rd] Controlling stdin and stdout in an embedded R instance

2011-06-22 Thread Mike Sonsini
Thank you, this example helped. Mike Sonsini On 6/17/2011 10:29 AM, Simon Urbanek wrote: Mike, there are many examples of embedding R, one of them is rJava/JRI and you can see how to initialize R with custom callbacks at http://svn.rforge.net/org/trunk/rosuda/JRI/src/Rinit.c Cheers, Simon

Re: [Rd] [Rcpp-devel] Error using RcppGSL

2011-06-22 Thread Øyvind Foshaug
Hi, It is on windows XP. I did not install GSL yet, which version should I install from http://gnuwin32.sourceforge.net/packages/gsl.htm? I want to use RcppGSL via the inline package. Thanks, Oyvind From: Dirk Eddelbuettel To: Douglas Bates Cc: oyvfos ; r-

Re: [Rd] Cases of TAB-completion that hang Rterm

2011-06-22 Thread Deepayan Sarkar
On Tue, Jun 7, 2011 at 1:49 PM, Henrik Bengtsson wrote: > FYI, > > via a bug report of one of my packages, I discovered that the > following cases will hang Rterm when using TAB completion: > > CASE #1: > Adding an empty default function for tail() causes Rterm on Windows to > hang if one press TA