Re: [Rd] Wishlist: Navigate to "Index" page of help when no topic (PR#13872)

2009-08-05 Thread Steven McKinney
Thanks Romain, I find index?survival more intuitive than my proposed ?survival:: Steven McKinney From: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] On Behalf Of Romain Francois [romain.franc...@dbmail.com] Sent: August 4, 2009 11:24

Re: [Rd] inheriting C symbols

2009-08-05 Thread Jeff Ryan
Terry, I think I don't quite follow what you want to do. You have a package that needs to access the R level functions in another, or the C level functions? Do you need access *from R* for the above, or *from new C code*? If you are just looking to call .Call("other_package", ...) I think your

Re: [Rd] inheriting C symbols

2009-08-05 Thread Terry Therneau
Thanks for the information. I'd looked through the manual but missed this. Follow-up questions 1. I'd never paid much attention to that whole "register routines" section of the manual because a) it didn't seem necessary (my code worked anyway) and b) it's quite complex. Your answer is that if I

Re: [Rd] inheriting C symbols

2009-08-05 Thread Jeff Ryan
This has been discussed before: http://www.nabble.com/Dynamic-linking-to-binary-code-from-other-packages---td20167535.html#a20474561 Take a look at 'xts' on cran, or R-forge. Specifically: http://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/inst/api_example/README?rev=386&root=xts&view=

[Rd] inheriting C symbols

2009-08-05 Thread Terry Therneau
The package coxme depends heavily on bdsmatrix, to the point of needing access to some of its C calls. The kinship package (in progress) uses the R level functions in bdsmatrix, but not the C calls. That is, I don't want to always export the symbols. For testing I can use an explicit dyn.load('s

[Rd] exec subdirectory of a package

2009-08-05 Thread Romain Francois
Hello, WRE contains the following information about the "exec" subdirectory of a package : "Subdirectory exec could contain additional executables the package needs, typically scripts for interpreters such as the shell, Perl, or Tcl. This mechanism is currently used only by a very few packages

[Rd] compiling DLL under Visual Studio IDE

2009-08-05 Thread Thomas Mang
Hi, I have successfully compiled DLLs and invoked the functions using the R toolset. I would also like to compile the DLL using Microsof Visual Studio compiler (2005, if that matters). The FAQ tells how to do that from the command line; however I'd also like to do that from within the IDE. So

Re: [Rd] Inaccurate complex arithmetic of R (Matlab is accurate)

2009-08-05 Thread Ravi Varadhan
Dear John, Thank you. I am amazed at the insightful responses of people in the R-devel group and even more so amazed at the rapdity with which the R core group and other knowledgeable R folks respond to and fix the problems. Big thanks to Martin Becker, Ash Richardson, Duncan Murdoch and Mar

[Rd] Error (or inaccuracy) in complex arithmetic (PR#13869)

2009-08-05 Thread RVaradhan
Dear All, I have been trying to compute "exact" derivatives in R using the idea of complex-step derivatives. This is a really, really cool idea. It gives "exact" derivatives by using a very small, complex step (e.g. 1.e-15i). Unfortunately, I cannot implement this in R as the "complex arithme

Re: [Rd] Inaccurate complex arithmetic of R (Matlab is accurate)

2009-08-05 Thread Martin Maechler
> "JN" == John Nolan > on Tue, 4 Aug 2009 18:05:47 -0400 writes: JN> Ravi, JN> There has been a lot of chatter about this, and people don't seem to be JN> reading carefully. Perhaps this will help clarify things. Yes, I hope so; thanks a lot, John!! {Indeed, I've been