Re: [Rd] SHLIB steps on a Makefile

2007-12-22 Thread Prof Brian Ripley
On Sat, 22 Dec 2007, Hin-Tak Leung wrote: > Hmm, I don't think you need a whole Makefile - while it is a > bit complicated to set locations, etc, essentially if your C code > needs an extra DLL (well, you'll have to bundle it with your package, > etc because the otherwise link-loader won't find it

Re: [Rd] SHLIB steps on a Makefile

2007-12-22 Thread Hin-Tak Leung
Hmm, I don't think you need a whole Makefile - while it is a bit complicated to set locations, etc, essentially if your C code needs an extra DLL (well, you'll have to bundle it with your package, etc because the otherwise link-loader won't find it), it is mostly just in Makevars.win PGK_LDGLAGS=-

Re: [Rd] request for addition to R-int

2007-12-22 Thread Bjørn-Helge Mevik
Ben Bolker wrote: > http://cran.r-project.org/doc/manuals/R-ints.html#R-coding-standards > > gives detailed advice on how to set the indentation level for > C code to 4, but it took me a bit of poking around in the archives > to find the > > (setq ess-indent-level 4) > > incantation for getting t

Re: [Rd] substitute() bug? (PR#10525)

2007-12-22 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote: > The first four lines of code below work as normal. The fifth thorows > an error: "Error in paste(theta[1], "=", 5) : object "theta" not found" > > > x=rnorm(1000); > bob=density(x); > topp=5; > plot(bob,xlab="", ylab="", > main=substitute(paste(theta[1],"=",topp),lis

[Rd] substitute() bug? (PR#10525)

2007-12-22 Thread rossibarra
The first four lines of code below work as normal. The fifth thorows an error: "Error in paste(theta[1], "=", 5) : object "theta" not found" x=rnorm(1000); bob=density(x); topp=5; plot(bob,xlab="", ylab="", main=substitute(paste(theta[1],"=",topp),list(topp=topp)), type="l"); plot(bob$y~bob$

Re: [Rd] Small typo in 'Writing R extensions'

2007-12-22 Thread Prof Brian Ripley
I presume you mean in HTML? The PDF versions have the correct numbering. Compare the two versions on http://cran.r-project.org/manuals.html. That's not a 'typo' but a makeinfo problem. There's a similar one in the TOC of R-admin.texi where the appendices are numbered not lettered in the ToC (b