Re: [Rd] [BUG?] utils::prompt(name=f)

2012-07-30 Thread Uwe Ligges
On 30.07.2012 21:13, R. Michael Weylandt wrote: Just for the record, I don't see that error with 2.15.0 or with R-Devel 60040-someodd. .. nor do I see it with R-release. Uwe Both display foo <- function(x) cat(x, "\n") prompt(name = "foo") Created file named ‘foo.Rd’. Edit the file and

Re: [Rd] Shared routines in a dynamic library.

2012-07-30 Thread Prof Brian Ripley
On 30/07/2012 14:48, David L Lorenz wrote: All, I have a question about referring to a subroutine that is in a dynamic library other than the one in my current package. Let's say that I have a package foo and it has some FORTRAN code that contains the subroutines foo1 and foocommon. The packag

Re: [Rd] [BUG?] utils::prompt(name=f)

2012-07-30 Thread R. Michael Weylandt
Just for the record, I don't see that error with 2.15.0 or with R-Devel 60040-someodd. Both display > foo <- function(x) cat(x, "\n") > prompt(name = "foo") Created file named ‘foo.Rd’. Edit the file and move it to the appropriate directory. Best, Michael On Sun, Jul 29, 2012 at 12:17 PM, Paul R

[Rd] confusion over S3/S4 importing

2012-07-30 Thread Ben Bolker
Can anyone help me figure out the right way to import a method that is defined as S3 in one package and S4 in another? Specifically: profile() is defined as an S3 method in the stats package: function (fitted, ...) UseMethod("profile") In stats4 it is defined as an S4 method: stats4:

[Rd] Shared routines in a dynamic library.

2012-07-30 Thread David L Lorenz
All, I have a question about referring to a subroutine that is in a dynamic library other than the one in my current package. Let's say that I have a package foo and it has some FORTRAN code that contains the subroutines foo1 and foocommon. The package foo has an R function that calls foo1 and

[Rd] Package index help file question.

2012-07-30 Thread Damien Georges
Dear R developers, I come to you because nobody was able to answer the following request yet. I'm developing a release of BIOMOD package called biomod2 ( https://r-forge.r-project.org/R/?group_id=302). I'm writing my package helps files and I'm not really satisfied by the visual results. I wou

[Rd] [BUG?] utils::prompt(name=f)

2012-07-30 Thread Paul Roebuck
> ?prompt [SNIP] ## Create a help file for each function in the .GlobalEnv: for(f in ls()) if(is.function(get(f))) prompt(name = f) > foo <- function(x) { cat(x, '\n')} > prompt(name="foo") Error in utils:::prompt(object, filename = filename, name = name, ...) : argument "object" is mis