Re: [Rd] "+" operator on characters revisited

2011-01-22 Thread Gabor Grothendieck
On Sat, Jan 22, 2011 at 3:08 PM, Vitalie S. wrote: > > Hello everyone! > > Motivated by the recent post on SO > http://stackoverflow.com/questions/4730551/making-a-string-concatenation-operator-in-r > > I wonder what is the current state of argument on making "+" to > concatenate character vectors

[Rd] "+" operator on characters revisited

2011-01-22 Thread Vitalie S.
Hello everyone! Motivated by the recent post on SO http://stackoverflow.com/questions/4730551/making-a-string-concatenation-operator-in-r I wonder what is the current state of argument on making "+" to concatenate character vectors. The "+" method is still sealed for signature("character", "char

Re: [Rd] [Rcpp-devel] Calling C++ from R

2011-01-22 Thread Dirk Eddelbuettel
On 21 January 2011 at 11:32, Xiaochun Sun wrote: | Many thanks for your reply. Rf_rnorm works very good with me. Glad to hear it helped, and let us know if you have other questions. Cheers, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

[Rd] news.Rd format -- further info

2011-01-22 Thread Terry Therneau
I forgot to state the version of R in my last message. R version 2.12.1 (2010-12-16) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-pc-linux-gnu (32-bit) Survival version 2.36-3 (not yet on CRAN). __ R-

[Rd] news.Rd format

2011-01-22 Thread Terry Therneau
I'm converting the "Changelog" files that I have used in the survival package (since the 1980s) to the inst/NEWS.Rd format and a couple of things are not clear from the help page. 1. What should I use for the name: NEWS or survival? 2. My section headers look like \section{Changes in ver

[Rd] libRblas.so: undefined reference to `xerbla_' ?

2011-01-22 Thread Andre Zege
Hi all, i am trying to compile a test, calling from C code R Lapack shared libraries. In particular, i am calling simple LAPACK driver dposv for solving linear equation system A*x=B with positive definite A. My code looks like the following in solve.c == #includ

[Rd] Possible bug in Spearman correlation with use="pairwise.complete.obs"

2011-01-22 Thread Simon Anders
Hi, I have just encountered a strange behaviour from 'cor' with regards to the treatment of NAs when calculating Spearman correlations. I guess it is a subtle bug. If I understand the help page correctly, the two modes 'complete.obs' and 'pairwise.complete.obs' specify how to deal with corre

Re: [Rd] [Rcpp-devel] Calling C++ from R

2011-01-22 Thread Xiaochun Sun
Many thanks for your reply. Rf_rnorm works very good with me. Xiaochun On Fri, Jan 21, 2011 at 7:38 AM, Dirk Eddelbuettel wrote: > > On 21 January 2011 at 06:44, Douglas Bates wrote: > | It is more effective to send such inquiries to the Rcpp-devel mailing > | list which I am cc'ing on this re