Re: [Rd] Rcmd check fails on Windows Samba network path in R 2.9.1

2009-07-21 Thread Kevin R. Coombes
Hi, The problem almost certainly has something to do with Samba. We also have a NetApp file system, and copying the package source to that drive and running Rcmd check from Windows works just fine. When running the commands from an interactive R session, file_test returns TRUE and

[Rd] strange bug? with R CMD check

2009-07-21 Thread Kjell Konis
Hello, I am trying to get a package to pass R CMD check on an iMac running Mac OS X. When the package is named safeBinaryRegression I get the following warning from R CMD check: * checking whether the name space can be loaded with stated dependencies ... WARNING Error in dyn.load(file,

Re: [Rd] Rcmd check fails on Windows Samba network path in R 2.9.1

2009-07-21 Thread Tony Plate
Did you try starting up R-2.8.1 and checking the result of file.access(lib, 2) on that very same directory where R-2.9.1 gives an incorrect indication? If that gives the correct answer, then, look for changes in the file.access code. -- Tony Plate Kevin R. Coombes wrote: Hi, The problem

[Rd] Building a package with BLAS under Windows

2009-07-21 Thread Markus Jochmann
Hi everybody: I am writing a package that includes C code that uses the BLAS library. My Makevars looks like PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS). If I check and build the package under Linux on my own computer everything works fine. However, if I submit the package to win-builder I

Re: [Rd] destructor for S4 class objects in analogy to C++

2009-07-21 Thread Simon Urbanek
David, On Jul 21, 2009, at 13:00 , David Scherrer wrote: I'm wondering if there is a way to define a destructor function (to free memory) for S4 class objects in analogy to C++? The analogy doesn't work, because in C++ you have pass-by-reference semantics, but in R you have pass-by-value.

Re: [Rd] Rcmd check fails on Windows Samba network path in R 2.9.1

2009-07-21 Thread Kevin R. Coombes
The results of the session below are the same in 2.8.1 as in 2.9.1 (including in particular the response to the call to file.access). Kevin Tony Plate wrote: Did you try starting up R-2.8.1 and checking the result of file.access(lib, 2) on that very same directory where R-2.9.1 gives an

[Rd] bug in approx crashes R

2009-07-21 Thread Vadim Ogranovich
Dear R-devel, The following line crashes R approx(1, 1, 0, method='const', rule=2, f=0, yleft=NULL, ties='ordered')$y Process R:2 exited abnormally with code 5 at Tue Jul 21 14:18:09 2009 version _ platform i386-pc-mingw32 arch i386 os mingw32