[Rd] R CMD check and Suggests Packages

2011-04-28 Thread Dario Strbenac
Hello, In my description file, I have an example data package in Suggests: that I've deleted from my library to test what the user who doesn't have it will experience. However, R CMD check won't even pass my package : * checking package dependencies ... ERROR Package required but not available

Re: [Rd] error while checking package size during Rcmd check

2011-04-28 Thread Gabor Grothendieck
On Thu, Apr 28, 2011 at 9:01 PM, Gabor Grothendieck wrote: > I am receiving this message during >  Rcmd check proto-3.9.2.tar.gz > using "R version 2.13.0 Patched (2011-04-25 r55638)" > > * checking installed package size ...Error in if (total > 1024 * 5) { : > missing > value where TRUE/FALSE ne

[Rd] error while checking package size during Rcmd check

2011-04-28 Thread Gabor Grothendieck
I am receiving this message during Rcmd check proto-3.9.2.tar.gz using "R version 2.13.0 Patched (2011-04-25 r55638)" * checking installed package size ...Error in if (total > 1024 * 5) { : missing value where TRUE/FALSE needed Execution halted I don't get this under R.2.12.x. The size of the

Re: [Rd] Wish R Core had a standard format (or generic function) for "newdata" objects

2011-04-28 Thread Greg Snow
Another way to see your plots is the TkPredict function in the TeachingDemos package. It will default the variables to their medians for numeric predictors and baseline level for factors, but then you can set all of those to something more meaningful one time using the controls, then cycle thro

[Rd] problems of new cairo device on win32

2011-04-28 Thread Gong Yu
yesterday i send two email about these problems, but I found the attached patch is removed, so i post again. issue 1 : the new cairo device depend on gtk2, but gtk for windows is buggy, and cairo can be built without gtk2, so I propose build cairo without gtk2 using MinGW, so we can reduce th

[Rd] MDX package?

2011-04-28 Thread Kevin Burton
Much of our data is stored in an MDX datawarehouse using SQL 2008. I was wondering if there has been any work done on interfacing MDX to 'R'? Kevin Burton rkevinbur...@charter.net [[alternative HTML version deleted]] __ R-devel@r-project.o

Re: [Rd] GPLv2-only code in R?

2011-04-28 Thread Prof Brian Ripley
On Thu, 28 Apr 2011, Duncan Murdoch wrote: On 27/04/2011 12:55 PM, Brett Smith wrote: Hello, I'm sending this to R-devel under the guideline that the ensuing discussion would probably be unintelligible to people who aren't programmers. If that's not right, I apologize.

Re: [Rd] GPLv2-only code in R?

2011-04-28 Thread Duncan Murdoch
On 27/04/2011 12:55 PM, Brett Smith wrote: Hello, I'm sending this to R-devel under the guideline that the ensuing discussion would probably be unintelligible to people who aren't programmers. If that's not right, I apologize. says in part: "Some files are

[Rd] GPLv2-only code in R?

2011-04-28 Thread Brett Smith
Hello, I'm sending this to R-devel under the guideline that the ensuing discussion would probably be unintelligible to people who aren't programmers. If that's not right, I apologize. says in part: "Some files are licensed under 'GPL (version 2 or later)

[Rd] cairo device on win32 without gtk2

2011-04-28 Thread Gong Yu
now cairo device work on win32, but it depends gtk2 for windows and have CJK problem. so I change a litte bit to avoid these two problem. to apply these two patch, you should build pixman and cairo without gtk2 using mingw from source. Yu Gong__ R

Re: [Rd] Interrupting C++ code execution

2011-04-28 Thread peterhepperger
Andrew, > You may like to give CXXR a try > (http://www.cs.kent.ac.uk/projects/cxxr/). In CXXR the R interpreter is > written in C++, and a user interrupt is handled by throwing a C++ > exception, so the stack is unwound in an orderly fashion, destructors > are invoked, etc. Thank you for thi

[Rd] patch about recent cairo device on win32

2011-04-28 Thread Gong Yu
dear all: now I am happy with cairo on win32, but it depends gtk2 for windows and have CJK problem. so I change a litte bit to avoid this two problem. to apply those two patch, you should build pixman and cairo without gtk2 using mingw from source. Yu Gong__

[Rd] request for R-exts addition

2011-04-28 Thread Ben Bolker
would it be possible / make sense to copy some of the information in ?news into the R-exts manual, where package writers are most likely (?) to look for it? The information therein seems more appropriate for the extensions manual ... cheers Ben Bolker ___

Re: [Rd] median and data frames

2011-04-28 Thread S Ellison
This seems trivially fixable using something like median.data.frame <- function(x, na.rm=FALSE) { sapply(x, function(y, na.rm=FALSE) if(is.factor(y)) NA else median(y, na.rm=na.rm), na.rm=na.rm) } >>> Paul Johnson 28/04/2011 06:20 >>> On Wed, Apr 27, 2011 at 12:44 PM, Patrick Burns wrote: >

Re: [Rd] Interrupting C++ code execution

2011-04-28 Thread Andrew Runnalls
Peter, On 25/04/11 10:22, schattenpfla...@arcor.de wrote: 1. Calling R_CheckUserInterrupt() interrupts immediately, so I have no possibility to exit my code gracefully. In particular, I suppose that objects created on the heap (e.g., STL containers) are not destructed properly. Sorry not to ha