similar to: File and console output does not work in C code

Displaying 20 results from an estimated 800 matches similar to: "File and console output does not work in C code"

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
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
2012 Sep 15
2
qplot: plotting precipitation data
Dear list, I wish to plot chromatin precipitation data: I would like to have a rectangles (x:end-start, y:peak) but I do not have an idea how to define x (in terms of qplot syntax) and to choose the correct geom. mydata is a subset of a larger file. > mydata chrom start end peak 1 chr11 5291000 5291926 8 2 chr11 10988025 10988526 7 3 chr11 11767950 11768676 8 4
2007 May 03
5
INBOX inaccessible
Hi, One of my users can't read message of his Inbox, he can view subject of message with Thunderbird or Squirrelmail and IMAP but when he click on a message in order to read it he has thess messages with Thunderbird : The current command did not succeed. Invalidmessageset: 1181461470:-1181461446. ou 1181461444:* ou 1181461444:-1181461445 with Squirrelmail : SquirrelMail: ERREUR ERREUR: Le
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:
2014 Dec 04
0
GD libraries and $PREFIX (was Re: building NUT on Mac OS X Yosemite(website/documentation))
On Dec 3, 2014, at 7:05 PM, simon-alioth at eazimail.com wrote: > One other issue I noticed is with the placement of the GD libraries, if they > are not installed under the root it will not find them > > If I build GD into /build/usr and add the following lines to my make script > for nut: > > PREFIX=/build/usr > > configure \ >
2014 Dec 07
1
GD libraries and $PREFIX (was Re: building NUT on Mac OS X Yosemite(website/documentation))
Hi Charles, Typo on my part (copy pasting diff scripts). I tried building libGD in the following directory (sPREFIX is an env name I use in scripts): sPREFIX=${PWD}/../build/usr This works, all files in the correct directory. Next I try building NUT with the following params: sPREFIX=${PWD}/../build/usr configure \ --with-gd-includes="-I${sPREFIX}/include/libgd" \
2004 Jun 22
3
[Q] GET_DIM() crash on Windows only
I have the following contrived code in package format. On Solaris and Mac OS X, code runs just fine. On Windows, it crashes the R environment with the "Send Bug Report" dialog. I tried R 1.8.1 (Win2K) and R 1.9 (WinXP) binaries with the same result. PCs otherwise appear properly configured for creating R packages. Anything blatantly wrong? Suggestions? TIA Relevant files from package
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 >>
2007 Nov 12
8
More failover issues
In 1.6.0, when creating a MDT, you could specify multiple --mgsnode options and it would failover between them. 1.6.3 only seems to take the last one and --mgsnode=192.168.1.252 at o2ib:192.168.1.253 at o2ib doesn''t seem to failover to the other node. Any ideas how to get around this? Robert Robert LeBlanc College of Life Sciences Computer Support Brigham Young University leblanc at
2007 Nov 28
1
libgd question on CentOS (in order to get PerfParse working with Nagios)
Do I have the necessary gd packages installed on my CentOS 4 box? rpm -qa | grep gd gdk-pixbuf-0.22.0-17.el4.3 gdk-pixbuf-devel-0.22.0-17.el4.3 gdbm-1.8.0-24 gdbm-devel-1.8.0-24 gd-devel-2.0.28-5.4E gd-2.0.28-5.4E gdm-2.6.0.5-7.rhel4.15 sysklogd-1.4.1-26_EL I'm trying to install PerfParser (./compile->make && make install), but I'm getting a "gImageString error",
2008 Apr 15
3
Network UPS Tools version 2.2.2-pre2 released
Network UPS Tools version 2.2.2-pre2 has been released. http://www.networkupstools.org/ Direct access: - Download: http://www.networkupstools.org/source/2.2/testing/nut-2.2.2-pre2.tar.gz - News: http://www.networkupstools.org/source/2.2/testing/new-2.2.2-pre2.txt - ChangeLog: http://www.networkupstools.org/source/2.2/testing/ChangeLog Arnaud and the NUT team -- Linux / Unix Expert R&D -
2000 Jul 06
5
OpenSSH on RH SPARC
Anybody made OpenSSH work on a SPARC machine yet? I managed to get OpenSSL to compile correctly, via a patch to fix the location of perl (on RPM based systems, it will almost always be in /usr/bin/perl, not in /usr/local/bin/perl), and a small patch to the spec file to allow for SPARC builds. That RPM is built and installed without any errors that I can detect. OpenSSH is failing during a key
2009 May 15
2
Changing owner/group on samba share
I've looked around and can't find the answer. We have a Samba file server joined to our Active Directory and using ACLs. We are enforcing quotas on this machine, but when specifying the home directory, the directory is owned by the person who created it. Using Windows and going into the security permissions, there doesn't seem to be a way to remove the owning user/group. When you hit
2023 Feb 23
1
Compilation Error when DEBUG_approx Toggled on in RISC-V
Hi all, While compiling R to RISC-V64 architecture and debugging in R's C source codes, I think I have found a small bug. Can anyone please verify whether it is a real bug? The possible bug lies in the file `R-4.2.2/src/library/stats/src/approx.c` in function `R_approxfun` around line 148: #ifdef DEBUG_approx REprintf("R_approxfun(x,y, nxy = %.0f, .., nout = %.0f, method = %d,
2007 Nov 22
1
Package specific dependencies...
Hi, I noticed recently when installing the GDD package for R under GNU/Linux that it required the gd library (http://libgd.org/) for generating graphics. The resolution of this was to simply install the library on my system, and then GDD successfully installed without any complaints. However, the variant of GNU/Linux that I use is Gentoo, so I filed a bug requesting that a USE flag be set for
2004 Jun 14
4
Problem with transfering files between Solaris and HPUX 11.00
Is terir any known problem with this? Can someone let me know if they are movingp and Solrais with rsync.
2007 Apr 15
2
While I'm Thinking About metaflac...
While I'm playing around with it, I'd like to ask about something I've noticed. Sometimes when I use metaflac to add tags, it performs it's operation instantly in a split second. Other times the same command causes lot of HDD I/O's and I can see it create a "filename.flac.metadata_edit" temp file. For example - I just added tags to a 25MB file and it took 15 seconds
2009 Oct 18
2
Convert idmap_rid to idmap_hash?
I was looking through the change log of 3.3.0 and noticed that a new idmap_hash was introduced that seems to play well with trusted domains. What means are available to convert all my rids to this new hash so I can update file permissions? Thanks, Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University
2010 Jun 07
2
Microsoft OneNote 2007 painfully slow
We have a user trying to share a OneNote 2007 notebook and it takes minutes to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from the same share and it took seconds. Has anyone else run into this problem? We are running Samba 3.4.8 on Debian Squeeze. Thanks, Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University