Re: [R] Feature selection using R Caret package: Error in seeds[[num_rs + 1L]] : subscript out of bounds

2016-12-20 Thread David Winsemius
> On Dec 20, 2016, at 1:30 PM, Its August via R-help > wrote: > > rm(list=ls())set.seed(12345)library(mlbench)library(caret) > options(error=utils::recover) > #Pastebin link for Data: http://pastebin.com/raw/cg0Kiueqmydata.df <- > read.table("data.PasteBin.txt", header=

Re: [R] Would like to practice running ecological data & R code

2016-12-20 Thread Bert Gunter
You might want to start here: https://cran.r-project.org/web/views/Environmetrics.html I am sure there are many interesting data sets in these packages. Please also search online for R tutorials -- there are many good ones, some targeted for your field I'm sure. Google is your friend. Cheers,

[R] Would like to practice running ecological data & R code

2016-12-20 Thread Loretta Fisher
Dear R help list, I am a beginner using R for univariate and multivariate analysis of ecological data. About the only thing I can do with R script on my own thus far is run an ANOVA and a Tukey's HSD test, and I'm finding that this skill level is not getting me very far in new types of ecological

[R] Feature selection using R Caret package: Error in seeds[[num_rs + 1L]] : subscript out of bounds

2016-12-20 Thread Its August via R-help
Hello All, I've a dataset of six samples and 1530 variables/features and wish to know the the importance of features. I'm trying to use the "Rank Features By Importance" as mentioned in Feature Selection with the Caret R Package (http://machinelearningmastery.com/feature-selection-with-the-caret

Re: [R] Why Does R Print out strange record?

2016-12-20 Thread arthur brogard via R-help
Yep. Okay. This better? It's gone to the list I think? And I found the plain text option right before my eyes there at the bottom of the page. thanks for your help. From: Richard M. Heiberger Sent: Wednesday, 21 December 2016, 6:57 Subject: Re: [R] W

Re: [R] Getting scan() -command to work during the program run

2016-12-20 Thread David Winsemius
> On Dec 20, 2016, at 12:37 AM, Atte Tenkanen wrote: > > Hi, > > How to get scan(file="") command to ask my input from the keyboard? > > If I put the command straight to the console it works > > > X1 <- scan(n=1) > 1: 22 > Read 1 item > > but as a part of a program it just continues without

Re: [R] Getting scan() -command to work during the program run

2016-12-20 Thread Bert Gunter
No clue. -- 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 Tue, Dec 20, 2016 at 8:11 AM, Atte Tenkanen wrote: > Hi Bert, > > I tried using the function

Re: [R] Getting scan() -command to work during the program run

2016-12-20 Thread Atte Tenkanen
Hi Bert, I tried using the function, but still the same problem. If there is something after the scan-line, scan does not let me to enter any input but the program just run forward like before. I have OSX 10.9.5. and R 3.3.2. Atte 20.12.2016, 17.19, Bert Gunter kirjoitti: ?? f <- functio

Re: [R] Is it possible to create such graph - Which packages can come handy?

2016-12-20 Thread Adams, Jean
​You might find the code in this blog post helpful. http://theanalyticalminds.blogspot.com/2015/03/part-3a-plotting-with-ggplot2.html Scroll down to "Analysing the temperature by month - violin geom with jittered points overlaid​". This shows a series of violin plots, which is another way to disp

Re: [R] Getting scan() -command to work during the program run

2016-12-20 Thread Bert Gunter
?? > f <- function() {X <- scan(n =1); X} > f() 1: 3 Read 1 item -- 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 Tue, Dec 20, 2016 at 12:37 AM, Atte

[R] Is it possible to create such graph - Which packages can come handy?

2016-12-20 Thread Narendra Modi
Hello Gurus, I intend to build attached reference graph in R(r.png). Could you give me some ideas on how it can be done, if at all possible? Basically, I would like to build a Histogram along Y axis for different respective X axis ranges. As shown in the input.png file, there is a value of EUR fo

[R] Getting scan() -command to work during the program run

2016-12-20 Thread Atte Tenkanen
Hi, How to get scan(file="") command to ask my input from the keyboard? If I put the command straight to the console it works > X1 <- scan(n=1) 1: 22 Read 1 item but as a part of a program it just continues without asking my value? > X1 <- scan(n=1) 1: Read 0 items Yours, Atte Tenkanen ___

Re: [R] Bugzilla account request

2016-12-20 Thread Florent Angly
The gist of my post was that accounts must be requested through a mailing list. As you correctly clarified, though, the R-devel list should be used, not R-help. I am quite sure of the bugs I have identified, but will report them on R-devel for good form. Best regards, Florent On 19 December 2016 a