similar to: Stifling REprintf() output

Displaying 20 results from an estimated 2000 matches similar to: "Stifling REprintf() output"

2019 Sep 15
0
[External] REprintf could be caught by tryCatch(message)
On Sun, 15 Sep 2019, Jan Gorecki wrote: > Dear R-devel community, > > There appears to be an inconsistency in R C API about the exceptions > that can be raised from C code. > Mapping of R C funs to corresponding R functions is as follows. > > error -> stop > warning -> warning > REprintf -> message This is wrong: REpintf is like cat with file = stderr().
2019 Sep 16
0
[External] REprintf could be caught by tryCatch(message)
You can file it as a wishlist item in the bug trackign system. Without a compelling case or a complete and well tested patch or both I doubt it will rise to the top of anyone's priority list. Best, luke On Sun, 15 Sep 2019, Jan Gorecki wrote: > Thank you Luke for prompt reply. > Is it possible then to request a new function to R C API "message" > that would equivalent to
2017 Nov 21
1
Are Rprintf and REprintf thread-safe?
Thanks - I'll find another way to send messages to the main thread for printing. -Winston On Tue, Nov 21, 2017 at 12:42 PM, <luke-tierney at uiowa.edu> wrote: > On Tue, 21 Nov 2017, Winston Chang wrote: > >> Is it safe to call Rprintf and REprintf from a background thread? I'm >> working on a package that makes calls to fprintf(stderr, ...) on a >>
2019 Sep 15
2
REprintf could be caught by tryCatch(message)
Dear R-devel community, There appears to be an inconsistency in R C API about the exceptions that can be raised from C code. Mapping of R C funs to corresponding R functions is as follows. error -> stop warning -> warning REprintf -> message Rprintf -> cat Rprint/cat is of course not an exception, I listed it just for completeness. The inconsistency I would like to report is
2017 Nov 21
2
Are Rprintf and REprintf thread-safe?
Is it safe to call Rprintf and REprintf from a background thread? I'm working on a package that makes calls to fprintf(stderr, ...) on a background thread when errors happen, but when I run R CMD check, it says: Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor the system RNG. Is it safe to replace these calls
2019 Sep 15
2
[External] REprintf could be caught by tryCatch(message)
Thank you Luke for prompt reply. Is it possible then to request a new function to R C API "message" that would equivalent to R "message" function? Similarly as we now have C "warning" and C "error" functions. Best, Jan On Sun, Sep 15, 2019 at 5:25 PM Tierney, Luke <luke-tierney at uiowa.edu> wrote: > > On Sun, 15 Sep 2019, Jan Gorecki wrote:
2006 Apr 13
1
bus error on calling nmmin
Hi, I'm trying to get a toy program making use of nmmin to run successfully. I've gotten to the point of compiling. However, when I attempt to run my executable, I guess a bus error. I see that someone else has asked about using nmmin before <http://tolstoy.newcastle.edu.au/R/help/06/03/23944.html>, but I haven't come across any replies. Is there some documentation on how to
2003 Dec 17
2
Can't start R-devel
Hello ... With a new checkout of R-devel, I'm getting the following error on startup: Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for a HTML browser interface to help. Type 'q()' to quit R. Error in open.connection(con, "rb") : unable to open connection In addition: Warning message: cannot open compressed file
2009 Feb 04
3
auth_debug_passwords
Hi. I'm new to Dovecot and about to start using it in production. In the config file, I set the option, auth_debug_passwords, to yes. I do not see any failed passwords logged, however. It did cause more verbose authentication logging, but failed passwords are still hidden. I have also set these options to yes, because I thought they might be required for auth_debug_passwords to work:
2003 May 23
1
Problem building R-devel
Hello ... I went to build R-devel today (Redhat Linux 7.2, kernel 2.4.9-31, gcc 2.96) and am getting this error: gcc -I../../src/extra/zlib -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -g -O2 -c pcre.c -o pcre.o pcre.c: In function `do_pgrep': pcre.c:71: parse error before `char' pcre.c:72: `s' undeclared (first use
2003 Sep 16
2
couldn't find function "setClass"
Hello ... With a new checkout of R-devel (last update was 2003-09-11) we are having a problem (it seems to be happening to all of us here on a few different machines) where during install/check/etc when the 'save image' happens (in packages using 'save image'): ** save image Error: couldn't find function "setClass" Execution halted This is for all packages that
2004 Mar 31
2
segfault in browseURL()
Hello ... Using Win2K (and reportedly WinXP), when the length of the 'url' string >= 280 characters, a segmentation fault occurs. This doesn't seem to be affecting unix machines. Thanks -J
2003 Nov 13
2
install.packages() for a local file
Hello ... I see that on Windows one can specify a filename as the "pkgs" argument and then set CRAN=NULL when calling install.packages() for a local file. Is there a way to do this on unix? It doesn't appear to be possible, but perhaps I am missing something here. Also, if indeed there is no method to do this on unix, is there a reason behind it or has it just never been
2004 Aug 23
2
Installing package lattice
Here's another issue (that might well be operator error): > install.packages("lattice") ... ... ** save image Loading required package: grid Error in importIntoEnv(impenv, impnames, ns, impvars) : object(s) 'dev.list', 'cm.colors', 'gray', 'heat.colors' are not exported by 'namespace:graphics' Execution halted ERROR: execution of
2005 Jul 19
1
Problem building R
I initially thought this only was the case for me on R-devel, but also just tested it on the current R-patched and R-2.1.1 (so perhaps this more belongs on R-help, but ...). I'm having an odd error with the makefiles in src/library/XXX while building R. When it tries to create the 'po' directory, the Makefile specifies: @if test -d $(srcdir)/inst/po; then \ $(MKINSTALLDIRS)
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
The patch below adds support for custom HTTP headers in download.file() and url(). My main motivation for this is performing basic http authentication. Some web sites do not support embedding the credentials into the URI itself, they only work if the username and password are sent in the HTTP headers. In fact specifying the username and password in the URI has been
2003 Apr 28
1
installed.packages() with no packages
Hello ... I found this due to a situation where installed.packages() was given a lib.loc argument that turned out to not have any R packages installed. As an example: > z <- tempfile() > dir.create(z) > installed.packages(z) Error in "colnames<-"(*tmp*, value = c("Package", "LibPath", pkgFlds)) : dimnames applied to non-array Looking at the code,
2004 Aug 23
1
Possible Latex problem in R-devel?
I'm getting this error when installing packages w/ a checkout of R from a a little bit ago (23-Aug-2004, approx 1pm eastern US time): ** help Bareword found where operator expected at /usr/home/jgentry/R/share/perl/R/Rdconv.pm line 2331, near "$latexout latex_link_trans0" (Missing operator before latex_link_trans0?) It isn't obvious to me what the error is, although
2004 Oct 12
1
R/BioConductor error (PR#7282)
Full_Name: H Deshmukh Version: 2.0 OS: 2000 Submission from: (NULL) (129.174.206.239) Can somebody tell me what is it that i am doing wrong,i was not sure whether to post BioConductor error here or not. Thanks >source("http://www.bioconductor.org/getBioC.R") > getBioC(libName = "all") Running getBioC version 1.2.65.... If you encounter problems, first make sure that
2003 Jul 22
1
using getBioC()
Hello, I am trying to install R/Bioconductor on a G4 Mac running OS X. I have successfully installed R so that a command window opens, but installation of the downloaded Bioconductor package is giving me trouble. After copying/pasting the Bioconductor installation script in to the window and typing getBioC(), I get the following error message. "Error in getBioC(): R not currently