Hi,
maybe it would be a good idea to extend plotmath by a href command.
Sigbert
Am 08.03.23 um 22:46 schrieb Paul Murrell:
Hi
On 8/03/23 15:27, Rusty Travis wrote:
On 3/7/23 13:12, Paul Murrell wrote:
Hi
I think the main issue here is that you are *drawing* text on the
graphics device,
Hi
On 8/03/23 15:27, Rusty Travis wrote:
On 3/7/23 13:12, Paul Murrell wrote:
Hi
I think the main issue here is that you are *drawing* text on the
graphics device, so I would only expect to see literal XML text output
in the result.
'''
Hope that helps
Thank you for your consideration
I see many are not thrilled with the concise but unintuitive way it is
suggested you use with the new R pipe function.
I am wondering if any has created one of a family of functions that might be
more intuitive if less general.
Some existing pipes simply allowed you to specify where in an
Dear Bert,
Thank you for the idea.
It works, although a little bit ugly. The original code generated an
ugly warning as well. I have modified it slightly:
is.function.generic = function(name) {
# TODO: is.function.generic();
# - this version is a little bit ugly;
# - S4:
Dear Gregg,
Thank you for the fast response.
I believe though that isGeneric works only for S4-functions:
isGeneric("plot")
# FALSE
I still try to get it to work.
Sincerely,
Leonard
On 3/8/2023 9:13 PM, Gregg Powell wrote:
Yes, there is a way to check if a function is generic. You can
?.S3methods
f <- function()(2)
> length(.S3methods(f))
[1] 0
> length(.S3methods(print))
[1] 206
There may be better ways, but this is what came to my mind.
-- Bert
On Wed, Mar 8, 2023 at 11:09 AM Leonard Mada via R-help <
r-help@r-project.org> wrote:
> Dear R-Users,
>
> I want to change the
Dear R-Users,
I want to change the args() function to return by default the arguments
of the default generic function:
args = function(name, default = TRUE) {
# TODO: && is.function.generic();
if(default) {
fn = match.call()[[2]];
fn = paste0(as.character(fn),
muchas gracias carlos!
El mar, 7 mar 2023 a las 14:11, Carlos Ortega ()
escribió:
> Hola,
>
> Dentro de la librería "stringi" tienes la posibilidad de hacer lo que
> quieres de forma vectorizada y super eficiente.
> De esta forma..:
>
> library(stringi)
> texto_nuevo <-
8 matches
Mail list logo