Re: [R] recursively rename dir and files

2015-04-10 Thread mbressan
hi jim thank you very much for your help: what a nice piece of code! inspired by your neat solution let me here post a slight variation upon your lines which is now also dealing also with caps in file and dir names (a potentially useful function for the proper housekeeping of the wd) it works

Re: [R] issue on installation of RCurl on Debian Wheezy

2014-12-24 Thread mbressan
yes, exactly! all these dependencies were missing plus some other were corrupted (but frankly I do not know why and how) now everything seems working fine... thanks a lot my best season's greetings m I think you need to have curl-config installed. I had a similar problem on Ubuntu and

Re: [R] sum of two POSIXct objects: date and hour

2014-04-29 Thread mbressan
hi, thanks for your reply the first record for my date is 2014-03-27 and for my hour is 1899-12-30 12:03:16 I got to this point by importing some data via RODBC from an access database Now, I would like to get a single column with the date and the time that for the first record should be equal

Re: [R] interpretation of MDS plot in random forest

2013-12-03 Thread mbressan
sorry, in fact it was a trivial question! by just peeping into the function I've worked out this simple solution: MDSplot(iris.rf, iris$Species) legend(topleft, legend=levels(iris$Species), fill=brewer.pal(3, Set1)) thank you thanks andy it's a real honour form me to get a reply by you;

Re: [R] interpretation of MDS plot in random forest

2013-12-02 Thread mbressan
thanks andy it's a real honour form me to get a reply by you; I'm still a bit faraway from a proper grasp of the purpose of the plot... may I ask you for a more technical (trivial) issue? is it possible to add a legend in the MDS plot? my problem is to link the color points in the chart to the

Re: [R] decimal separator from comma to dot

2013-08-09 Thread mbressan
This is my reproducible example df-structure(list(IDANT = c(37837L, 37838L, 37839L, 37840L, 37841L,  37842L, 37843L, 40720L, 40721L, 40722L), N_TX = c(6L, 6L, 6L,  4L, 1L, 1L, 1L, 2L, 2L, 1L), TILT = c(0L, 0L, 0L, 0L, 6L, 6L,  6L, 0L, 0L, 0L), DIREZIONE = c(50L, 220L, 110L, 50L, 220L, 110L,  50L,

Re: [R] decimal separator from comma to dot

2013-08-09 Thread mbressan
YES, THANK YOU ALL for the good lessons learned both about the netiquette of this mailing list and the R coding max Hi, Try:  df$POT2_TX- df$POT_TX df[,6:7]- lapply(df[,6:7],function(x) as.numeric(as.character(sub(,,.,x  str(df) #'data.frame':    10 obs. of  7 variables: # $ IDANT