[Rd] Minor typo in optim.Rd (in details section)

2006-02-23 Thread Pfaff, Bernhard Dr.
Dear R-Core member, I spotted the following minor typo in: https://svn.r-project.org/R/trunk/src/library/stats/man/optim.Rd currently: == \details{ [...]Conjugate gradient methods will generally be more fragile that the BFGS method, [...] } Should read: \details{ [...]Con

Re: [Rd] Minor typo in optim.Rd (in details section)

2006-02-23 Thread Prof Brian Ripley
Fixed, thanks. On Thu, 23 Feb 2006, Pfaff, Bernhard Dr. wrote: > > Dear R-Core member, > > I spotted the following minor typo in: > https://svn.r-project.org/R/trunk/src/library/stats/man/optim.Rd > > > currently: > == > \details{ > [...]Conjugate gradient methods will generally be more f

[Rd] Problem during "make" with the devel version R-2.3.0 under Sun OS

2006-02-23 Thread Simon Penel
Hello R users and developers, I had a problem when I tried to install the last version of R-devel. I know that this R version is an unstable version and that this problem may be irrelevant. I am maintaining a R package thus I check if this package can be installed with the development version

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread Thomas Lumley
On Thu, 23 Feb 2006, Prof Brian Ripley wrote: On Wed, 22 Feb 2006, Fran?ois Pinard wrote: [...] So, I was not expecting R, running with that option activated, to "volunteer" white lines. :-) But Simon said `with the documentation'. Not doing what you expected is not a bug. Can you please

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread Prof Brian Ripley
On Thu, 23 Feb 2006, Thomas Lumley wrote: On Thu, 23 Feb 2006, Prof Brian Ripley wrote: On Wed, 22 Feb 2006, François Pinard wrote: [...] So, I was not expecting R, running with that option activated, to "volunteer" white lines. :-) But Simon said `with the documentation'. Not doing what

[Rd] Links to non-vignette documentation

2006-02-23 Thread hadley wickham
Section 1.4 of Writing R Extensions says: In addition to the help files in Rd format, R packages allow the inclusion of documents in arbitrary other formats. The standard location for these is subdirectory inst/doc of a source package, the contents will be copied to subdirectory doc when the packa

[Rd] Utilizing the internet module

2006-02-23 Thread Jeffrey Horner
Hello all, I'd like to utilize the R_Sock* functions from R_ext/R-ftp-http.h in my R package. The intent is to use these in conjunction with R_serialize() to store R objects in a remote data store. I'm aware that version 2.2.1 of "Writing R extensions" explains that these may be undocumented

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread Simon Urbanek
On Feb 23, 2006, at 11:14 AM, Thomas Lumley wrote: > On Thu, 23 Feb 2006, Prof Brian Ripley wrote: > >> On Wed, 22 Feb 2006, François Pinard wrote: > [...] >>> So, I was not expecting R, running with that option activated, to >>> "volunteer" white lines. :-) >> >> But Simon said `with the documen

[Rd] rnorm returning NA's (PR#8635)

2006-02-23 Thread jjmcnutt
Full_Name: Josh McNutt Version: 2.2.1 OS: Win XP Submission from: (NULL) (192.88.209.232) > which(is.na(rnorm(2000))) [1] 15242377 > which(is.na(rnorm(1000))) [1] 3692029 > which(is.na(rnorm(4000))) [1] 5560337 5938719 3322 > which(is.na(rnorm(5000))) [1] 25231754 4239718

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread Thomas Lumley
On Thu, 23 Feb 2006, Simon Urbanek wrote: On Feb 23, 2006, at 11:14 AM, Thomas Lumley wrote: On Thu, 23 Feb 2006, Prof Brian Ripley wrote: On Wed, 22 Feb 2006, François Pinard wrote: [...] So, I was not expecting R, running with that option activated, to "volunteer" white lines. :-) But

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread Duncan Murdoch
On 2/23/2006 11:53 AM, hadley wickham wrote: > Section 1.4 of Writing R Extensions says: > > In addition to the help files in Rd format, R packages allow the > inclusion of documents in arbitrary other formats. The standard > location for these is subdirectory inst/doc of a source package, the > c

Re: [Rd] Tiny documentation error for ?options (PR#8633)

2006-02-23 Thread François Pinard
[Brian Ripley] >This is already corrected in the the development version of R: Good, thanks! P.S. - More generally, huge thanks to all developers of this impressive R system. I have an idea of the constant courage and long dedication it takes for reaching the usability and maturity R already h

Re: [Rd] Utilizing the internet module

2006-02-23 Thread Prof Brian Ripley
On Thu, 23 Feb 2006, Jeffrey Horner wrote: > Hello all, > > I'd like to utilize the R_Sock* functions from R_ext/R-ftp-http.h in my > R package. The intent is to use these in conjunction with R_serialize() > to store R objects in a remote data store. I'm aware that version > 2.2.1 of "Writing R e

Re: [Rd] rnorm returning NA's (PR#8635)

2006-02-23 Thread ripley
This is not reproducible, and you have not told us the seed you used which is what is needed to make random results reproducible. Please supply a reproducible example (if you can). I ran the first line 100 times (about 15 minutes) without encountering any NAs. If you found these fairly easily

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread Prof Brian Ripley
On Thu, 23 Feb 2006, Duncan Murdoch wrote: > On 2/23/2006 11:53 AM, hadley wickham wrote: >> Section 1.4 of Writing R Extensions says: >> >> In addition to the help files in Rd format, R packages allow the >> inclusion of documents in arbitrary other formats. The standard >> location for these is

Re: [Rd] rnorm returning NA's (PR#8635)

2006-02-23 Thread Duncan Murdoch
On 2/23/2006 1:04 PM, [EMAIL PROTECTED] wrote: > Full_Name: Josh McNutt > Version: 2.2.1 > OS: Win XP > Submission from: (NULL) (192.88.209.232) > > >> which(is.na(rnorm(2000))) > [1] 15242377 > >> which(is.na(rnorm(1000))) > [1] 3692029 > >> which(is.na(rnorm(4000))) > [1] 5560337

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread hadley wickham
> >> Is there anyway to have my pdf documentation listed under vignettes > >> other than making it a sweave file? > > No, a vignette is regarded as an Sweave file. It would be useful if there was a mechanism to allow arbitrary pdf files to be included as vignettes. There are many other ways to in

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread Prof Brian Ripley
On Thu, 23 Feb 2006, hadley wickham wrote: Is there anyway to have my pdf documentation listed under vignettes other than making it a sweave file? >> >> No, a vignette is regarded as an Sweave file. > > It would be useful if there was a mechanism to allow arbitrary pdf > files to be incl

Re: [Rd] Problem during "make" with the devel version R-2.3.0 under Sun OS

2006-02-23 Thread Prof Brian Ripley
This is a compiler error (generating invalid assembler), not an R error. What compiler version is this? I have no problem compiling the current R-devel (37422) on Solaris with gcc-3.4.5 or gcc-4.0.2 (and using the Sun assembler as you are). I have seen problems with plot3d with earlier version

[Rd] Wishlist: browser and traceback should trim callstack when printing (PR#8638)

2006-02-23 Thread h . wickham
Full_Name: Hadley Wickham Version: 2.2.0 OS: OS X Submission from: (NULL) (129.186.195.213) Example: f <- function(...) browser() do.call(f, mtcars) Entire contents of mtcars is printed on callstack. When you are using do.call with large data.frames this is a frustrating as it easily wipes

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread hadley wickham
> I think you need to define `vignette'. I understand the usage to mean an > Sweave file. There are ways to include other PDF files, and you can write > your own index file. R can't do that for you as it cannot read PDF (it > can read Sweave). How can I write an index file with a pointer to my

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread Prof Brian Ripley
On Thu, 23 Feb 2006, hadley wickham wrote: >> I think you need to define `vignette'. I understand the usage to mean an >> Sweave file. There are ways to include other PDF files, and you can write >> your own index file. R can't do that for you as it cannot read PDF (it >> can read Sweave). > >

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread Duncan Murdoch
On 2/23/2006 4:23 PM, hadley wickham wrote: >> I think you need to define `vignette'. I understand the usage to mean an >> Sweave file. There are ways to include other PDF files, and you can write >> your own index file. R can't do that for you as it cannot read PDF (it >> can read Sweave). > >

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread hadley wickham
> We were referring to an HTML index file. If you want to have a > reference from your package man page (foo-package.Rd) or some other man > page, you can use \url{../doc/my.pdf} and the link will work in HTML > versions of help, and won't be too misleading in other versions > (especially if you e

Re: [Rd] Utilizing the internet module

2006-02-23 Thread Jeffrey Horner
Prof Brian Ripley wrote: > On Thu, 23 Feb 2006, Jeffrey Horner wrote: > >> Hello all, >> >> I'd like to utilize the R_Sock* functions from R_ext/R-ftp-http.h in my >> R package. The intent is to use these in conjunction with R_serialize() >> to store R objects in a remote data store. I'm aware th

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread François Pinard
[Brian Ripley] >[François Pinard] >>Within the output resulting of command "man R", one reads: >> --slave >> Make R run as quietly as possible >>So, I was not expecting R, running with that option activated, to >>"volunteer" white lines. :-) >Can you please point us to docume

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread François Pinard
[François Pinard, clarifying himself] >Adding a newline when "--slave" has not been selected, and whenever the >output is connected to a tty, is also wise, regardless if termination >is effected through q() or through hitting end-of-file. Just to make sure I'm not misinterpreted, the "and" of t

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread Berwin A Turlach
G'day all, seems as if I must have slept through most of this most interesting discussion. :) > "BR" == Prof Brian Ripley <[EMAIL PROTECTED]> writes: BR> On Thu, 23 Feb 2006, hadley wickham wrote: >> How can I write an index file with a pointer to my pdf? Should >> I provide a c

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread Duncan Murdoch
On 2/23/2006 5:49 PM, hadley wickham wrote: >> We were referring to an HTML index file. If you want to have a >> reference from your package man page (foo-package.Rd) or some other man >> page, you can use \url{../doc/my.pdf} and the link will work in HTML >> versions of help, and won't be too mis

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread hadley wickham
> They are meant to replace the INDEX, which you shouldn't need to create > any more. The DESCRIPTION file is still needed, but it contains more > structured information meant for mechanical reading and processing; the > package man page is meant to be the place to put things intended for > people

Re: [Rd] Links to non-vignette documentation

2006-02-23 Thread Gabor Grothendieck
I haven't followed this whole thread but note that if your package is called mypkg then you can create an .Rd file called mypkg-package.Rd which will be called up when the user issues: package?mypkg and that can contain links to whatever you are interested in. Try library(dyn) package?dyn for

Re: [Rd] Utilizing the internet module

2006-02-23 Thread Prof Brian Ripley
On Thu, 23 Feb 2006, Jeffrey Horner wrote: > Prof Brian Ripley wrote: >> On Thu, 23 Feb 2006, Jeffrey Horner wrote: >> >>> Hello all, >>> >>> I'd like to utilize the R_Sock* functions from R_ext/R-ftp-http.h in my >>> R package. The intent is to use these in conjunction with R_serialize() >>> t