Re: [Rd] A suggestion for an amendment to tapply

2007-11-06 Thread Peter Dalgaard
Andrew Robinson wrote: > These are important concerns. It seems to me that adding an argument > as suggested by Bill will allow the user to side-step the problem > identified by Brian. > > Bill, under what kinds of circumstances would you anticipate a > significant time penalty? I would be happy

Re: [Rd] problem in linking to libR.so with R 2.5.0

2007-11-06 Thread Prof Brian Ripley
IOStuff.h is not a public header, and neither are the entry points within it. See 'Writing R Extensions'. One is in the category: Entry points that are where possible (Windows and some modern Unix compilers/loaders when using @R{} as a shared library) not exported. On Wed, 7 Nov 2007, J

[Rd] problem in linking to libR.so with R 2.5.0

2007-11-06 Thread Jiangtian Li
Dear All, I tried to write a C++ program that uses R internals and I encounter "undefined reference" error when linking to libR.so. Here is an small example of the program test.cpp: extern "C" { #include #include int main(int argc, char** argv) { R_IoBufferInit(&R_ConsoleIob); return 0; }

Re: [Rd] A suggestion for an amendment to tapply

2007-11-06 Thread Andrew Robinson
These are important concerns. It seems to me that adding an argument as suggested by Bill will allow the user to side-step the problem identified by Brian. Bill, under what kinds of circumstances would you anticipate a significant time penalty? I would be happy to check those out with some simul

Re: [Rd] R 2.6.0 make check fails on SGI origin 350 and

2007-11-06 Thread Prof Brian Ripley
We need to see the d-p-q-r-tests.Rout file, and perhaps ask for some more runs (unfortunately that line number is after massaging). Can you make it available to us? Or at least a portion containing the quoted line (which should only occur once)? On Tue, 6 Nov 2007, kamil Marcinkowski wrote:

[Rd] R 2.6.0 make check fails on SGI origin 350 and

2007-11-06 Thread kamil Marcinkowski
Hello I am trying to install R 2.6.0 on a SGI Origin 350 running IRIX 6.5 6.5.28f R was configured with the following options: > --x-includes=/usr/include/X11 > --x-libraries=/usr/lib/X11 > --includedir=/usr/freeware/include > --includedir=/usr/freeware/lib32 > --includedir=/usr/freeware/lib64

[Rd] strange `nls' behaviour

2007-11-06 Thread Joerg van den Hoff
dear list, I stumbled over the follwing strange behaviour/error when using `nls' which I'm tempted (despite the implied "dangers") to call a bug: I've written a driver for `nls' which allows specifying the model and the data vectors using arbitrary symbols. these are internally mapped to consiste

Re: [Rd] [R] help needed: taking a function out of a package and it can not find some funtions

2007-11-06 Thread Prof Brian Ripley
I do wonder when you would consider something a programming question unsuitable for R-help? See the posting guide. At least my answer needs to be on R-devel. On Tue, 6 Nov 2007, Jason Liao wrote: > > I tried to modify the R function bw.SJ (from the stats package) for my > own use. But if I ju

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread hadley wickham
> (Ideally, people would try the prerelease versions and problems like > this would be caught before the actual release, but it seems that they > prefer treating x.y.0 as a beta release...) The one time I did do this and complained about a change (trailing commas now throw an error), no one respon

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread Peter Dalgaard
Simone Giannerini wrote: > Thank you, > > I am sorry for my positive contribution to the entropy of R lists ... > I missed the fact that somewhere there is a separate list of Windows > specific bug fixes. > Well, shit happens... Never mind. Thanks for bothering in the first place. > Maybe it wo

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread Simone Giannerini
Thank you, I am sorry for my positive contribution to the entropy of R lists ... I missed the fact that somewhere there is a separate list of Windows specific bug fixes. Maybe it would be useful that this list be put in evidence close to the other one. Kind regards Simone On 11/6/07, Prof Bria

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread Prof Brian Ripley
On Tue, 6 Nov 2007, Simone Giannerini wrote: > I looked at the list of bug fixes before writing and I found that the > only thing close to it is this > > o postscript() was not always ignoring .Postscript.Options in > the workspace (where it should not have occurred). > > but I must admi

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread ripley
This has been discussed extensively on R-help (with a workaround), and is already fixed in R-patched. On Tue, 6 Nov 2007, [EMAIL PROTECTED] wrote: > Full_Name: Jane L. Harvill > Version: 2.6.0 > OS: Microsoft Windows XP Professional, Version 2002, Service Pack 2 > Submission from: (NULL) (129.62

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread Simone Giannerini
I looked at the list of bug fixes before writing and I found that the only thing close to it is this o postscript() was not always ignoring .Postscript.Options in the workspace (where it should not have occurred). but I must admit I did not understand whether it had anything to do w

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread Simone Giannerini
I have experienced the same behaviour (intermittently) on two different WinXP machines. Also savePlot() appears to be affected but not postscript() nor pdf() as you mentioned. On 11/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Full_Name: Jane L. Harvill > Version: 2.6.0 > OS: Microsoft W

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread Uwe Ligges
This has been reported several times before and has been fixed in R-patched some weeks ago. Uwe Ligges [EMAIL PROTECTED] wrote: > Full_Name: Jane L. Harvill > Version: 2.6.0 > OS: Microsoft Windows XP Professional, Version 2002, Service Pack 2 > Submission from: (NULL) (129.62.21.93) > > > PR

[Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread Jane_Harvill
Full_Name: Jane L. Harvill Version: 2.6.0 OS: Microsoft Windows XP Professional, Version 2002, Service Pack 2 Submission from: (NULL) (129.62.21.93) PROBLEM: The ability to save the contents of an R Graphics window as a postscript or PDf file through the drop-down menu (File -> Save As -> Postscr

Re: [Rd] Mac OS X Leopard and C compiling

2007-11-06 Thread Simon Urbanek
Daniel, please read R-SIG-Mac, it has all the details on Leopard support. There are several different fixes for this, possibly the easiest for you: PKG_LIBS="-mmacosx-version-min=10.4" R CMD SHLIB ... Cheers, Simon On Nov 5, 2007, at 8:18 PM, Daniel McDonald wrote: > I recently bought a new

Re: [Rd] Hmisc for Mac OSX.

2007-11-06 Thread Simon Urbanek
Rolf, On Nov 5, 2007, at 4:59 PM, Rolf Turner wrote: > I'm not sure if this is the right target to which to direct this > post, but I couldn't think of anything more appropriate. > R-SIG-Mac, but preferably *after* you read the documentation. > I just downloaded the Hmisc package to the Imac

Re: [Rd] Hmisc for Mac OSX.

2007-11-06 Thread Ken Beath
On 06/11/2007, at 8:59 AM, Rolf Turner wrote: > > I'm not sure if this is the right target to which to direct this post, > but I couldn't think of anything more appropriate. > R-Sig-Mac https://stat.ethz.ch/mailman/listinfo/r-sig-mac is for mac specific problems > I just downloaded the Hmisc p

[Rd] Mac OS X Leopard and C compiling

2007-11-06 Thread Daniel McDonald
I recently bought a new Intel Mac with OSX Leopard. I reinstalled the latest version of R and the Xcode tools. I'm trying to compile a C source code with the R compiler in X11, and I receive the following error message: [Macintosh:School Work 07-08/36-711/HW 3] dajmcdon% R CMD SHLIB McDonaldHW3.c

[Rd] Hmisc for Mac OSX.

2007-11-06 Thread Rolf Turner
I'm not sure if this is the right target to which to direct this post, but I couldn't think of anything more appropriate. I just downloaded the Hmisc package to the Imac that I use. When I attempted to load it I got an error to the effect that it could not load the library: /Library/Framewo