[R-SIG-Mac] Function argument display on GUI console border
Simon Urbanek
simon.urbanek at r-project.org
Sat Dec 17 00:22:25 CET 2011
On Dec 16, 2011, at 1:35 PM, David Winsemius wrote:
>
> On Dec 16, 2011, at 1:18 PM, Simon Urbanek wrote:
>
>>
>> On Dec 16, 2011, at 12:54 PM, David Winsemius wrote:
>>
>>>
>>> The display of function arguments along the lower border of the Console window now seems very erratic. If I now type
>>>
>>> duplicated(
>>>
>>> ... I was expecting to see the usage argument list along the lower border.
>>
>> You should see
>>
>> duplcated(x, incomparables = FALSE, ...)
>>
>> in the bottom bar - at least that's what I get.
>>
>>
>>> Am I the only one who has seen this feature become less predictably available?
>>>
>>
>> You'll have to be more precise as of what you see .... Since the console essentially just evaluates capture.output(print(args(...))), you can obviously break it by any R code that changes the behavior of the pieces involved. But then I don't know why anyone would to that ... ;)
>
> The display of parameters seems to be reproducibly inhibited after backspacing or selecting and deleting a function name that had an argument list displayed. If I type "duplicated(", and then see an argument list , then backspace over it and hit <enter> and then type "duplicated(" again, I see no arguments.
Ah, yes - I see there is a check whether that function was already displayed which inhibits the repeated display (added in r5773 - I'm not sure why, possibly optimization to prevent re-fetching the argument list). Now fixed.
Thanks,
Simon
> I did discover by accident that I sometimes get back the desired behavior after typing sessionInfo(). I will generally get display of arguments from other functions after that, but "duplicated" seems to be blanked out until <something happens to make it recognized again>.
>
>>
>> Cheers,
>> Simon
>>
>>
>>>> sessionInfo()
>>> R version 2.14.0 Patched (2011-11-13 r57650)
>>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>>
>>> locale:
>>> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>>
>>> attached base packages:
>>> [1] splines stats graphics grDevices utils datasets methods
>>> [8] base
>>>
>>> other attached packages:
>>> [1] latticeExtra_0.6-19 RColorBrewer_1.0-5 Matrix_1.0-1
>>> [4] rms_3.3-2 Hmisc_3.9-0 timereg_1.6-0
>>> [7] survival_2.36-10 sos_1.3-1 brew_1.0-6
>>> [10] lattice_0.20-0
>>>
>>> loaded via a namespace (and not attached):
>>> [1] cluster_1.14.1 grid_2.14.0 tools_2.14.0
>>>
>>>
>>> David Winsemius, MD
>>> West Hartford, CT
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>
>>>
>>
>
> David Winsemius, MD
> West Hartford, CT
>
>
More information about the R-SIG-Mac
mailing list