Re: [R] Improper configuration

2016-04-29 Thread Göran Broström
On 2016-04-29 23:59, Bert Gunter wrote: Something on your end. I clicked on your link and it took me to CRAN with no problems. Right, the 'problem' is gone now. I am on a fresh install of ubuntu 16.04LTS with Firefox. Maybe some core-team-guy just fixed the certificate?;) Or the new

Re: [R] Improper configuration

2016-04-29 Thread Bert Gunter
Something on your end. I clicked on your link and it took me to CRAN with no problems. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Fri, Apr

[R] Improper configuration

2016-04-29 Thread Göran Broström
Trying https://cran.r-project.org got me "The owner of cran.r-project.org has configured their website improperly" If I try http (instead of https) I'm redirected to www.project.org ("Project America") Any ideas? Göran Broström __

Re: [R] selecting columns from a data frame or data table by type, ie, numeric, integer

2016-04-29 Thread Carl Sutton via R-help
Thank you Bill Dunlap.  So simple I never tried that approach. Tried dozens of others though, read manuals till I was getting headaches, and of course the answer was simple when one is competent.   Learning, its a struggle, but slowly getting there. Thanks again  Carl Sutton CPA On

Re: [R] clock24.plot/radial plot: Fixed

2016-04-29 Thread Ogbos Okike
Dear All, This problem is over. Clock24.plot did the job. Thanks to all those who assisted me. Ogbos On Apr 22, 2016 8:34 PM, "Ogbos Okike" wrote: > Dear All, > One hand. Many thanks!! The code run as soon as I loaded lubridate. > > Please can you guide me on how to

Re: [R] what is the faster way to search for a pattern in a few million entries data frame ?

2016-04-29 Thread Fabien Tarrade
Hi Martin and everybody, sorry for the long delay. Thanks for all the suggestions. With my code and my training data I found similar numbers to the one below. Thanks Cheers Fabien I did this to generate and search 40 million unique strings > grams <- as.character(1:4e7)## a long

Re: [R] How to access the latitude & longitude for UK post codes in R

2016-04-29 Thread John McKown
On Fri, Apr 29, 2016 at 1:25 PM, Muhammad Bilal < muhammad2.bi...@live.uwe.ac.uk> wrote: > Hi All, > > > I have a data frame with three columns i.e., pc, lat, lon. > > > The pc column is populated with list of postcodes, and I want to execute R > command that can get me the lat and lon for the

Re: [R] selecting columns from a data frame or data table by type, ie, numeric, integer

2016-04-29 Thread Giorgio Garziano
Hi, I was able to replicate the solution as suggested by William in case of data.frame class, not in case of data.table class. In case of data.table, I had to do some minor changes as shown below. library(data.table) a <- 1:10 b <- c("a","b","c","d","e","f","g","h","i","j") c <- seq(1.1, .2,

[R] How to access the latitude & longitude for UK post codes in R

2016-04-29 Thread Muhammad Bilal
Hi All, I have a data frame with three columns i.e., pc, lat, lon. The pc column is populated with list of postcodes, and I want to execute R command that can get me the lat and lon for the every item in the pc column and populate the respective lat and lon columns. Is there any package

Re: [R] selecting columns from a data frame or data table by type, ie, numeric, integer

2016-04-29 Thread William Dunlap via R-help
> dt1[ vapply(dt1, FUN=is.numeric, FUN.VALUE=NA) ] a c 1 1 1.1 2 2 1.0 ... 10 10 0.2 Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Apr 29, 2016 at 9:19 AM, Carl Sutton via R-help < r-help@r-project.org> wrote: > Good morning RGuru's > I have a data frame of 575 columns. I

[R] tcltk: click and return table cell index

2016-04-29 Thread Dalthorp, Daniel
I'm struggling mightily with what should be a simple task...when a user clicks on a cell in a tcltk table widget, I need to know which cell was clicked. One idea that gives a cryptic error: tkbind(table1, "", function(x, y){ tcl(table1, "index", x, y) } # x, y give pixel coordinates; "index"

[R] selecting columns from a data frame or data table by type, ie, numeric, integer

2016-04-29 Thread Carl Sutton via R-help
Good morning RGuru's I have a data frame of 575 columns.  I want to extract only those columns that are numeric(double) or integer to do some machine learning with.  I have searched the web for a couple of days (off and on) and have not found anything that shows how to do this.   Lots of ways

Re: [R] lm() with spearman corr option ?

2016-04-29 Thread Cade, Brian
I think you would just need to replace the lm() function call with cor(x,y,method="spearman". It would probably be more informative to actually plot by the magnitude of the correlation coefficient (all |r| >= 0.20 or something similar) rather than just by those with P <=0.05. Brian Brian S.

Re: [R] Package to work with weight based data

2016-04-29 Thread Federman, Douglas
You might look at Anthony D'Amico's work at Asdfree.com There is a lot to learn from here and many of those examples work with weighted survey results -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of BISWAJIT KAR Sent: Thursday, April 28, 2016

Re: [R] [Rd] paths for install and libraries?

2016-04-29 Thread Martin Maechler
> Dalthorp, Daniel > on Thu, 28 Apr 2016 16:41:28 -0700 writes: > I've written a fairly elaborate package (called "eoa") > that relies on functions from several other packages. I've > built the package into a zip file on Windows using > Hadley's