Displaying 20 results from an estimated 4000 matches similar to: "Rprintf under windows?"
2001 May 28
1
argument names in generic print functions (PR#955)
Hello,
I think this is a bug, although it is possible that I'm doind something
silly.
I want to be able to determine the argument name for variables passed to
a generic print function
suppose we have
print.foo <- function(x, ...)
{
nm<-deparse(substitute(x))
cat("param name is ", nm, "\n")
}
d<-structure(1, class="foo")
Under R-1.2.[2,3]
>
2001 Jan 10
1
configure error on alpha (PR#806)
Hi,
I've found that the default options of gcc and g77 on alpha produce an
executable that suffers from floating exceptions. There seems to be a
problem with the configure scripts that prevents the --with-f77 option
working correctly. The configure script tests that f77 is running by
attempting to compile and link a dummy program - the link step seems
broken on the alpha (it doesn't like
2004 Nov 16
1
Any success with RDCOMServer and R-2.0.0?
Hi Everyone,
I'm experimenting with the RDCOMServer package under R-2.0.0. I'm not
having much success yet - the methods im registering do show up in the
registry but I'm not able to call the using RDCOMClient from another
package. I'm still attempting to diagnose my problem in other ways, but
though I should check to see if there are any problems have been
observed by others
2001 Mar 01
0
Finalization and external pointer objects
Hi,
I've been developing an image analysis package based on R for a while
now and I've had problems relating to garbage collection, so it with
great interest that I've noticed the work done by Luke Tierney in this
area, and I'd like to discuss how best to fit it into my package. I'll
start with how my package is structured - an image is represented by an
integer with a class
2004 Nov 24
1
R-2.0.1 and Rggobi
Hi,
I've had no luck with the combination of R-2.0.1 and Rggobi/gobi (1.1-1
and 1.0-1 beta). I've tried a default configuration of ggobi, as well
as one with all the plugins enabled. I'm using RedHat 9 Linux.
The problem I'm experiencing is a segmentation fault when library.dynam
is called from .First.lib
ggobi appears to work OK from the command line. I had an earlier
2002 Jan 02
1
Building R-1.4 on Tru64
Hello everyone,
I've just attempted to build R-1.4 on Compaq Tru64 (I'll enclose the
text from bug.report() from R-1.3.1 at the end.) The relevant part of
the log is below.
Any ideas?
gcc -shared -o methods.so do_substitute_direct.o
methods_list_dispatch.o method_meta_data.o slot.o -L/usr/local/lib
/usr/ucb/ld:
Warning: Unresolved:
TYPEOF
Rf_error
Rf_protect
Rf_substitute
2001 Mar 04
1
passing pointer types via .C calls
Hi,
this relates to my earlier message about external references and
finalizers. I was experimenting over the weekend and now suspect that
the appropriate solution to my problem will be to have a special case in
the code that handles the .C call so that external references are
handled appropriately - I guess that a pointer to the reference should
be passed to the C code. As I've never
2002 Sep 06
3
explict sharing of symbols between packages
Hi everyone,
I'm thinking about breaking up a large package I have to
avoid loading some of the more specialised parts when it
isn't necessary.
The package is dependent on shared libraries. The base one
will keep all of the core stuff like constructors etc and
the specialised parts will need to access these. It is
obviously possible to set the "local" flag to false, however
2017 Jun 30
1
Rprintf expected encoding
I'm trying to find information about how to use Rprintf with a UTF-8
encoded string, and I'm not sure what the right cross-platform usage is.
I found an earlier thread about this
(http://r.789695.n4.nabble.com/How-to-print-UTF-8-encoded-strings-from-a-C-routine-to-R-s-output-td4724337.html)
but it wasn't very helpful.
If I want to print a UTF-8 string, I can do one of the
2010 Apr 05
2
Rprintf not updating
Hello all,
I am using Rprintf in a C for loop (from .Call) to print a progress indicator showing the current percent complete. The loop I am doing is an time intensive call to another function. I have noticed that Rprintf does not print to the R-window until the entire loop has been completed. When it reaches the end of the loop it suddenly prints 0 percent to 100 percent in a split second.
2008 Apr 16
1
C++ complains abouct Rprintf signature
Dear R-devel,
My g++ complains about the first argument to Rprintf being non-const char *. For example when compiling the line
Rprintf("hello world\n");
the following warning is emitted:
warning: deprecated conversion from string constant to 'char*'
Is there a reason for the non-const? It is curious that Rf_error, which is similar to RPrintf, is const.
If there is a need
2008 Jul 30
1
Rprintf will not build in my C++ compiler
I have searched through the threads and "Rprintf" causing a build error
dosen't seem to be a problem for anyone else. And I've read through "R
Extensions" and "An Introduction to the .C Interface to R" and there doesn't
seem to be any troubleshooting for my problem.
My code is straight from "An Introduction to the .C Interface to R" pg. 3.
And
2008 Jun 12
1
Rprintf and "C stack usage is too close to the limit"
Hi,
I would appreciate if someone could comment on this problem I am
experiencing. I am writing a C++ program to be called from R. In this
program, there is a verbose switch that decides whether to print some
debugging info using Rprintf. On windows, things work ok. On linux, things
are fine in non-verbose mode, but in verbose mode, I get error saying "C
stack usage is too close to the
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
>>
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
2002 Aug 25
1
windows focus and setting active device
Dear R users,
I am using R 5.1 on Windows 2000. Is there a system call or somesuch way of
identifying the graphic window which currently has focus and using that
information to make it the active device for futher plotting etc.
I have done a quick seaqrch in R the archives using 'focus active device'
but came up with nothing useful.
Any information would be most welcome. Thanks in
2003 Apr 02
4
vectorize an expression
Dear listers,
I'm having a bad R day. I just can't think of the vectorized equivalent of:
for (ii in 1:n) aa[ii] = bb[ii,cc[ii]]
Any suggestion received with embarrassment and gratitude
Simon Gatehouse
CSIRO Exploration and Mining,
Newbigin Close off Julius Ave
North Ryde, NSW
Mail: PO Box 136, North Ryde
NSW 1670, Australia
2002 May 21
1
windows common dialog for color selection in R
Dear R users,
I run R on windows 2000 and windows 98
I am seeking opinion, or better still a code snippet, on what might be the
quickest, not necessarily the best or preferred way, of making the Windows
color selection common dialog available in R. Would it be an executable
called with system() or shell() or perhaps a tcltk module or have I missed
something obvious? I don't believe that I
2001 Jun 25
1
Linking R to GIS
Dear All,
Has anyone worked with linking R to both ArcView and MapInfo GIS systems? My
desire is to capture object selection from GIS and pass to R and to return
spatially based statistical model results from R to GIS. If both could
simultaneously access the same data file this would be a bonus.
My inclination is to put together some routines based on ODBC linking but
thought I would seek like
2007 Feb 07
3
Redirect --stats to STDERR.
Hello,
I have written a little script that's would email me all errors.
rsync -vah --delete --stats <sources> <destination> >
/var/log/sauvegarde/listoffile.log 2> /var/log/sauvegarde/errors.log
My problem is i want to have the stats in my mail. Is it possible to
redirect --stats to STDERR.
I have tryed to do this :
/---