Re: [Rd] importing explicitly declared missing values in read.spss (foreign)

2008-08-05 Thread Jeroen Ooms
First of all, apologies if you feel misquoted, I was only trying to keep things clear. Now, I have installed and tried the new version of the package and it works perfectly. It does exactly what it should do. I tested it on some huge SPSS's sample files which contained a lot of variables with

[Rd] Random number generation

2008-08-05 Thread subramanian R
Hi All, I have a few queries regarding Random Number generation in R. according to the help(Random.User) i defined my own functions for user_unif_rand and user_norm_rand (uniform and normal distribution) But what i figured out was even when i call rexp,rpois,rgeom

Re: [Rd] Suggestion: 20% speed up of which() with two-character mod

2008-08-05 Thread Martin Maechler
HenrikB == Henrik Bengtsson [EMAIL PROTECTED] on Mon, 4 Aug 2008 21:14:12 -0700 writes: HenrikB Hi, HenrikB I just want to do a follow up this very simple HenrikB fix/correction/speedup/cleanup of the base::which() function. Here is HenrikB a diff: HenrikB diff

Re: [Rd] Random number generation

2008-08-05 Thread Duncan Murdoch
Please don't cross-post. This reply is going to R-devel only. On 8/5/2008 8:47 AM, subramanian R wrote: Hi All, I have a few queries regarding Random Number generation in R. according to the help(Random.User) i defined my own functions for That's help(Random.user)...

[Rd] literate programming

2008-08-05 Thread Terry Therneau
I'm working on the next iteration of coxme. (Rather slowly during the summer). This is the most subtle code I've done in S, both mathematically and technically, and seems a perfect vehicle for the literate programming paradym of Knuth. The Sweave project is pointed at S output however,

[Rd] Adding .pdf files to package

2008-08-05 Thread Rense Nieuwenhuis
Deal all, new as I am to developing packages for R-Project, I apologize on beforehand for questions that are too obvious. I am trying to 'add' a PDF document containing some detailed information to a package. The way I understand the Rexts.pdf document, I should add my .PDF document to the

[Rd] patchDVI update: SyncTex support

2008-08-05 Thread Duncan Murdoch
A while ago I wrote a package called patchDVI, that allowed reverse-search from the YAP .dvi previewer (or others) to jump directly to the .Rnw source of an Sweave document. Recently support for reverse search has been integrated into pdflatex (through SyncTex). There aren't many PDF

Re: [Rd] literate programming

2008-08-05 Thread Kevin R. Coombes
Hi Terry, You can do this with Sweave (and something smart like emacs with ESS installed as your editor), but you have to work at it a little. The key is the fact that a couple of releases ago they added options for keep.source and expand. For example, you do the following: First, describe

Re: [Rd] Suggestion: 20% speed up of which() with two-character mod

2008-08-05 Thread Henrik Bengtsson
Hi, thanks for this. I'll use unified diff next time, i.e. diff -u current.R new.R /Henrik On Tue, Aug 5, 2008 at 5:54 AM, Martin Maechler [EMAIL PROTECTED] wrote: HenrikB == Henrik Bengtsson [EMAIL PROTECTED] on Mon, 4 Aug 2008 21:14:12 -0700 writes: HenrikB Hi, HenrikB I

[Rd] Adding .PDF files to a package

2008-08-05 Thread Rense Nieuwenhuis
Deal all, new as I am to developing packages for R-Project, I apologize on beforehand for questions that are too obvious. I am trying to 'add' a PDF document containing some detailed information to a package. The way I understand the Rexts.pdf document, I should add my .PDF document to

Re: [Rd] Adding .PDF files to a package

2008-08-05 Thread Wolfgang Huber
Rense Nieuwenhuis wrote: Deal all, new as I am to developing packages for R-Project, I apologize on beforehand for questions that are too obvious. I am trying to 'add' a PDF document containing some detailed information to a package. The way I understand the Rexts.pdf document, I should add

Re: [Rd] Adding .PDF files to a package

2008-08-05 Thread Wolfgang Huber
Wolfgang Huber wrote: Rense Nieuwenhuis wrote: Deal all, new as I am to developing packages for R-Project, I apologize on beforehand for questions that are too obvious. I am trying to 'add' a PDF document containing some detailed information to a package. The way I understand the

Re: [Rd] literate programming

2008-08-05 Thread Berwin A Turlach
G'day Terry, On Tue, 5 Aug 2008 09:38:23 -0500 (CDT) Terry Therneau [EMAIL PROTECTED] wrote: I'm working on the next iteration of coxme. (Rather slowly during the summer). This is the most subtle code I've done in S, both mathematically and technically, and seems a perfect vehicle for