Re: [Rd] best methods for strings and structures?

2004-03-16 Thread Thomas Lumley
On Tue, 16 Mar 2004, Jeff D. Hamann wrote: > >PROTECT( ret_val = allocVector( VECSXP, 13 ) ); >SET_STRING_ELT( ret_val, 0, mkChar( cfg_rec.coeffs_filename) ); >SET_STRING_ELT( ret_val, 1, mkChar( cfg_rec.species_filename) ); >SET_VECTOR_ELT( ret_val, 2, ScalarInteger( cfg_rec.use_ra

[Rd] best methods for strings and structures?

2004-03-16 Thread Jeff D. Hamann
I'm trying to generate an R interface for a library that's commonly used and I'm currently writing wrapper functions for file i/o and return an object (list?) that contains the elements of the C structure. For example, reading a file that contains: struct CONFIG_RECORD { charcoeffs

Re: [Rd] make check failed for R-1.9.0alpha (2004-03-16) when link against Goto's BLAS

2004-03-16 Thread Prof Brian Ripley
I suspect you are not going wrong, but rather that the Opteron Goto BLAS is not accurate enough on your particular system. Unfortunately these LAPACK routines can be sensitive to the buildup of rounding errors, and that is affected by the BLAS in use. On Tue, 16 Mar 2004, Liaw, Andy wrote: >

Re: [Rd] cygwin tar?

2004-03-16 Thread Prof Brian Ripley
No tar utility comes with MinGW! If you follow the instructions, you were asked to put the tools from my Rtools.zip at the front of your path. It seems that you didn't do so. Please don't expect support for configurations that are explicitly unsupported. On Tue, 16 Mar 2004, Jeff D. Hamann wro

Re: [Rd] make check failed for R-1.9.0alpha (2004-03-16) when link against Goto's BLAS

2004-03-16 Thread Peter Dalgaard
"Liaw, Andy" <[EMAIL PROTECTED]> writes: > Dear all, > > Has anyone seen the same problem? I tried compiling R-1.9.0 alpha > (2004-03-16) on our Opteron box running SUSE Linux ES8. I ran: > > ./configure --enable-R-shlib --with-blas=goto > > and got: > > Source directory: . > In

RE: [Rd] gzfile & read.table on Win32

2004-03-16 Thread Henrik Bengtsson
Hi, I ran into a the same problem some time ago, but I still haven't had time to troubleshoot it very much. However, I found out that it has to do with newlines at the end of the files. Here's an example that might give some initial clues: # Creating two example files: cat("1 2\n3 4\n5 6\n7 8\n9 1

Re: [Rd] cygwin tar?

2004-03-16 Thread Duncan Murdoch
On Tue, 16 Mar 2004 10:32:56 -0800, "Jeff D. Hamann" <[EMAIL PROTECTED]> wrote : >I've been attempting to create a new R package and recently removed the >cygwin installation from my machine since R requires the use of the MingW >tools for building an R package with C code. However, when I tried t

Re: [Rd] cygwin tar?

2004-03-16 Thread Tony Plate
Jeff: alternatively, I don't think it's necessary to completely remove a cygwin installation in order to use MinGW and build R. What I have done to build R from a bash cygwin window under Windows 2000: (1) put the "tools" directory and the MinGW directories ahead of any cygwin directories on th

[Rd] cygwin tar?

2004-03-16 Thread Jeff D. Hamann
I've been attempting to create a new R package and recently removed the cygwin installation from my machine since R requires the use of the MingW tools for building an R package with C code. However, when I tried to build a source package, I found the following results: * removing junk files * bu

[Rd] make check failed for R-1.9.0alpha (2004-03-16) when link against Goto's BLAS

2004-03-16 Thread Liaw, Andy
Dear all, Has anyone seen the same problem? I tried compiling R-1.9.0 alpha (2004-03-16) on our Opteron box running SUSE Linux ES8. I ran: ./configure --enable-R-shlib --with-blas=goto and got: Source directory: . Installation directory:/usr/local C compiler:

[Rd] VS: Documentation on how to put classes and methods in packages with namespace?

2004-03-16 Thread Jens Henrik Badsberg
> -Oprindelig meddelelse- > Fra: Jens Henrik Badsberg > Sendt:16. marts 2004 11:37 > Til: '[EMAIL PROTECTED]' > Emne: Documentation on how to put classes and methods in packages with namespace? > > > Documentation on how to put classes and methods in packages with namespac

Re: [Rd] Changing ComputerModern in postscript(...): A first attempt at contributing....

2004-03-16 Thread Prof Brian D Ripley
I've added an example of using italic Computer Modern to the postscript help file in 1.9.0 alpha, as well as suitbale .afm files. On Tue, 16 Mar 2004, Prof Brian Ripley wrote: > We don't in general add things like this, and you can just use the > family= mechanism to set things up as you like.