[Rd] Is this surprising behavior of tkimage.create function a bug?

2020-07-09 Thread オチショウタ
tkimage.create function can read some images but can't read the other images. We can reproduce it by running the code below. - library(tcltk) library(magick) # works fine tmp <- tempfile(fileext = ".gif") image_wri

[Rd] lapply and vapply Primitive Documentation

2020-07-09 Thread Cole Miller
The documentation of ?lapply includes: > lapply and vapply are primitive functions. However, both evaluate to FALSE in `is.primitive()`: is.primitive(vapply) #FALSE is.primitive(lapply) #FALSE It appears that they are not primitives and that the documentation might be outdated.