[R] Extracting Numeric Columns from Data Fram

2013-02-16 Thread Barry DeCicco
Hello, I've got a data frame with a mix of numeric, integer and factor columns. I'd like to pull out (or just operate only on) the numeric/integer columns. Every thing I've found in searches is about how to subset by rows, or how to operate assuming you have the column names.  I'd like to pull by

Re: [R] Extracting Numeric Columns from Data Fram

2013-02-16 Thread Barry DeCicco
Thanks to all who responded! I've taken those responses, and found out what works: myNumericColumns<-mydataframe[sapply(mydataframe, is.numeric)] produces a subset of columns with just the numeric vectors. Sincerely, Barry [[alternative HTML version deleted]] __

[R] Problems with Installing R ('failure to expand shell folder constant "userdocs")

2013-12-18 Thread Barry DeCicco
in ‘D:\’m which doesn’t have a padlock icon.  Both had been set to read only; I removed that.    I’ve not been able to find anything on the CRAN website about this.   Has anybody run into this problem before?     Thank you very much,   Barry DeCicco [[alternative