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

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Jul 30 23:14:59 CEST 2012



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 move it to the appropriate directory.
>
> Best,
> Michael
>
> On Sun, Jul 29, 2012 at 12:17 PM, Paul Roebuck <paul_roebuck at comcast.net> wrote:
>>> ?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 missing, with no default
>>> version
>> platform       x86_64-apple-darwin9.8.0
>> arch           x86_64
>> os             darwin9.8.0
>> system         x86_64, darwin9.8.0
>> status         Patched
>> major          2
>> minor          15.1
>> year           2012
>> month          07
>> day            05
>> svn rev        59734
>> language       R
>> version.string R version 2.15.1 Patched (2012-07-05 r59734)
>> nickname       Roasted Marshmallows
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list