similar to: typeof(getOption("warn")) is "integer" instead of "double" in R unstable (2019-09-27 r77229)? Reproducible?

Displaying 20 results from an estimated 200 matches similar to: "typeof(getOption("warn")) is "integer" instead of "double" in R unstable (2019-09-27 r77229)? Reproducible?"

2019 Sep 29
2
typeof(getOption("warn")) is "integer" instead of "double" in R unstable (2019-09-27 r77229)? Reproducible?
Thanks a lot for pointing out the reason (and yes, I am testing quite to stringent in this case - it's my old testing disease ;-) For other readers: The R-devel NEWS is a good source to find possible change reasons: https://stat.ethz.ch/R-manual/R-devel/doc/html/NEWS.html On Sun, 2019-09-29 at 08:33 -0400, Duncan Murdoch wrote: > On 29/09/2019 7:55 a.m., nospam at altfeld-im.de wrote:
2019 Sep 29
0
typeof(getOption("warn")) is "integer" instead of "double" in R unstable (2019-09-27 r77229)? Reproducible?
On 29/09/2019 7:55 a.m., nospam at altfeld-im.de wrote: > Hi, > > I have a failing unit test in my package tryCatchLog on the CRAN build infrastructure > (https://cran.r-project.org/web/checks/check_results_tryCatchLog.html) > with "R Under development (unstable) (2019-09-27 r77229)" > and the unit tests just ensures consistent behaviour of R (not of my package) as a
2023 Apr 16
2
Unique ID for conditions to supress/rethrow selected conditions?
I am the author of the *tryCatchLog* package and want to - suppress selected conditions (warnings and messages) - rethrow selected conditions (e.g a specific warning as a message or to "rename" the condition text). I could not find any reliable unique identifier for each possible condition - that (base) R throws - that 3rd-party packages can throw (out of scope here). Is there any
2018 Nov 07
1
Problem building rmarkdown vignettes with child
Hello, This is a problem I posted about already some time ago: https://stat.ethz.ch/pipermail/r-devel/2018-September/076786.html Finally, I did had some time to create a minimal package to reproduce the problem that vignettes with child can not be build. https://github.com/wolski/RmarkdownVignetteProblem The problem basically is that while all the vignettes can be build by running
2015 Nov 19
0
PATCH: Sense if git should be used (for tarball) and if typeof needs to be __typeof__
I'd like to submit the attached patch to configure.ac fixing two issues: 1. Packaging systems such as pkgsrc use source tarballs not git, so configure could try to see if it's really in a git repository else use ChangeLog to determine the driver date to use. NB 'git log' should probably already be 'git log -1' 2. When using strict ISO C compilers, such as if
2015 Nov 19
0
PATCH: Sense if git should be used (for tarball) and if typeof needs, to be __typeof__
I'd like to submit the attached patch to configure.ac fixing two issues: 1. Packaging systems such as pkgsrc use source tarballs not git, so configure could try to see if it's really in a git repository else use ChangeLog to determine the driver date to use. NB 'git log' should probably already be 'git log -1' 2. When using strict ISO C compilers, such as if
2015 Nov 19
0
PATCH: Sense if git should be used (for tarball) and if typeof needs to be __typeof__
I'd like to submit the attached patch to configure.ac fixing two issues: 1. Packaging systems such as pkgsrc use source tarballs not git, so configure could try to see if it's really in a git repository else use ChangeLog to determine the driver date to use. NB 'git log' should probably already be 'git log -1' 2. When using strict ISO C compilers, such as if
2013 Mar 22
1
Why does typeof() modify an object's "named" field?
Hello, Doing typeof() on an object appears to reset the "named" field in its sxpinfo header to 2, which can change the way that subsequent subassignment operations are carried out: X <- 1:5e7 .Internal(inspect(X)) # @4eeb0008 13 INTSXP g0c7 [NAM(1)] (len=50000000, tl=0) 1,2,3,4,5,... system.time(X[1] <- 9L) # user system elapsed # 0 0 0 typeof(X)
2019 Dec 16
0
source definition for R_NilValue/return from TYPEOF(R_NilValue)
On Sun, 15 Dec 2019 10:47:11 +0000 Dan Kortschak <dan.kortschak at adelaide.edu.au> wrote: > I'd like to see the source definition of R_NilValue, but after > fair bit of searching I cannot find an obviously location for this. > > Would someone please point me in the right direction? As far as I understand, the assignment to R_NilValue happens in src/main/memory.c:
2014 Apr 02
3
Typeof for character vector in dataframe returns integer
Hi , I want to know is this behavior expected and why is that ? Need some help gender <- c("F", "M", "M", "F", "F", "M", "F", "F") > age <- c(23, 25, 27, 29, 31, 33, 35, 37) > df<- data.frame(gender,age) > typeof(df[[1]]) [1] "integer"
2019 Dec 15
4
source definition for R_NilValue/return from TYPEOF(R_NilValue)
Hello, for reasons I want to know the return value of TYPEOF(R_NilValue), I expect it to be NILSXP, but I can't find this documented anywhere. Ideally, I'd like to see the source definition of R_NilValue, but after fair bit of searching I cannot find an obviously location for this. Would someone please point me in the right direction? thanks -- CRICOS provider code 00123M
2010 Feb 10
3
What is the difference between typeof and storage.mode?
S Programming by Venables and Ripley (2000) says on page 8, "R objects have another way to give information using the function \tttext{typeof}, which often gives the same information as \tttext{storage.mode}." It implies that there are some differences between typeof and storage.mode. However, according to ?typeof and ?storage.mode, it doesn't seem to be so. Could somebody let me
2011 Nov 09
1
[ reached getOption("max.print") -- omitted 8178 rows ]]
Hi, I have a weird thing I don¹t understand. Here¹s what I did: I read some data: data=read.table("fileName²) then I printed the data to the screen: data But it didn¹t finish: lot¹s of data was written out, but not all of it... Then it interrupted and said: [ reached getOption("max.print") -- omitted 8178 rows ]] Is there a setting somewhere that I can change to get to see all of my
2012 Sep 24
1
[ reached getOption("max.print") -- omitted 138 rows]
Dear useRs, does anyonw now how to avoid [ reached getOption("max.print") -- omitted 138 rows]. i read from the R forum that it can be avoided by increasing the 'max.print' option as much as i like, but i dnt know, how?? need your help on it. regards eliza [[alternative HTML version deleted]]
2003 Dec 16
1
getOption("repositories")
Out of curiosity, what happened to this? With 1.8.1 it returns: > getOption("repositories") CRAN "http://cran.r-project.org/src/contrib" BIOC "http://www.bioconductor.org/src/contrib" With R-devel it returns: > getOption("repositories") NULL It appears to have been taken
2008 Apr 26
0
Misuse of get(getOption("device"))() in packages
Quite a few packages have used this construct to launch a device, but it has several flaws. It's not clear in most cases that a package really needs to launch a new device (R will do so if needed), but 2.7.0 provides a function dev.new() to do so. (If you really need this in a GPL-ed package that must run in R < 2.7.0, consider copying dev.new.) You cannot assume any arguments for
2014 Mar 20
0
possible bug: graphics::image seems to ignore getOption("preferRaster")
the details section of ?image says: > If useRaster is not specified, raster images are used when the > getOption("preferRaster") is true, the grid is regular and either > dev.capabilities("raster") is "yes" or it is "non-missing" and there > are no missing values. but in my experience this is never the case and
2006 Sep 13
1
example(..., ask=getOption("example.ask"))
Hi, I wish to return to the topic "[Rd] example(ask = .) - default ?" discussed in R-devel on May 1, 2006, because I think it is related to my problem. In one of my Rd examples I generate multiple (20-30!) PNG files using png()/dev.off(). I noticed that I get a "Hit <Return> to see next plot:" for each png() call, when calling example() [interactively]. The code for
2017 Aug 25
0
getOption() versus Sys.getenv
On 25/08/2017 1:19 PM, Sam Albers wrote: > Hi there, > > I am trying to distinguish between getOption() and Sys.getenv(). My > understanding is that these are both used to set values for variables. > getOption is set something like this: option("var" = "A"). This can be > placed in an .Rprofile or at the top of script. They are called like this >
2020 Aug 06
0
[vhost:vhost 32/65] drivers/virtio/virtio_input.c:247:3: warning: comparison of distinct pointer types ('typeof (_Generic((virtio_cread_v), __u8: (virtio_cread_v), __le16: (__builtin_constant_p((__u16)((__u16)(__le16)(virtio_cread_v)))
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost head: 1a86b377aa2147a7c866b03142e848c18e5f3cb8 commit: b025584098e621d88894d28e80af686958e273af [32/65] virtio_input: convert to LE accessors config: powerpc-randconfig-r031-20200805 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 076b120bebfd727b502208601012a44ab2e1028e)