search for: saveload

Displaying 20 results from an estimated 129 matches for "saveload".

2001 May 18
1
Installation help (saveload.c)
...e waiting, I specified CXX=gcc in config.site as a possible work-around. This allowed configure to create a makefile. But now, make fails: main[61]% pwd /erd/statistic/apps/R-1.2.3/src/main main[62]% gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c saveload.c -o saveload.o In file included from /usr/include/sys/turnstile.h:12, from /usr/include/sys/t_lock.h:20, from /usr/include/sys/vnode.h:37, from /usr/include/sys/stream.h:21, from /usr/include/netinet/in.h:38,...
2000 Mar 09
1
Conditional for XDR code left out in saveload.c (PR#478)
Full_Name: Thomas Hoffmann Version: 1.0.0 OS: OS/2 Warp 4.0 FP 11 Submission from: (NULL) (141.30.125.20) I autoconfigured/configured the src'es w/o having XDR (#undef HAVE_RPC_XDR_H). In saveload.c , at the beginning of the file the XDR code is enclosed by matching #ifdefs. But in the NEW_SAVE_FORMAT section, there are no #ifdefs around the XDR code. Does this imply that using the new save format requires using XDR or is this simply an oversight? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2006 Oct 19
0
Memory leak
...debug2 debug3 debug4 debug5 20051109 debug2 20051110 debug2 debug3 ==11423== Invalid read of size 1 ==11423== at 0x80F1390: SETCAR (memory.c:2626) ==11423== by 0x80C1617: R_HashSet (envir.c:219) ==11423== by 0x80C2CC1: Rf_defineVar (envir.c:1261) ==11423== by 0x814F6BE: RestoreToEnv (saveload.c:2043) ==11423== by 0x8150465: do_loadFromConn2 (saveload.c:2358) ==11423== by 0x80F95FF: do_internal (names.c:1097) ==11423== by 0x80CB320: Rf_eval (eval.c:431) ==11423== by 0x80CCAC1: do_begin (eval.c:1107) ==11423== by 0x80CB320: Rf_eval (eval.c:431) ==11423== by 0x80CB5E0: Rf...
2001 Jul 27
3
installation error
...e/sys/t_lock.h:20, from /usr/include/sys/vnode.h:37, from /usr/include/sys/stream.h:21, from /usr/include/netinet/in.h:38, from /usr/include/rpc/auth_kerb.h:14, from /usr/include/rpc/rpc.h:39, from saveload.c:229: /appl/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/param.h:187: warning: `NBBY' redefined /usr/include/sys/select.h:45: warning: this is the location of the previous definition In file included from /usr/include/sys/stream.h:26, from /usr/include/netinet/in...
1999 Mar 18
1
Building R under gnumake 3.75, Solaris 2.6
./configure works fine. make generates the error ...... gcc -g -O2 -I../include -I../../src/include -c saveload.c -o saveload.o In file included from /usr/include/sys/turnstile.h:12, from /usr/include/sys/t_lock.h:20, from /usr/include/sys/vnode.h:37, from /usr/include/sys/stream.h:21, from /usr/include/netinet/in.h:38, from...
1999 May 07
0
R-0.64.0 on SUN
When I try to install R-0.64.0 on my SUN ( > uname -a SunOS ac6 5.7 Generic sun4u sparc SUNW,Ultra-5_10 ) I get after "./configure --disable-readline" and "gmake" the following errors: gcc -O2 -I../include -I../../src/include -c saveload.c -o saveload.o In file included from /usr/include/sys/tiuser.h:18, from /usr/include/tiuser.h:17, from /usr/include/rpc/rpc.h:22, from saveload.c:269: /usr/include/sys/tpicommon.h:155: parse error before `t_uscalar_t' /usr/include/sys/tpicommo...
1998 Apr 21
1
R-beta: R make problem
...ith Solaris 5.6 and seem to be having some R 0.61.1 installation problems that did not occur in 5.5. If anyone can see the problem I would appreciate suggestions. Following is output from make at the point of failure. TIA Paul Gilbert ... gcc -g -I../include -c relop.c gcc -g -I../include -c saveload.c In file included from /usr/include/sys/turnstile.h:12, from /usr/include/sys/t_lock.h:20, from /usr/include/sys/vnode.h:37, from /usr/include/sys/stream.h:21, from /usr/include/netinet/in.h:38, from /usr/include/...
2002 Mar 19
1
Solaris 8 error - make: Fatal error: Command failed for target `saveload.o'
.../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c regex.c -o regex.o gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c relop.c -o relop.o gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c saveload.c -o saveload.o In file included from /usr/include/sys/tiuser.h:18, from /usr/include/tiuser.h:17, from /usr/include/rpc/rpc.h:22, from saveload.c:269: /usr/include/sys/tpicommon.h:155: parse error before `t_uscalar_t' /usr/include/sys/tpicommo...
2000 Jan 17
1
dyn.load problem
...tions which read from/write to a char array instead of a file pointer. I want to compile my functions into a library and dyn.load them. Of course the new functions mySave/Load will use some of the internal R functions used by save/load, for example "MarkSave" (to be found in .../src/main/saveload.c). I declared them as external void MarkSave(SEXP s); .... in my code. When I do dyn.load("myLib.so") I get the error Error in dyn.load(x, as.logical(local), as.logical(now)): unable to load shared library "myLib.so": myLib.so: undefined symbol: MarkSave Can't I use...
2006 Oct 02
0
2.3.1: interacting bugs in load() and gzfile() (PR#9271)
...gt;</interaction> section in the session above, provided load() is being called with a filename or closed connection rather than an open gzfile connection. ================================================================================ PATCHES: for bug 1: diff -u R-2.3.1.original/src/main/saveload.c R-2.3.1/src/main/saveload.c --- R-2.3.1.original/src/main/saveload.c 2006-04-09 18:19:51.000000000 -0400 +++ R-2.3.1/src/main/saveload.c 2006-10-02 13:10:21.000000000 -0400 @@ -2301,6 +2301,7 @@ PROTECT(res = RestoreToEnv(R_Unserialize(&in), aenv)); if (wasopen) { endcontext(&cn...
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
...c print.c -o print.o gcc -g -I../include -c printarray.c -o printarray.o gcc -g -I../include -c printvector.c -o printvector.o gcc -g -I../include -c printutils.c -o printutils.o gcc -g -I../include -c random.c -o random.o gcc -g -I../include -c relop.c -o relop.o gcc -g -I../include -c saveload.c -o saveload.o In file included from /usr/include/sys/turnstile.h:12, from /usr/include/sys/t_lock.h:20, from /usr/include/sys/vnode.h:37, from /usr/include/sys/stream.h:21, from /usr/include/netinet/in.h:38, from...
2009 Aug 06
1
[R] Repeatable, But Time Varying R GUI Crash (PR#13880)
On 8/6/2009 4:11 PM, Marilyn & Rich Short wrote: > Hello, > > I'm having a problem in R. The R GUI is crashing with a message to > contact Microsoft for the solution. I've contacted Microsoft and they > are of no help. Below is a distilled set of code that will cause the > crash. As you will see, there are two do-loops within which is a "load" >
1999 Jan 27
0
load() patch
...d, 0, 111, 1, PP_FUNCALL}, +{"load", do_load, 0, 111, 2, PP_FUNCALL}, {"hdf5save", do_hdf5save, 0, 0, -1, PP_FUNCALL}, {"hdf5load", do_hdf5load, 0, 11, 2, PP_FUNCALL}, {"deparse", do_deparse, 0, 11, 2, PP_FUNCALL}, diff -r --unified R-0.63.2.orig/src/main/saveload.c R-0.63.2/src/main/saveload.c --- R-0.63.2.orig/src/main/saveload.c Tue Nov 10 19:23:54 1998 +++ R-0.63.2/src/main/saveload.c Tue Jan 26 16:14:57 1999 @@ -1136,7 +1136,7 @@ SEXP do_load(SEXP call, SEXP op, SEXP args, SEXP env) { - SEXP a, ans, e; + SEXP a, ans, e, aenv; int i;...
1999 May 17
1
minor installation problems
...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 /usr/local/lib/R-0.64.1/b...
1999 May 17
1
minor installation problems
...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 /usr/local/lib/R-0.64.1/b...
1999 Feb 09
0
load() -> segfault
...the "InString" family of functions use fixed size buffer but don't check for overflow! The buffer is MAXELTSIZE bytes, defined in $RHOME/src/inclide/Defn.h as 512. As you would expect, reading a 20K object into a 512 byte buffer can really mess things up. As noted in the comments of saveload.c, /* FIXME : the fixed size buffer here is an abomination */ but that's not as bad as failing to check for overflow. I don't really have time to fix this, so for the moment I'm just refining MAXELTSIZE to 32768 bytes (32K). This fixes my problem, but is a horrid hack. Does anyon...
1999 Feb 09
0
load() -> segfault (PR#117)
...the "InString" family of functions use fixed size buffer but don't check for overflow! The buffer is MAXELTSIZE bytes, defined in $RHOME/src/inclide/Defn.h as 512. As you would expect, reading a 20K object into a 512 byte buffer can really mess things up. As noted in the comments of saveload.c, /* FIXME : the fixed size buffer here is an abomination */ but that's not as bad as failing to check for overflow. I don't really have time to fix this, so for the moment I'm just refining MAXELTSIZE to 32768 bytes (32K). This fixes my problem, but is a horrid hack. Does anyon...
2007 Aug 23
3
RData File Specification?
...ize(connection)). Where can I get documentation on the RData file format? Does a spec document exist? See details below. Thanks, Ian Ian Cook | Advanced Micro Devices, Inc. | ian.cook at amd.com ------------------------- Additional details: I've browsed through the relevant source code (saveload.c, serialize.c) for ideas. Here's a demo of the problem I'm looking to solve: # create a sample data frame ds <- data.frame(row1=c(1,2,3),row2=c('a','b','c')) # save into an uncompressed binary R dataset save(ds,file="ds.rdata",compress=FALSE) rm(ds)...
1998 Mar 27
1
R-beta: Problems during compilation of R for Solaris 2.6
...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/openwin/lib -lX11 -lsocket -lnsl -ldl -...
2012 Mar 13
0
111 FIXMEs in main/src
...t.c-/* It should make sure that it quotes when there are special */ -- print.c: /* FIXME: check (ns <= R_print.max +1) ? ns : R_print.max; */ print.c- for (i = 0; i < ns; i++) { -- printutils.c:/* <FIXME> printutils.c- encodeString and Rstrwid assume that the wchar_t representation -- saveload.c: /* FIXME: rather than use strlen, use actual length of string when saveload.c- * sized strings get implemented in R's save/load code. */ -- saveload.c: /* FIXME : Ultimately we need to replace */ saveload.c- /* this with a real string allocation. */ -- scan.c: goto inquote; /*...