[Rd] AIX build R-3.1.1 Matrix package fails

2014-10-24 Thread Mike Beddo
Problems building the recommended packages from R-3.1.1 source: ** building package indices Loading required package: Matrix Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/home/meb/source/R-3.1.1/library/Matrix/libs/Matrix.so': rtld: 0712-001 Symbol dtrsv_ w

Re: [Rd] No error when assigning values to an "empty" vector/matrix/array

2014-10-24 Thread Hervé Pagès
Hi, On 10/24/2014 06:58 AM, S Ellison wrote: Also note that these warnings or errors are complaining that the number of items to replace (left length) is not a multiple of replacement length (right length). This suggests that when the left length is a multiple of the right length, everything is

[Rd] Error: Line starting 'Package: tools ...' is malformed!

2014-10-24 Thread Mike Beddo
I'm building R-3.1.1 (64 bit) from source on AIX 7.1. It was going well until I hit this: xlc_r -q64 -Wl,-brtl -Wl,-G -Wl,-bexpall -Wl,-bnoentry -lc -L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x8000 -o tools.so

Re: [Rd] package checking apparently ok but R-forge version does not build

2014-10-24 Thread S Ellison
> However on R-forge the package is in building stutus and actually it does not > build. > Any suggestion? Does everything depend on the missing documentation? The advice I'd expect is to make sure there are neither errors no warnings, as CRAN guardians are (rightly) reluctant to tolerate either.

Re: [Rd] No error when assigning values to an "empty" vector/matrix/array

2014-10-24 Thread S Ellison
> > Also note that these warnings or errors are complaining that the > > number of items to replace (left length) is not a multiple of > > replacement length (right length). This suggests that when the left > > length is a multiple of the right length, everything is fine. > > And this is actually t

[Rd] package checking apparently ok but R-forge version does not build

2014-10-24 Thread Enrico Bibbona
Dear r developers, I'm writing a set of new functions for an existing R package on R-forge (called COGARCH). I wrote the new R code (but still no documentation), and updated the NAMESPACE file. I installed it from my local repository and everything seems to work. I checked the local repository and

Re: [Rd] No error when assigning values to an "empty" vector/matrix/array

2014-10-24 Thread Henrik Bengtsson
On Oct 24, 2014 1:59 AM, "Hervé Pagès" wrote: > > Hi Henrik, > > > On 10/23/2014 08:10 PM, Henrik Bengtsson wrote: >> >> Assigning one or more values to a vector/matrix/array x for which >> length(x) == 0 gives no error, e.g. >> >>> x <- integer(0) >>> x[] <- 1:2 >> >> >>> x <- matrix(nrow=0, ncol

Re: [Rd] No error when assigning values to an "empty" vector/matrix/array

2014-10-24 Thread Hervé Pagès
Hi Henrik, On 10/23/2014 08:10 PM, Henrik Bengtsson wrote: Assigning one or more values to a vector/matrix/array x for which length(x) == 0 gives no error, e.g. x <- integer(0) x[] <- 1:2 x <- matrix(nrow=0, ncol=1) x[] <- 1:2 x[,1] <- 1:2 x <- array(dim=c(0,1,1)) x[] <- 1:2 x[,1,1] <- 1