Re: [R] help with pROC installation on a Debian box (Rcpp related)

2014-03-29 Thread Luca Braglia
2014-03-28 19:09 GMT+01:00 Dirk Eddelbuettel e...@debian.org: Luca Braglia lbraglia at gmail.com writes: g++ -shared -o pROC.so RcppExports.o delong.o perfsAll.o Rcpp:::LdFlags() -L/usr/lib/R/lib -lR g++: error: : File o directory non esistente This can happen when you have a ~/.Rprofile

Re: [R] help with pROC installation on a Debian box (Rcpp related)

2014-03-29 Thread Luca Braglia
and your hunch was correct, thank you! cheers Luca 2014-03-29 10:02 GMT+01:00 Luca Braglia lbrag...@gmail.com: 2014-03-28 19:09 GMT+01:00 Dirk Eddelbuettel e...@debian.org: Luca Braglia lbraglia at gmail.com writes: g++ -shared -o pROC.so RcppExports.o delong.o perfsAll.o Rcpp:::LdFlags

[R] help with pROC installation on a Debian box (Rcpp related)

2014-03-28 Thread Luca Braglia
Hello, install.packages(pROC) Installing package into ‘/home/l/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) provo con l'URL 'http://cran.mirror.garr.it/mirrors/CRAN/src/contrib/pROC_1.7.1.tar.gz' Warning in download.file(url, destfile, method, mode = wb, ...) : connesso a

[R] help with stepAIC and boot

2014-03-07 Thread Luca Braglia
Hello everybody. I've a problem with stepAIC inside a boot function (i'm trying to do bootstrap backward elimination, with a statistic function that allow one to specify the formula of a coxph model) For the moment the function would be aimed storing selected vars However I've a problem in the

[R] help with stepAIC and boot

2014-03-05 Thread Luca Braglia
Hello everybody. I've a problem with stepAIC inside a boot function (i'm trying to do bootstrap backward elimination, with a statistic function that allow one to specify the formula of a coxph model) For the moment the function would be aimed storing selected vars However I've a problem in the

[R] help with rmeta package

2012-04-21 Thread Luca Braglia
Dear R users, I'm trying figuring out with forest plot and rmeta. Here's my code... library(rmeta) tabletext - structure(c(, NA, Sex, [F], [M], NA, Age class, (0,60], (60,80], NA, Karnofsky class, [70;90], (90;100], NA,

[R] href and Rd

2010-01-27 Thread Luca Braglia
Hello * is possible to have something like the LaTeX \href in Rd ? \url doesn't fit very well, and I didn't find much about. I have a long (external to the help system, a www one) url but i would like it to be hidden from a small word with the link. Please CC me! ;) thanks in advance Luca

Re: [R] href and Rd

2010-01-27 Thread Luca Braglia
On 27/01/10 - 08:54, Gabor Grothendieck wrote: One approach would be to use one of the URL shortening services to define a shorter URL. The shorter URL would then appear rather than the long original one (although there would still be a URL shown so its not quite the functionality you asked

[R] help with regexps

2009-10-07 Thread Luca Braglia
Hello everybody I'd like to match exactly numbers from 1 to 27. I've tried a character class like [1-27], but it matches 1,2 and 7. How to tell R (pcre) to interpret 27 correctly? Have been fastly looking throughout pcre man pages, without success. Many thanks Luca

[R] R: help with regexp mass substitution

2009-10-05 Thread Luca Braglia
Mmm, just Friday ... :) Thank you jim gabor -Messaggio originale- Da: jim holtman [mailto:jholt...@gmail.com] Inviato: venerdì 2 ottobre 2009 14.12 A: Luca Braglia Cc: r-help@r-project.org Oggetto: Re: [R] help with regexp mass substitution You need perl=TRUE

[R] help with regexp mass substitution

2009-10-02 Thread Luca Braglia
Hello * i have to rename a lot of variables, and, given that they have regular name constructs, I would like to use regexps. Here's a dump of my head(names(df)) varnames - c(id.quest, txt.1.3, col1.1.3, col2.1.3, col3.1.3, col4.1.3, col5.1.3, txt.2.3, col1.2.3, col2.2.3, col3.2.3, col4.2.3,

[R] problems with reshape

2009-09-14 Thread Luca Braglia
Hello * I would like to reshape wide the following dataset: rl - read.dta(intermedi/rapporti_lavoro.dta) [c(id_rl,prog,sil_pi,sil_cf,sil_dat_avv)] dim(rl) [1] 12964 5 object.size(rl) 1194728 bytes head(rl) id_rl prog sil_pi sil_cf sil_dat_avv 1 6381 04567XX

[R] how to do this?

2009-09-11 Thread Luca Braglia
Hello R-users I have a situation like this x=c(1,3,2) y=data.frame(a=1:3, b=4:6, c=7:9)*2 So we have t(t(x)) [,1] [1,]1 [2,]3 [3,]2 And y a b c 1 2 8 14 2 4 10 16 3 6 12 18 I would like to obtain a vector with number taken from the data.frame: x is needed as row

[R] R: how to do this?

2009-09-11 Thread Luca Braglia
Da: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Per conto di Luca Braglia Inviato: venerdì 11 settembre 2009 10.17 A: r-help@r-project.org Oggetto: [R] how to do this? in this case the ouput should be 2 16 12 Obviously this id.match = rep(0, nrow(y

[R] R: how to do this?

2009-09-11 Thread Luca Braglia
Da: Linlin Yan [mailto:yanlinli...@gmail.com] Inviato: venerdì 11 settembre 2009 11.19 A: Luca Braglia Cc: r-help@r-project.org Oggetto: Re: [R] how to do this? Try this: y[matrix(c(seq_along(x), x), ncol = 2)] [1] 2 16 12 Very interesting! So I can give as index to a data.frame

[R] Is this a documentation bug? Spss dates import

2009-03-11 Thread Luca Braglia
Hello R-user bug seekers are needed! In order to perform these simple tasks you have to use a copy of SPSS and obviously R. The problem is that date conversion of data coming from SPSS gives wrong results, if we follow ?as.POSIXct ## SPSS dates (R-help 2006-02-17) z - c(10485849600,

[R] again with polr

2008-03-15 Thread Luca Braglia
:/home/luca/stata_oprob.log log type: text closed on: 15 Mar 2008, 10:13:50 thank you Luca -- Luca Braglia, aka Bragliozzo http://bragliozzo.altervista.org

Re: [R] is this a bug? [was Re: again with polr]

2008-03-15 Thread Luca Braglia
On 15/03/08 - 15:21, Luca Braglia wrote: Hello everybody as I said, i'm not a ordered probit guru, but what happened seems to me a little strange. Here I put my dataset http://bragliozzo.altervista.org/asd.dta my fault: i forgot the new antileech system on altervista http

[R] help with summary(polr_model)

2008-03-13 Thread Luca Braglia
I have my summary? Thank you Luca -- Luca Braglia, aka Bragliozzo http://bragliozzo.altervista.org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] regression output to latex

2008-03-02 Thread Luca Braglia
and xtable, and if I didn't miss something, they don't include something like that. Thank you Luca -- Luca Braglia, aka Bragliozzo http://bragliozzo.altervista.org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] [OT] A free (as in freedom) replacement for StatTransfer

2007-12-08 Thread Luca Braglia
Hello * does anybody know a free (as in freedom) equivalent for Stat Transfer http://stattransfer.com/ Thank you Bye __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] [OT] A free (as in freedom) replacement for StatTransfer

2007-12-08 Thread Luca Braglia
On 08/12/07 - 10:29, Marc Schwartz wrote: On Sat, 2007-12-08 at 12:24 +0100, Luca Braglia wrote: Hello * does anybody know a free (as in freedom) equivalent for Stat Transfer http://stattransfer.com/ Thank you Bye The answer is: it depends. If you are looking