Re: [Rd] S4 changes - sp fails

2006-08-31 Thread Prof Brian Ripley
Roger, I had managed to run R CMD check on sp successfully on r39021 and r39043 (current) in my nightly checks. (There are a couple of tests where the show/print method is not being invoked, but that is not new.) All I can suggest is to install R from scratch (make distclean), and then reinst

[Rd] Overriding InitTempDir

2006-08-31 Thread Jeffrey Horner
For embedded projects, one may want to eliminate the per-session temp directory created by InitTempDir() and just use a system-specific temp directory. Here's my solution: extern char *R_TempDir; void my_InitTempDir() { char *tmp; if (R_TempDir){ if (rmdir(R_TempDir) != 0){

[Rd] S4 changes - sp fails

2006-08-31 Thread Roger Bivand
Under R version 2.4.0 (2006-08-30 r39024), sp fails CMD check following the latest changes in methods. The failures are in running examples and occur in CMD check: > data(state) > dd2dms(state.center$x) Error in function (classes, fdef, mtable) : unable to find an inherited method for f

Re: [Rd] Wish: keep names in mapply() result

2006-08-31 Thread Gregor Gorjanc
Hello, Charles Berry sent me (off-list) his proposal, which I find better (after slight modification) than mine. I would say that proposed changes make mapply even more consistent with (some) *apply* funcs in terms of names. Patches to mapply.R and mapply.Rd are attached. I have runned make check-

Re: [Rd] R-Project logo in SVG format

2006-08-31 Thread hadley wickham
> It does look like it would be near-impossible to parameterise the logo > efficiently into a vector format - all that shading and 3-d effect > stuff. These days, most vector graphics programs provide gradient shading primitives - that's all you need to recreate most 3D effects. Hadley ___

Re: [Rd] R-Project logo in SVG format

2006-08-31 Thread Barry Rowlingson
[EMAIL PROTECTED] wrote: > After you created one and submitted it to us probably at the same place as > the bitmaps. In the meantime it will have to suffice that you use all we > have, and that are the bitmaps (the logo was done by a volunteer who chose > to use a bitmapped graphics program). It i

Re: [Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Jeffrey Horner
Thomas Kelder wrote: [...] > By the way, I use R version 2.2.1 in linux, because I got the "Error: > C stack usage is too close to the limit R" error in higher versions (I > saw there was a topic about this already: > https://stat.ethz.ch/pipermail/r-devel/2006-April/037219.html). I > tried to use

Re: [Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Thomas Kelder
Dear Professor Ripley, Thank you for your reply. I have a few questions left: > > But that's not true. The documented way is > > > > setup_Rmainloop > > run a loop (which can return) > > end_Rmainloop > > > > The problem was that the only documented way to shut R down cleanly was > > end_Rmainlo

Re: [Rd] 'CanMakeUseOf' field

2006-08-31 Thread Seth Falcon
Martin Maechler <[EMAIL PROTECTED]> writes: >> "Seth" == Seth Falcon <[EMAIL PROTECTED]> >> on Wed, 30 Aug 2006 07:06:24 -0700 writes: > > Seth> Kurt Hornik <[EMAIL PROTECTED]> writes: > >> An internal environment variable called > >> > >> _R_CHECK_FORCE_SUGGESTS_ >

[Rd] R crashes in Mac OS 10.4 when Find is used (PR#9192)

2006-08-31 Thread msf17
Full_Name: Matt Fantle Version: 1.16 OS: Mac OS 10.4.7 Submission from: (NULL) (128.118.174.213) Problem: R crashes when 'Command-f' is pressed to begin "Find" Frequency: This problem is intermittant. Once R crashes, the only solution is to restart R and try to Find again. There is no regular

[Rd] Interface for package supplied random number generator

2006-08-31 Thread Josef Leydold
Hi, As you probably know, there is a problem with the interface for adding uniform random number generators in R (see by article in R News 5/2, November 2005). There exists a mechanism called "user-supplied" that allows users of R to run their own generator in R. However, there is no such mechanis

Re: [Rd] R-Project logo in SVG format

2006-08-31 Thread friedrich . leisch
> Hi, > > I'm looking for a version of the R-Project logo in SVG format. I've found > the bitmapped versions, > http://developer.r-project.org/Logo/ > > but would prefer a scalable version as it usually looks better when > printed. > > Where may I find one? After you created one and submitt

Re: [Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Prof Brian Ripley
This is already covered in the R-devel version of R: please consult `Writing R Extensions' in that version. On Thu, 31 Aug 2006, Thomas Kelder wrote: > Hello, > > I'm trying to make my Java application work with R, which involves > sending and retrieving data and to run R functions from within t

[Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Thomas Kelder
Hello, I'm trying to make my Java application work with R, which involves sending and retrieving data and to run R functions from within the Java application. I also need to have "live interaction" with R, to show the R console output (e.g. warnings and print) and to enable the user to enter input

[Rd] R-Project logo in SVG format

2006-08-31 Thread Lars D . Noodén
Hi, I'm looking for a version of the R-Project logo in SVG format. I've found the bitmapped versions, http://developer.r-project.org/Logo/ but would prefer a scalable version as it usually looks better when printed. Where may I find one? -Lars Lars Nooden ([EMAIL PROTECTED])

Re: [Rd] Suggestion for read.table()

2006-08-31 Thread Prof Brian Ripley
On Thu, 31 Aug 2006, Simon Urbanek wrote: > > On Aug 30, 2006, at 10:15 PM, Prof Brian Ripley wrote: > > >On Wed, 30 Aug 2006, [EMAIL PROTECTED] wrote: > > > > >However, direct reading might be a good option? > > > >See ?textConnection for how to do this. > > > >inp <- " x y z > >1 2

Re: [Rd] 'CanMakeUseOf' field

2006-08-31 Thread Duncan Murdoch
On 8/31/2006 3:40 AM, Martin Maechler wrote: >> "Seth" == Seth Falcon <[EMAIL PROTECTED]> >> on Wed, 30 Aug 2006 07:06:24 -0700 writes: > > Seth> Kurt Hornik <[EMAIL PROTECTED]> writes: > >> An internal environment variable called > >> > >> _R_CHECK_FORCE_SUGGESTS_ >

Re: [Rd] 'CanMakeUseOf' field

2006-08-31 Thread Martin Maechler
> "Seth" == Seth Falcon <[EMAIL PROTECTED]> > on Wed, 30 Aug 2006 07:06:24 -0700 writes: Seth> Kurt Hornik <[EMAIL PROTECTED]> writes: >> An internal environment variable called >> >> _R_CHECK_FORCE_SUGGESTS_ >> >> which controls this has been in place for qui