From ligges at statistik.tu-dortmund.de  Mon Jul 30 23:14:59 2012
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Mon, 30 Jul 2012 23:14:59 +0200
Subject: [Rd] [BUG?] utils::prompt(name=f)
In-Reply-To: <CAAmySGN6ms8PGt5mzrw+Cmspf93w1kq0pc=2_YeoMSoXcqR6Jw@mail.gmail.com>
References: <2AEDBAEB-8185-45E9-AE2A-61CDD962332D@comcast.net>
	<CAAmySGN6ms8PGt5mzrw+Cmspf93w1kq0pc=2_YeoMSoXcqR6Jw@mail.gmail.com>
Message-ID: <5016F953.1040101@statistik.tu-dortmund.de>



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
>



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