[Rd] LAPACK and BLAS libraries

2007-05-29 Thread Tommy Ouellet
Hi, I don't know if I'm sending this to the right place but I've looked throught tens and tens of topics on http://tolstoy.newcastle.edu.au/ and finally found that email address where I can maybe find some help. Well my main goal is to get to use the lapack library within my R package (which can

Re: [Rd] AIX testers needed

2007-05-29 Thread Jason Barnhart
Ei-ji, Thank you very much for your reply; your suggestion resolved the issue. Follow up (for others): 1) In addition to setting the LDR_CNTRL environment variable at run-time, R can be compiled by adding '-Wl,- bmaxdata:0xn000' to LD_FLAGS (where 'n' is the number of 256MB i

Re: [Rd] Use of Rf_duplicate

2007-05-29 Thread Oleg Sklyar
> PROTECT(y=x); and This has no sense as y is just the same pointer as x. By doing this you did not create any new data, if you modify y, x will be modified. y does not need protection as x is probably protected. > PROTECT (y = duplicate(x)); ? This will allocate new memory for data in x and c

[Rd] Use of Rf_duplicate

2007-05-29 Thread Michael Braun
First, thanks to those of you who responded to my previous post about my code that was taking longer and longer to process. After following your suggestions, and I now thinking that the problem was some calls to Rf_duplicate in my C code. So I'm hoping I could get some clarification on what Rf_du

Re: [Rd] bug from nlm function (PR#9711)

2007-05-29 Thread Ben Bolker
udec.cl> writes: > > Full_Name: bernardo moises lagos alvarez > Version: 2.4.0 > OS: Windows XP professional > Submission from: (NULL) (152.74.219.16) > > > nlm(fllwfuncHnew,p=c(1,20),x=xdat) > > Erro en log(b) : el argumento "b" está ausente, sin default > > __

[Rd] Correct usage of nchar(): precautionary change for R 2.6.0

2007-05-29 Thread Prof Brian Ripley
Remember that nchar() returns by default the number of *bytes* and not the number of characters. I've recently spotted many cases in which nchar() has been used with substr() which works in characters; this can lead to incorrect results. (This seems the commonest use of nchar() in packages.)

Re: [Rd] question about R_ParseVector function

2007-05-29 Thread Duncan Murdoch
Ev Whin wrote: > Hi r-devel, > > The R_ParseVector has been changed in R-2.5.0, and there is a simple > description about the 4th argument at > http://stat.ethz.ch/R-manual/R-patched/NEWS, it says that: > "R_ParseVector() has a new 4th argument 'SEXP srcfile' allowing source > references to be atta

[Rd] question about R_ParseVector function

2007-05-29 Thread Ev Whin
Hi r-devel, The R_ParseVector has been changed in R-2.5.0, and there is a simple description about the 4th argument at http://stat.ethz.ch/R-manual/R-patched/NEWS, it says that: "R_ParseVector() has a new 4th argument 'SEXP srcfile' allowing source references to be attached to the returned express