Displaying 20 results from an estimated 131 matches for "printutils".
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...
2000 Feb 08
1
printutils bug on Linux/Alpha (PR#422)
...t;-----
Date: Mon, 7 Feb 2000 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] Er...
2006 Jun 02
1
Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
...bmission from: (NULL) (62.141.176.2)
Specification in config.site:
CC=xlc_r
CFLAGS='-O -qstrict'
F77=xlf_r
FFLAGS='-O -qstrict'
SHLIB_LDFLAGS='-G'
DYLIB_LDFLAGS='-G'
LDFLAGS='-brtl'
CXX=xlc++_r
CXXFLAGS='-O -qstrict'
Complilation error in src/main/printutils.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(...
2006 Sep 29
1
Possible bug in Rcons_vprintf
In R-2-4-branch r39548, Rcons_vprintf is called from stdout_vfprintf
when R_Outputfile is NULL. When called and output is greater than
R_BUFSIZE, output is truncated to R_BUFSIZE. Here's a one-line fix:
Index: src/main/printutils.c
===================================================================
--- src/main/printutils.c (revision 39548)
+++ src/main/printutils.c (working copy)
@@ -638,7 +638,7 @@
res = R_BUFSIZE;
}
#endif /* HAVE_VA_COPY */
- R_WriteConsole(p, strlen(buf));
+ R_Wri...
2000 Feb 08
1
problem with va_list type (alpha) (PR#421)
Full_Name: Albrecht Gebhardt
Version: 0.99.0
OS: alpha, osf4.0
Submission from: (NULL) (143.205.180.40)
Both DEC cc and gcc complain (osf4.0, alpha) about applying
an unary operator (!) to a non scalar type (va_list arg) in
printutils.c
I'm not sure if I understood what was intended by "!arg" (see below),
but with this patch I at least was able to compile. (and R runs now,
but I guess only because I didn't came across this code section)
--- ./src/main/printutils.c.va_list.patch Mon Feb 7 15:08:14 2000
+++ ....
2006 Apr 13
1
bus error on calling nmmin
...ived signal EXC_BAD_ACCESS, Could not access memory.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
Cannot access memory at address 0x0
Cannot access memory at address 0x0
#1 0x0054dd5c in REvprintf (format=0x5f0dc8 "%s", arg=0xbfffb5fc "")
at ../../../../R-2.1.1/src/main/printutils.c:541
#2 0x0054dab0 in REprintf (format=0xbfff9570 "Error: invalid
connection\n") at ../../../../R-2.1.1/src/main/printutils.c:458
#3 0x004de8c4 in verrorcall_dflt (call=0x0, format=0x5f0dc8 "%s",
ap=0xbfffda30 "???P") at ../../../../R-2.1.1/src/main/errors.c:470
#4...
2006 Jun 08
1
Problems Building R-2.3.1 on Alpha server ES40 running Tru64 V5.1B PK#5
...1.9.1 and focus on building R-2.3.1. I believe the main set of
packages have been built properly (with some changes to the code) -
however, when building the Recommended packages, the build fails.
CODE CHANGES:
=============
1. My C compiler requires a ";" on line 589 of
..../src/main/printutils.c. Here is the diff:
# diff src/main/printutils.c.orig src/main/printutils.c
589c589
< if (con_num>0) error("Internal error: this platform does not support
split output")
---
> if (con_num>0) error("Internal error: this platform does not support
split output");
B...
2007 May 23
2
Possible ld.exe problem when building
...ain/libmain.a(memory.o):memory.c:(.text+0x462d): undefined reference to `Rm_malloc'
../main/libmain.a(memory.o):memory.c:(.text+0x4649): more undefined references to `Rm_malloc' follow
../main/libmain.a(memory.o):memory.c:(.text+0xffc): undefined reference to `Rm_free'
../main/libmain.a(printutils.o):printutils.c:(.text+0x6bd): undefined reference to `mbrtowc'
../main/libmain.a(printutils.o):printutils.c:(.text+0x9ce): undefined reference to `mbrtowc'
../main/libmain.a(engine.o):engine.c:(.text+0x7d6f): undefined reference to `mbrtowc'
../main/libmain.a(engine.o):engine.c:(.text+...
2007 Sep 07
1
"bug" and patch: quadratic running time for strsplit(..., fixed=TRUE) (PR#9902)
...act cause a detectable performance problem.
In the case of modules/X11/dataentry.c, the patch also fixes a presumably
ineffectual "bug".
$ grep -nR "for *([^;]*;[^;]*strlen *(" *
main/rlocale.c:137: for (i = 0; i < strlen(lc_str) && i < sizeof(lc_str); i++)
main/printutils.c:486: for(j = 0; j < strlen(buf); j++) *q++ = buf[j];
main/sysutils.c:493: for(j = 0; j < strlen(sub); j++) *outbuf++ = sub[j];
modules/X11/rotated.c:608: for(i=0; i<strlen(text)-1; i++)
modules/X11/rotated.c:856: for(i=0; i<strlen(text)-1; i++)
modules/X11/rotated.c:1399: for(i=0; i...
1999 May 17
1
minor installation problems
...o devices.o dotcode.o dstruct.o
duplicate.o envir.o errors.o eval.o format.o fourier.o gram.o
gram-ex.o graphics.o iosupport.o list.o logic.o main.o match.o
memory.o model.o names.o objects.o optimize.o options.o par.o paste.o
platform.o plot.o plot3d.o plotmath.o print.o printarray.o
printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o
sort.o source.o split.o subassign.o subscript.o subset.o summary.o
unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a
../nmath/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lreadline -lz
-ldl -lncurses -lm
the binary would exit with the error...
1999 May 17
1
minor installation problems
...o devices.o dotcode.o dstruct.o
duplicate.o envir.o errors.o eval.o format.o fourier.o gram.o
gram-ex.o graphics.o iosupport.o list.o logic.o main.o match.o
memory.o model.o names.o objects.o optimize.o options.o par.o paste.o
platform.o plot.o plot3d.o plotmath.o print.o printarray.o
printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o
sort.o source.o split.o subassign.o subscript.o subset.o summary.o
unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a
../nmath/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lreadline -lz
-ldl -lncurses -lm
the binary would exit with the error...
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
1998 Mar 27
1
R-beta: Problems during compilation of R for Solaris 2.6
...dstruct.o duplicate.o envir.o errors.o eval.o >> format.o fourier.o iosupport.o gram.o list.o logic.o main.o match.o memory.o >> model.o names.o objects.o optimize.o options.o par.o paste.o plot.o plot3d.o >> plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o >> saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o >> subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a >> ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -lSM -lICE -L/usr/openwin/lib >> -R/usr/...
2007 Apr 17
2
format() applied to an NA character string (PR#9616)
I get strange results when I try to format() an NA character string.
> x <- 'sometext'
> x[1] <- NA
> format(NA, width=32) # displays sensibly, right-justified
> format(x,width=32) # displays sensibly, left-justified
> format(x,width=33) # displays ""
> format(x,width=36) # R exits abnormally with code 5
> version
platform i386-pc-mingw32
1998 Jun 18
1
Compiling under Digital Unix
...o cum.o debug.o deparse.o deriv.o devices.o dotcode.o dstruct.o duplicate.o envir.o errors.o eval.o format.o fourier.o iosupport.o gram.o list.o logic.o main.o match.o memory.o model.o names.o objects.o optimize.o options.o par.o paste.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -lSM -lICE -L/s/X11R6.3-1/lib -lX11 -ldnet_stub -ltermcap -lm
ld:
../lib/libunix.a(syste...
1997 Apr 10
1
R-beta: Compiling R-0.16.1 on Solaris 2.5.1
...v.o cum.o dataframe.o debug.o deparse.o dotcode.o dstruct.o duplicate.o edit.o envir.o errors.o eval.o format.o gram.o list.o logic.o main.o match.o memory.o model.o names.o objects.o optimize.o options.o par.o paste.o plot.o plot3d.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lnsl -lsocket -ldl -ltermca...
2007 Dec 07
0
Bug#454678: r-base-core: Crash when calling edit.matrix with edit.row.names = TRUE when there are no rownames (PR#10500)
...(non-stripped) debug version that reveals:
(gdb) where
#0 0xb7b2ef2c in __gconv_transform_utf8_internal () from /lib/i686/cmov/libc.so.6
#1 0xb7b89f75 in mbrtowc () from /lib/i686/cmov/libc.so.6
#2 0xb7db05e3 in Rstrwid (str=0x8052010 "\020!\005\b\002", slen=134595712,
quote=0) at printutils.c:284
#3 0xb7db0888 in Rstrlen (s=0x8051ff8, quote=0) at printutils.c:377
#4 0xb7d2de24 in Rf_formatString (x=0x873bbb8, n=1, fieldwidth=0xbfd0fc04,
quote=0) at format.c:62
#5 0xb7db12b5 in Rf_EncodeElement (x=0x873ba10, indx=100, quote=0, dec=46 '.')
at printutils.c:576
#6 0xb7...
1998 Oct 16
1
Compiling on a Red Hat 5.1 system
...o cum.o debug.o deparse.o deriv.o devices.o dotcode.o dstruct.o duplicate.o envir.o errors.o eval.o format.o fourier.o iosupport.o gram.o list.o logic.o main.o match.o memory.o model.o names.o objects.o optimize.o options.o par.o paste.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lreadline -ldl -lncurses -lm
../lib/libappl.a(uncmin.o...
2007 Dec 07
0
(PR#10500) Bug#454678: r-base-core: Crash when calling
...that reveals:
>
> (gdb) where
> #0 0xb7b2ef2c in __gconv_transform_utf8_internal () from /lib/i686/cmov/libc.so.6
> #1 0xb7b89f75 in mbrtowc () from /lib/i686/cmov/libc.so.6
> #2 0xb7db05e3 in Rstrwid (str=0x8052010 "\020!\005\b\002", slen=134595712,
> quote=0) at printutils.c:284
> #3 0xb7db0888 in Rstrlen (s=0x8051ff8, quote=0) at printutils.c:377
> #4 0xb7d2de24 in Rf_formatString (x=0x873bbb8, n=1, fieldwidth=0xbfd0fc04,
> quote=0) at format.c:62
> #5 0xb7db12b5 in Rf_EncodeElement (x=0x873ba10, indx=100, quote=0, dec=46 '.')
> at pr...
2011 Mar 02
3
CentOS 5 install won't make with shared libs enabled
....o gramRd.o graphics.o grep.o identical.o inlined.o
inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o
main.o mapply.o match.o memory.o model.o names.o objects.o optim.o
optimize.o options.o par.o paste.o platform.o plot.o plot3d.o plotmath.o
print.o printarray.o printvector.o printutils.o qsort.o random.o raw.o
registration.o relop.o rlocale.o saveload.o scan.o seq.o serialize.o size.o
sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o
summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o
../unix/Rembedded.o ../unix/libunix.a ../appl/libappl.a ....