Re: [Rd] gc()$Vcells < 0 (PR#9345)

2006-11-07 Thread Prof Brian Ripley
On Tue, 7 Nov 2006, Vladimir Dergachev wrote: > On Tuesday 07 November 2006 6:28 am, Prof Brian Ripley wrote: >> On Mon, 6 Nov 2006, Vladimir Dergachev wrote: >>> On Monday 06 November 2006 6:12 pm, [EMAIL PROTECTED] wrote: version.string Version 2.3.0 (2006-04-24) > x<-matrix(nrow=4

Re: [Rd] Getting the name of a SEXP type in package code?

2006-11-07 Thread Prof Brian Ripley
type2char is itself a fairly recent addition (there is also type2str, which is older) that I found useful for improving messages in R itself. I have not encountered such a need in package code, but the function is exported. This is not a request to move type2char from Defn.h to Rinternals.h, an

Re: [Rd] Chi-squared test (PR#9350)

2006-11-07 Thread Kasper Daniel Hansen
(not cc'ed to R-bugs) If this is not a bug why do you abuse the bug report system to ask a simple question? Now a member of R-core has to use valuable time to handle this bug report, time that could be far more profitable spent making improvements to R (or spend it otherwise). This is incred

[Rd] Chi-squared test (PR#9350)

2006-11-07 Thread sarkar
Full_Name: Sahotra Sarkar Version: 2.2.0 OS: Windows XP Submission from: (NULL) (128.83.34.44) This is not a bug: I'm just wondering why chisq.test does not allow the specification of the degree of freedom (df). __ R-devel@r-project.org mailing list ht

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Rich FitzJohn
This all seems very similar to the built-in "vignette" function; e.g. vignette("grid") Cheers, Rich On 11/8/06, Dominick Samperi <[EMAIL PROTECTED]> wrote: > Dirk Eddelbuettel wrote: > > There is options("pdfviewer") -- at least under Unix. Maybe there is > > even an R call to use it on a file,

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Dominick Samperi
Dirk Eddelbuettel wrote: > There is options("pdfviewer") -- at least under Unix. Maybe there is > even an R call to use it on a file, employed by the help system? > Dirk Thanks, Here is a more complete solution that can be turned into a general-purpose function... # Displays PDF file as an R demo

Re: [Rd] variable problem

2006-11-07 Thread Tom McCallum
Works like a charm - thank you very much. Tom On Tue, 07 Nov 2006 20:45:04 -, Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > On Tuesday 07 November 2006 3:28 pm, Tom McCallum wrote: >> Hi everyone, > > Hi Tom, > > Would this snippet work: > > for(i in 1:length(mylist))do.call(f, m

Re: [Rd] variable problem

2006-11-07 Thread Vladimir Dergachev
On Tuesday 07 November 2006 3:28 pm, Tom McCallum wrote: > Hi everyone, Hi Tom, Would this snippet work: for(i in 1:length(mylist))do.call(f, mylist[i]) On the other hand it is not easy to see why you would want to call the same function with differently named arguments - perhaps

[Rd] variable problem

2006-11-07 Thread Tom McCallum
Hi everyone, I am not sure this is possible so I would be interested in your responses. Say I have a variable 'v' with the string "myargument" in and I have a function 'f' that takes this argument as follows; f <- function( myargument=5 ) { ... does something... } Is there anyway I can s

Re: [Rd] Getting the name of a SEXP type in package code?

2006-11-07 Thread Martin Maechler
> "Seth" == Seth Falcon <[EMAIL PROTECTED]> > on Tue, 07 Nov 2006 06:55:06 -0800 writes: Seth> Hi, Seth> Is there an alternative to type2char that is available for use in Seth> package code? It would be useful for producing more informative error Seth> messages. I hav

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Gavin Simpson
On Tue, 2006-11-07 at 12:41 -0500, Dominick Samperi wrote: > Duncan Murdoch wrote: > > On 11/7/2006 8:51 AM, Agner Fog wrote: > > > >> I am building a package for various noncentral hypergeometric > >> distributions. > >> > >> I want to include some heavy mathematical formulas. It appears that

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Dominick Samperi
Duncan Murdoch wrote: > On 11/7/2006 8:51 AM, Agner Fog wrote: > >> I am building a package for various noncentral hypergeometric distributions. >> >> I want to include some heavy mathematical formulas. It appears that the >> build and INSTALL commands produce only .chm files and not .pdf files

Re: [Rd] gc()$Vcells < 0 (PR#9345)

2006-11-07 Thread Vladimir Dergachev
On Tuesday 07 November 2006 6:28 am, Prof Brian Ripley wrote: > On Mon, 6 Nov 2006, Vladimir Dergachev wrote: > > On Monday 06 November 2006 6:12 pm, [EMAIL PROTECTED] wrote: > >> version.string Version 2.3.0 (2006-04-24) > >> > >>> x<-matrix(nrow=44000,ncol=48000) > >>> y<-matrix(nrow=44000,ncol=4

Re: [Rd] R freezes with text(...., srt = -1e-8) (PR#9347)

2006-11-07 Thread Emmanuel Paradis
Duncan Murdoch wrote: > On 11/7/2006 5:35 AM, [EMAIL PROTECTED] wrote: > >> Full_Name: Emmanuel Paradis >> Version: 2.4.0 >> OS: Linux >> Submission from: (NULL) (193.49.41.124) >> >> >> Adding text to a plot makes R freeze if 'srt' is given a very small >> negative >> value, eg: >> >> plot(1, ty

[Rd] Getting the name of a SEXP type in package code?

2006-11-07 Thread Seth Falcon
Hi, Is there an alternative to type2char that is available for use in package code? It would be useful for producing more informative error messages. + seth __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Crash when embedding R X11 windows

2006-11-07 Thread Thomas Friedrichsmeier
Dear R developers, I've been experimenting with embedding R X11 windows into another application using KDE's QXEmbed on linux. Attempting to do so will crash R (with R 2.4.0, trunk, and I know the bug has been around in prior versions). I used to think this was related to bug #848, but I'm not

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Duncan Murdoch
On 11/7/2006 8:51 AM, Agner Fog wrote: > I am building a package for various noncentral hypergeometric distributions. > > I want to include some heavy mathematical formulas. It appears that the > build and INSTALL commands produce only .chm files and not .pdf files > from my .Rd files under Wind

[Rd] How to link to vignette from .Rd file

2006-11-07 Thread Agner Fog
I am building a package for various noncentral hypergeometric distributions. I want to include some heavy mathematical formulas. It appears that the build and INSTALL commands produce only .chm files and not .pdf files from my .Rd files under Windows. This means that it cannot show complicated

Re: [Rd] R freezes with text(...., srt = -1e-8) (PR#9347)

2006-11-07 Thread Duncan Murdoch
On 11/7/2006 5:35 AM, [EMAIL PROTECTED] wrote: > Full_Name: Emmanuel Paradis > Version: 2.4.0 > OS: Linux > Submission from: (NULL) (193.49.41.124) > > > Adding text to a plot makes R freeze if 'srt' is given a very small negative > value, eg: > > plot(1, type = "n") > text(1, 1, "some text"

Re: [Rd] gc()$Vcells < 0 (PR#9345)

2006-11-07 Thread Prof Brian Ripley
On Mon, 6 Nov 2006, Vladimir Dergachev wrote: > On Monday 06 November 2006 6:12 pm, [EMAIL PROTECTED] wrote: >> version.string Version 2.3.0 (2006-04-24) >> >>> x<-matrix(nrow=44000,ncol=48000) >>> y<-matrix(nrow=44000,ncol=48000) >>> z<-matrix(nrow=44000,ncol=48000) >>> gc() >> >> u

Re: [Rd] too-large notches in boxplot (PR #7690)

2006-11-07 Thread Martin Maechler
> "Ben" == Ben Bolker <[EMAIL PROTECTED]> > on Mon, 23 Jan 2006 14:37:18 -0500 writes: Ben> PR #7690 points out that if the confidence intervals (+/-1.58 Ben> IQR/sqrt(n)) in a boxplot with notch=TRUE are larger than the Ben> hinges -- which is most likely to happen for sm

[Rd] R freezes with text(...., srt = -1e-8) (PR#9347)

2006-11-07 Thread paradis
Full_Name: Emmanuel Paradis Version: 2.4.0 OS: Linux Submission from: (NULL) (193.49.41.124) Adding text to a plot makes R freeze if 'srt' is given a very small negative value, eg: plot(1, type = "n") text(1, 1, "some text", srt = -1e-8) But if 'srt = -1e-6' (or smaller) or 'srt = -1e-19' (

Re: [Rd] memory issues with new release (PR#9344)

2006-11-07 Thread Pfaff, Bernhard Dr.
>> spend more time on this. I really don't mind using the >previous version. Hello Derek, or upgrade to R 2.5.0dev; the execution of your code snippet is not hampered by memory issues: > sessionInfo() R version 2.5.0 Under development (unstable) (2006-10-10 r39600) i386-pc-mingw32 locale: L