similar to: Reading/writing XDR files

Displaying 20 results from an estimated 6000 matches similar to: "Reading/writing XDR files"

2001 Oct 31
2
Applicability of "Programming with Data" Text
Hello, Before I consider purchasing it, can someone comment on the general applicability of John Chambers' book titled "Programming with Data" for R programming. I am currently using R-1.3.1 with the Omega SLanguage and RSMethod packages. Many thanks, Randall -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2001 May 09
1
Errors on install...
Hi all, I found the web site for R and decided to install it on my freebsd system; however, I have run into 'permission problems' during execution. I do the standard .configure, make, make check, make install and install into the default location of /usr/local/... but when a normal user attempts to run 'R' I get the following: --- [tulip ~]% R R : Copyright 2001, The R
2011 Jul 18
2
Problem compiling in extra/xdr
I'm building R 2.13.1 on i686-pc-linux-gnu, using gcc 4.6.1 and with glibc 2.14. I get this error: In file included from xdr.c:61:0: ./rpc/types.h:63:14: error: conflicting types for 'malloc' make[4]: *** [xdr.o] Error 1 I can make the build proceed some by commenting out the declaration "extern char *malloc();" in xdr/rpc/types.h, but then I get a slew of other errors:
2011 Jul 18
2
Problem compiling in extra/xdr
I'm building R 2.13.1 on i686-pc-linux-gnu, using gcc 4.6.1 and with glibc 2.14. I get this error: In file included from xdr.c:61:0: ./rpc/types.h:63:14: error: conflicting types for 'malloc' make[4]: *** [xdr.o] Error 1 I can make the build proceed some by commenting out the declaration "extern char *malloc();" in xdr/rpc/types.h, but then I get a slew of other errors:
2001 Oct 17
2
File reading.
Hi all, Appologies for the rather basic IO question but I am rather new to R... Migrated from IDL/Matlab recently. I have a rather simple Fortran control file (sigh...) that I am trying to parse and read using R. My problem is that the file's format is somewhat flexible. Imagine: --- 1> 39 1901 2> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3> 22 24 26 28 30 32 34 36
2001 Nov 16
6
case conversion and/or string comparison
This is no doubt trivial but after searching the help files and the web, I cannot seem to find it. 1) How do I convert 'hgt' into 'HGT' in R? 2) How should I have used the help facilities to find this? At the end of the day, all I want to do is case insensitive string matching... i.e. 'if ("HGT" == 'hgt') print('this should be true')' I tried
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
2001 Oct 18
1
AW: General Matrix Inverse
Thorsten is right. There is a direct formula for computing the Moore-Penrose inverse using the singular value composition of a matrix. This is incorporated in the following: mpinv <- function(A, eps = 1e-13) { s <- svd(A) e <- s$d e[e > eps] <- 1/e[e > eps] return(s$v %*% diag(e) %*% t(s$u)) } Hope it helps. Dietrich
2006 Jul 12
1
newhidups, usb permissions and Debian
Hi all, I've tried installing NUT from both the Debian packages and the 2.0.4-pre1 source but I'm unable to sort out the USB permissions when using the newhidups driver and an APC XS series UPS. In each case, I'm able to run newhidups as user root but running it as user nut fails: --- as 'nut' # /lib/nut/newhidups -u nut -a apc1 Network UPS Tools: New USB/HID UPS driver 0.28
2001 Aug 02
2
xdr real data read error
Hello all I have received a message when attempting to load a workspace in R1.3, which reads: 'an xdr real data read error occured'. Has anyone come across this error message before? With thanks James Rimmer -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2017 Mar 07
1
[PATCH v2] lib: Prefer tirpc for XDR, and rationalise how we search for alternatives.
v1 -> v2: - No functional changes to the patch, just fixes a few bugs. Rich.
2001 Nov 19
2
Vectors of objects...
Surely I am confused about something... still. Having read parts of S-programming, MASS, and Programming with Data, I am no closer to understanding how to make a simple vector containing list objects. If I have somehow skipped over a relevant section in these books, please let me know what sections I should have read. This is a simpler case of what I posted on Friday. I am trying to build
2017 Mar 06
0
[PATCH] lib: Prefer tirpc for XDR, and rationlise how we search for alternatives.
glibc in Fedora is currently configured with `--enable-obsolete-rpc', so I guess we can see the way the wind is blowing. (1) This changes our configure script to prefer libtirpc if it is available. If libtirpc is _not_ available then: (a) Headers must be located in <rpc/xdr.h>, or the user must supply the right CFLAGS. (b) XDR functions must be located in one of -lportablexdr, -lrpc,
2006 Oct 21
2
Possible bugs in 'seek' and 'readBin'
I found that seek(..., origin = 'current', ...) and readBin(..., what = 'integer', ...) or 'int' do not work correctly. Did anyone have the same experience?
2006 Jan 23
1
R-2.2.1 doesn't compile under cygwin/Win2000
Hello, I've just downloaded the R-2.2.1 source and I'm trying to compile it under cygwin (1.5.19-4). The configure script runs ok, but make generates the following error after a while: ---------------------------------------------------------------------------- ----- al/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -g -O2 -c zutil.c -o zutil.o rm -f libz.a ar cr libz.a adler32.o
2011 Aug 25
1
Question about object permanence/marshalling
Hello,   I am trying to write some code that dumps R objects to the harddisk in a binary format so they can be quickly re-used later. Goal is to save time. The objects may be quite large (e.g. classes for a GUI). I was thinking that save() and load() would be suitable for this (until now I only thought it could be used for 'real' data, e.g. matrices, data.frames etc), but I am hoping any
2010 Aug 12
1
building libvirt-0.8.3 for windows ( with dlls )
Hi, I'm trying to compile the latest libvirt (0.8.3 ) on windows and the configure fails to find XDR lib. I installed the xdr-4.0-mingw2 and configure complains the XDR library doesn't exist. Should I get another XDR lib? The command I run: $ ./configure --with-esx --without-sasl --without-avahi --without-polkit --without-python --without-xen --without-qemu --without-lxc
2006 Oct 31
0
6417056 nfssrv should use doors/xdr as its IPC mech to mountd(1m) (fix unref)
Author: rmesta Repository: /hg/zfs-crypto/gate Revision: 7413fc53072f4145c1b3ac0e2169234084b4c6ab Log message: 6417056 nfssrv should use doors/xdr as its IPC mech to mountd(1m) (fix unref) Files: create: deleted_files/usr/src/cmd/fs.d/nfs/mountd/svc_local.c delete: usr/src/cmd/fs.d/nfs/mountd/svc_local.c
2006 Oct 31
0
6417056 nfssrv should use doors/xdr as its IPC mech to mountd(1m)
Author: rmesta Repository: /hg/zfs-crypto/gate Revision: 4af930f29a665f04c4cf91ef1fbc049fb427a304 Log message: 6417056 nfssrv should use doors/xdr as its IPC mech to mountd(1m) Files: create: deleted_files/usr/src/uts/common/rpcsvc/nfsauth_prot.x create: usr/src/cmd/fs.d/nfs/mountd/nfsauth_xdr.c create: usr/src/uts/common/fs/nfs/nfs_auth_xdr.c create: usr/src/uts/common/nfs/auth.h delete:
2004 Feb 26
2
save() size in XDR
Dear R-devel, Is there a way to find the size in bytes of a save() command --before-- the file has been saved? If not, can anyone point me to some resources on XDR so I can find a way to calculate it? Thanks, ===== Nathan Whitehouse Statistics/Programming Baylor College of Medicine Houston, TX, USA nlwhitehouse@yahoo.com http://rho-project.org: rho- open source web services for R.