Re: [Rd] Problem with dyn.load'ed code

2007-12-31 Thread Andrew Piskorski
On Sun, Dec 30, 2007 at 10:43:50PM -0500, Matt Calder wrote: > Simon, > Thanks for the reply. Indeed, declaring the function static fixes the > example. Unfortunately, the real problem that gave rise to the example > arises in a large Fortran library that is not under my control (ARPACK). > T

Re: [Rd] readBin differences on Windows and Linux/mac

2007-12-31 Thread Sean Davis
Sorry, Uwe. Of course: Both in relatively recent R-devel (one mac, one windows): ### gunzip pulled from R.utils to be a simple function ### In R.utils, implemented as a method gunzip <- function(filename, destname=gsub("[.]gz$", "", filename), overwrite=FALSE, remove=TRUE, BFR.SIZE=1e7) { if (

Re: [Rd] readBin differences on Windows and Linux/mac

2007-12-31 Thread Uwe Ligges
Can you give a reproducible example, pelase? Uwe Ligges Sean Davis wrote: > I have been trying to use the gunzip function in the R.utils package. It > opens a connection to a gzfile, uses readBin to read from that connection, > and then uses writeBin to write out the raw data to a new file. Th

[Rd] readBin differences on Windows and Linux/mac

2007-12-31 Thread Sean Davis
I have been trying to use the gunzip function in the R.utils package. It opens a connection to a gzfile, uses readBin to read from that connection, and then uses writeBin to write out the raw data to a new file. This works as expected under linux/mac, but under Windows, I get: Error in readBin(i

Re: [Rd] Browse option to change working directory (PR#10537)

2007-12-31 Thread ripley
This is the same as PR#9959, a known Vista bug. It is documented under ?choose.dir. On Sun, 30 Dec 2007, [EMAIL PROTECTED] wrote: > Full_Name: Merrick McCracken > Version: 2.6.1 > OS: Vista Home Premium 32-bit > Submission from: (NULL) (63.239.240.2) > > > In the R GUI I select File>Change dir..

[Rd] Browse option to change working directory (PR#10537)

2007-12-31 Thread merrick . mccracken
Full_Name: Merrick McCracken Version: 2.6.1 OS: Vista Home Premium 32-bit Submission from: (NULL) (63.239.240.2) In the R GUI I select File>Change dir... to change the working directory and select browse and the only folders available to select are those on the Desktop and none others. I am runni