search for: rvprintf

Displaying 15 results from an estimated 15 matches for "rvprintf".

Did you mean: rprintf
2006 Jun 13
1
R-2.3.1 does not install on FreeBSD 4.11-RELEASE (PR#8971)
Full_Name: Kenji Rikitake Version: 2.3.1 OS: FreeBSD 4.11-RELEASE-p18 Submission from: (NULL) (220.157.163.221) After doing ./configure --disable-mbcs (as default in FreeBSD 4.x) and make the compilation stops at src/main/printutils.c as: printutils.c: In function `Rvprintf': printutils.c:582: `va_start' used in function with fixed args printutils.c:591: syntax error before `}' the following patch includes two fixes: 1) removing unnecessary va_start() and va_end() macro for Rvprintf() in src/main/printutils.c 2) fixing error by adding {} around callin...
2006 Jun 02
1
Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
...rintutils.c: "printutils.c", line 582.7: 1506-1352 (S) "va_start" may not appear in a function without a variable argument list. "printutils.c", line 591.5: 1506-277 (S) Syntax error: possible missing ';' or ','? Solution: add variable argument list in Rvprintf(const char *format, va_list arg, ...) add ';' in line 591 @echo "tools:::makeLazyLoading(\"$(pkg)\")" | \ R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) --slave > /dev/null in Makefiles of various packages leads to: *** caught illegal operation *** address 1000...
2008 Apr 16
1
C++ complains abouct Rprintf signature
...here is a need to keep it non-const in C please consider using the patch below in future releases. Thanks, Vadim Patch to R-2.6.1/include/R_ext/Print.h #ifdef __cplusplus extern "C" { #define CONST const #endif void Rprintf(CONST char *, ...); void REprintf(CONST char *, ...); void Rvprintf(const char *, va_list); void REvprintf(const char *, va_list); #ifdef __cplusplus } #undef CONST #endif [[alternative HTML version deleted]]
2006 Apr 13
1
bus error on calling nmmin
...") at ../../../../R-2.1.1/src/main/errors.c:514 #5 0x004deb38 in Rf_error (format=0xbfff9570 "Error: invalid connection\n") at ../../../../R-2.1.1/src/main/errors.c:538 #6 0x004acc18 in getConnection (n=-1073769104) at ../../../../R-2.1.1/src/main/connections.c:95 #7 0x0054dc04 in Rvprintf (format=0x5fe004 " Nelder-Mead direct search function minimizer\n", arg=0xbffffb7c "???P???X???`") at ../../../../R-2.1.1/src/main/printutils.c:494 #8 0x0054da70 in Rprintf (format=0xbfff9570 "Error: invalid connection\n") at ../../../../R-2.1.1/src/main/printutils.c...
2008 Apr 29
2
reproducible segmentation fault caused by textConnection()
Dear all, It seems that textConnection() can trigger a segmentation fault. The following script (using two large loops) makes this bug reproducible: for (i in 1:10000) { z=textConnection(NULL,open='w') for (j in 1:100) { write(runif(1)*1e6,file=z) write('\n',file=z) } close(z) } The bug could be reproduced on R-2.6.1, R-2.7.0 and on the latest R-devel
2005 Oct 17
1
RFC: API to allow identification of warnings and errors in the output stream
...sponding to R_WriteConsole. Also, a corresponding interface pointer ptr_R_WriteErrConsole is added. I think this change is highly consistent with output handling in R in general. There are different sink ()s for "output" and "message", there is the distinction between Rprintf/Rvprintf and REprintf/REvprintf. This basically just carries this distinction over to the interface pointers. You will note that I wrote ptr_R_WriteErrConsole = R_WriteConsole; instead of ptr_R_WriteErrConsole = Rstd_WriteErrConsole; or ptr_R_WriteErrConsole = ptr_R_WriteConsole; This way, code that curren...
2000 Feb 08
1
printutils bug on Linux/Alpha (PR#422)
...000 17:21:20 -0500 From: Tim Powers <timp@redhat.com> To: Martyn Plummer <plummer@iarc.fr> Subject: Re: RPMs for R and contributed packages > > I downloaded the source for 0.99.0, and am getting this error when building > for alpha: > > printutils.c: In function `Rvprintf': > printutils.c:424: wrong type argument to unary exclamation mark > make[3]: *** [printutils.o] Error 1 > make[3]: Leaving directory `/usr/src/bs/BUILD/R-0.99.0/src/main' > make[2]: *** [R] Error 2 > make[1]: *** [R] Error 1 > make: **...
2003 Oct 10
4
1.8.0 on Unix: interrupting huge print()s ??
NEWS for R 1.8.0 has >> USER-VISIBLE CHANGES >> >> <......> >> >> o On Unix-like systems interrupt signals now set a flag that is >> checked periodically rather than calling longjmp from the >> signal handler. This is analogous to the behavior on Windows. >> This reduces responsiveness to interrupts but prevents bugs
2003 Nov 21
1
R-1.8.1 is released
...hence works as expected. o split(1:10, c(1,2)) no longer gives a spurious warning. o The "Complex" S4 group generic now works. o abbreviate() doesn't get into infinite loops on input that differs only by leading/trailing space o Added check for user interrupt in Rvprintf to allow printing to be interrupted. o Fixed bug that would cause segfault on protect stack overflow. o crossprod() on matrices with zero extents would return an uninitialized matrix (rather than one filled with zeros). o DF[[i,j]] for a data frame used row j and col i, not as inte...
2003 Nov 21
1
R-1.8.1 is released
...hence works as expected. o split(1:10, c(1,2)) no longer gives a spurious warning. o The "Complex" S4 group generic now works. o abbreviate() doesn't get into infinite loops on input that differs only by leading/trailing space o Added check for user interrupt in Rvprintf to allow printing to be interrupted. o Fixed bug that would cause segfault on protect stack overflow. o crossprod() on matrices with zero extents would return an uninitialized matrix (rather than one filled with zeros). o DF[[i,j]] for a data frame used row j and col i, not as inte...
2020 Apr 24
0
R 4.0.0 is released
...is now remapped in Rinternals.h to installTrChar, of which it has been a wrapper since R 3.6.0. Neither are part of the API, but packages using installChar can replace it if they depend on R >= 3.6.2. * Header R_ext/Print.h defines R_USE_C99_IN_CXX and hence exposes Rvprintf and REvprintf if used with a C++11 (or later) compiler. * There are new Fortran subroutines dblepr1, realpr1 and intpr1 to print a scalar variable (gfortran 10 enforces the distinction between scalars and length-one arrays). Also labelpr to print just a label. * R_withC...
2020 Apr 24
0
R 4.0.0 is released
...is now remapped in Rinternals.h to installTrChar, of which it has been a wrapper since R 3.6.0. Neither are part of the API, but packages using installChar can replace it if they depend on R >= 3.6.2. * Header R_ext/Print.h defines R_USE_C99_IN_CXX and hence exposes Rvprintf and REvprintf if used with a C++11 (or later) compiler. * There are new Fortran subroutines dblepr1, realpr1 and intpr1 to print a scalar variable (gfortran 10 enforces the distinction between scalars and length-one arrays). Also labelpr to print just a label. * R_withC...
2020 Apr 24
0
R 4.0.0 is released
...is now remapped in Rinternals.h to installTrChar, of which it has been a wrapper since R 3.6.0. Neither are part of the API, but packages using installChar can replace it if they depend on R >= 3.6.2. * Header R_ext/Print.h defines R_USE_C99_IN_CXX and hence exposes Rvprintf and REvprintf if used with a C++11 (or later) compiler. * There are new Fortran subroutines dblepr1, realpr1 and intpr1 to print a scalar variable (gfortran 10 enforces the distinction between scalars and length-one arrays). Also labelpr to print just a label. * R_withC...
2011 Apr 13
0
R 2.13.0 is released
...the utils package. ? Sweave() handles keep.source=TRUE much better: it could duplicate some lines and omit comments. (Reported by John Maindonald and others.) C-LEVEL FACILITIES: ? Because they use a C99 interface which a C++ compiler is not required to support, Rvprintf and REvprintf are only defined by R_ext/Print.h in C++ code if the macro R_USE_C99_IN_CXX is defined when it is included. ? pythag duplicated the C99 function hypot. It is no longer provided, but is used as a substitute for hypot in the very unlikely event that the lat...
2011 Apr 13
0
R 2.13.0 is released
...the utils package. ? Sweave() handles keep.source=TRUE much better: it could duplicate some lines and omit comments. (Reported by John Maindonald and others.) C-LEVEL FACILITIES: ? Because they use a C99 interface which a C++ compiler is not required to support, Rvprintf and REvprintf are only defined by R_ext/Print.h in C++ code if the macro R_USE_C99_IN_CXX is defined when it is included. ? pythag duplicated the C99 function hypot. It is no longer provided, but is used as a substitute for hypot in the very unlikely event that the lat...