[R] Error using R caret package (train) with C5.0 decision tree to do K-fold cross validation

2020-04-07 Thread J4T5U8 via R-help
I'm trying to use the caret package to do repeated k-fold cross validation with C5.0 decision trees. The following code generates a working C5.0 decision tree (68% accuracy on confusion matrix): > model <- C5.0(as.factor(OneGM) ~., data=OneT.train) > results <- predict(object=model,

Re: [R] error in R program

2014-06-08 Thread Charles Determan Jr
thanoon.youni...@gmail.com wrote: many thanks to you Dr. Charles Really i have a problem with simulation data in xi and now i have this erro r Error in mvrnorm(1, c(0, 0, 0), phi1, tol = 1e-06, empirical = FALSE, : incompatible arguments Regards On 5 June 2014 16:45

Re: [R] error in R program

2014-06-07 Thread Charles Determan Jr
again, please make sure you are not just sending these messages solely to me. Regards, Charles On Thu, Jun 5, 2014 at 9:04 AM, thanoon younis thanoon.youni...@gmail.com wrote: many thanks to you Dr. Charles Really i have a problem with simulation data in xi and now i have this erro r Error

Re: [R] error in R program

2014-06-05 Thread Charles Determan Jr
Hello again Thanoon, Once again, you should send these request not to me but to the r-help list. You are far more likely to get help from the greater R community than just me. Furthermore, it is not entirely clear where your error is. It is courteous to provide only the code that is run up to

[R] error in r

2014-05-03 Thread thanoon younis
dear all members i have error in the code below Error in Y[i, 9] = 0.9 * XI[i, 2] + eps[9] : subscript out of bounds is there anyone helps me please. many thanks in advance thanoon llibrary(mvtnorm) #Load mvtnorm package library(R2WinBUGS) #Load R2WinBUGS package N=500

Re: [R] error in r

2014-05-03 Thread Duncan Murdoch
On 03/05/2014, 11:49 AM, thanoon younis wrote: dear all members i have error in the code below Error in Y[i, 9] = 0.9 * XI[i, 2] + eps[9] : subscript out of bounds is there anyone helps me please. You created Y with 8 columns, then you refer to column 9. Duncan Murdoch many thanks in

Re: [R] Error executing R CMD check --as-cran caused by missing Maintainer field

2013-08-03 Thread Prof Brian Ripley
... Package * this is package 'tipom' version '1.0.1' * checking CRAN incoming feasibility ...Error in if (!all(m_m_1 == m_d_1)) { : missing value where TRUE/FALSE needed Execution halted The error occurs using R 3.0.1 on both Debian and Fedora (distribution packages). I understand it is caused by some

Re: [R] Error executing R CMD check --as-cran caused by missing Maintainer field

2013-08-03 Thread Stefano Costa
Il 03/08/2013 09:23, Prof Brian Ripley ha scritto: Use R CMD build to prepare a tarball. CRAN submission requires a tarball as prepared by R CMD build ... and asks you to check the tarball you are about to submit, not a directory. Thanks, that was my mistake. Perhaps the error message could

Re: [R] Error executing R CMD check --as-cran caused by missing Maintainer field

2013-08-03 Thread Prof Brian Ripley
On 03/08/2013 09:04, Stefano Costa wrote: Il 03/08/2013 09:23, Prof Brian Ripley ha scritto: Use R CMD build to prepare a tarball. CRAN submission requires a tarball as prepared by R CMD build ... and asks you to check the tarball you are about to submit, not a directory. Thanks, that was

[R] Error executing R CMD check --as-cran caused by missing Maintainer field

2013-08-02 Thread Stefano Costa
'1.0.1' * checking CRAN incoming feasibility ...Error in if (!all(m_m_1 == m_d_1)) { : missing value where TRUE/FALSE needed Execution halted The error occurs using R 3.0.1 on both Debian and Fedora (distribution packages). I understand it is caused by some missing information in the DESCRIPTION file

Re: [R] Error after R and Twitter Successfull Handshake

2013-03-27 Thread Peter Maclean
  After installing updated twitteR and ROAuth, I am still getting the same error as stated in these links. As there anyone who has been able to solve the prolem? Suggested solution do not work.  

[R] Error in R (ENFA) : Error in eigen(Se) : infinite or missing values in 'x'

2013-02-11 Thread Leandro Abade
Dear all, I am running an Ecological Niche Factor Analysis in R but I am stuck with a problem. As soon as I ask the software to compute the ENFA, I get the following error message: Error in eigen(Se) : infinite or missing values in 'x' Does anyone know what could be wrong. I do not have missing

[R] error in R CMD build when editing c function in R package

2012-01-31 Thread moli
I have modified a C function in the `phmm` package. Now I want to rebuild the package, but the following error occurred. How can I fix the error? $ cd ~/Desktop/phmmw $ R CMD build phmm * checking for file ‘phmm/DESCRIPTION’ ... OK * preparing ‘phmm’: * checking DESCRIPTION

Re: [R] error in R CMD build when editing c function in R package

2012-01-31 Thread Prof Brian Ripley
the package, but the following error occurred. How can I fix the error? $ cd ~/Desktop/phmmw $ R CMD build phmm * checking for file ‘phmm/DESCRIPTION’ ... OK * preparing ‘phmm’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to re

[R] Error building R 2.14.0 from sources on Win7 x64

2011-11-21 Thread Frédéric Fournier
Hello everyone, I'm trying to build R 2.14.0 from source on Win7 x64 using the instructions from R Installation and Administration (version 2.13.2), but when I try to make the core files (as of step 3.1.3 of the instructions), it fails with the following error: ... x86_64-w64-mingw32-gcc

Re: [R] Error building R 2.14.0 from sources on Win7 x64

2011-11-21 Thread Prof Brian Ripley
On Mon, 21 Nov 2011, Frédéric Fournier wrote: Hello everyone, I'm trying to build R 2.14.0 from source on Win7 x64 using the instructions from R Installation and Administration (version 2.13.2), but when I try to make the core files (as of step 3.1.3 of the instructions), it fails with the

[R] Error in R-SVM help:

2011-02-20 Thread Angel Russo
Greetings: I am trying to use your R code for R-SVM as follows. Why it dosen't print the LOO.error and the list of features? http://www.stanford.edu/group/wonglab/RSVMpage/R-SVM.html My training data as follows contains 142 cases and 264 features. instead I get en error as below invalid

[R] error on R CMD rtags

2010-11-10 Thread Liviu Andronic
Dear all I'm getting a strange error when trying to use rtags() to generate tags in Emacs format. r...@liv-laptop:/usr/lib/R# R CMD rtags -o /usr/local/build/ETAGS --no-Rd --no-c library/ Tagging R files under library/; writing to /usr/local/build/ETAGS (overwriting)... [..] Error: '\.' is an

Re: [R] error on R CMD rtags

2010-11-10 Thread Duncan Murdoch
On 10/11/2010 12:13 PM, Liviu Andronic wrote: Dear all I'm getting a strange error when trying to use rtags() to generate tags in Emacs format. r...@liv-laptop:/usr/lib/R# R CMD rtags -o /usr/local/build/ETAGS --no-Rd --no-c library/ Tagging R files under library/; writing to

Re: [R] Error compiling R 2.10.1 on AIX

2010-09-16 Thread Balkrishna Ketkar
Hello, I am also facing exactly same problem like Mike while compiling R on AIX 5.3 Error in read.dcf(file = descfile) : Line starting 'Package: tools ...' is malformed! Calls: makeLazyLoading ... code2LazyLoadDB - loadNamespace - parseNamespaceFile - read.dcf Execution halted My Environment

Re: [R] Error compiling R 2.10.1 on AIX

2010-09-16 Thread Ei-ji Nakama
-- View this message in context: http://r.789695.n4.nabble.com/Error-compiling-R-2-10-1-on-AIX-tp1017862p2541849.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] error at R CMD check

2010-04-16 Thread carol white
Hi, I generated an R package but at running R CMD check, I got the following error message for the first data file: *** installing help indices Building/Updating help pages for package 'jamda' Formats: text html latex example f1 texthtmllatex example

Re: [R] error at R CMD check

2010-04-16 Thread Duncan Murdoch
carol white wrote: Hi, I generated an R package but at running R CMD check, I got the following error message for the first data file: *** installing help indices Building/Updating help pages for package 'jamda' Formats: text html latex example f1 text

Re: [R] Error loading R Commander with version 2.10.1 on MacOS 10.5 or 10.6

2010-03-15 Thread Krehbiel, Dwight
...@mcmaster.ca] Sent: Sunday, March 14, 2010 12:01 PM To: Krehbiel, Dwight Cc: r-help@r-project.org Subject: RE: [R] Error loading R Commander with version 2.10.1 on MacOS 10.5 or 10.6 Dear Dwight, I've never observed this problem myself, and many people apparently run the tcltk and Rcmdr packages with R

Re: [R] Error loading R Commander with version 2.10.1 on MacOS 10.5 or 10.6

2010-03-15 Thread John Fox
knowledgeable than I about R on Mac OS X. Regards, John -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Krehbiel, Dwight Sent: March-15-10 10:32 AM To: 'John Fox'; 'r-help@r-project.org' Subject: Re: [R] Error loading R Commander

[R] Error loading R Commander with version 2.10.1 on MacOS 10.5 or 10.6

2010-03-14 Thread Krehbiel, Dwight
Dear R Commander experts, I have now had multiple failures in loading R Commander with R version 2.10.1 (most recent one on the CRAN site) on a Mac running OS 10.5 or 10.6. The installation of R Commander seems to proceed normally, but when I try to start up R Commander, it never loads. It

Re: [R] Error loading R Commander with version 2.10.1 on MacOS 10.5 or 10.6

2010-03-14 Thread John Fox
, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Krehbiel, Dwight Sent: March-14-10 12:22 PM To: 'r-help@r-project.org' Subject: [R] Error loading R Commander with version 2.10.1

[R] error in R

2010-03-03 Thread frederik vanhaelst
Hi, I want put some values in the last column of a matrix b. But every time again there comes the same error on the screen... b - array(0, c(5,5)) m-matrix(runif(20,0,2*pi),5) # the sinus of this kind of values i want put in the last column of b, m is a 5*4 matrix n-5 for(i in 1:n){

Re: [R] error in R

2010-03-03 Thread Paul Hiemstra
Hi Frederik, There is no need for the double for loop: b[,5] - sin(runif(5,0,2*pi)) As to your question, check the values i and k take. In the first iteration of the second loop k == 0, and R does not support an index equal to 0. The problem is in 1:n-1, this gives 0- 4, in stead do

Re: [R] Error with R CMD check - Packages required but not available:

2010-02-03 Thread Uwe Ligges
On 02.02.2010 22:52, Reena Bansal wrote: Apologies in advance if this is not the right email to post this question. I successfully created my first R package myPackage1. Now I want to create another R package myPackage2 which requires functions from myPackage1. However when I try R CMD check

Re: [R] Error with R CMD check - Packages required but not available:

2010-02-03 Thread Reena Bansal
[mailto:lig...@statistik.tu-dortmund.de] Sent: Wednesday, February 03, 2010 09:55 AM To: Reena Bansal Cc: r-help@r-project.org Subject: Re: [R] Error with R CMD check - Packages required but not available: On 02.02.2010 22:52, Reena Bansal wrote: Apologies in advance if this is not the right

Re: [R] Error with R CMD check - Packages required but not available:

2010-02-03 Thread Reena Bansal
? -Original Message- From: David Scott [mailto:d.sc...@auckland.ac.nz] Sent: Tuesday, February 02, 2010 07:27 PM To: Reena Bansal Subject: Re: [R] Error with R CMD check - Packages required but not available: Reena Bansal wrote: Hi All, Apologies in advance if this is not the right email

[R] Error with R CMD check - Packages required but not available:

2010-02-02 Thread Reena Bansal
Hi All, Apologies in advance if this is not the right email to post this question. I successfully created my first R package myPackage1. Now I want to create another R package myPackage2 which requires functions from myPackage1. However when I try R CMD check myPackage2 I get the following

[R] Error compiling R 2.10.1 on AIX

2010-01-19 Thread Mike Waldron
I'm trying to compile R 2.10.1 on AIX 5.3, and am getting the following error: Error in read.dcf(file = descfile) : Line starting 'Package: tools ...' is malformed! Calls: makeLazyLoading ... code2LazyLoadDB - loadNamespace - parseNamespaceFile - read.dcf Execution halted make[3]: *** [all]

[R] error: compiling R package

2009-06-25 Thread Stein, Luba (AIM SE)
Hello, I tried to build an own R package on Windows XP but get an error which I can't solve. I called my package pack. It works to creat the file pack with package.skeleton(). But when I try to compile it with Rcmd build --binary pack I obtain the following error: IO::Seekable::seek missing

Re: [R] error: compiling R package

2009-06-25 Thread Prof Brian Ripley
On Thu, 25 Jun 2009, Stein, Luba (AIM SE) wrote: Hello, I tried to build an own R package on Windows XP but get an error which I can't solve. I called my package pack. It works to creat the file pack with package.skeleton(). But when I try to compile it with Rcmd build --binary pack I

[R] Error in R CMD check 2.8.1

2009-04-11 Thread Michael Friendly
Env: R 2.8.1, Win Xp, Eclipse/StatET In a .Rd file, I have an example containing the lines: # calculate Y M, using polynomial contrasts trends - as.matrix(VocabGrowth) %*% poly(8:11, degree=3) colnames(trends)- c(Linear, Quad, Cubic) [At the risk of a long message, I'll append the complete

Re: [R] Error in R CMD check 2.8.1

2009-04-11 Thread Duncan Murdoch
On 11/04/2009 12:33 PM, Michael Friendly wrote: Env: R 2.8.1, Win Xp, Eclipse/StatET In a .Rd file, I have an example containing the lines: # calculate Y M, using polynomial contrasts trends - as.matrix(VocabGrowth) %*% poly(8:11, degree=3) colnames(trends)- c(Linear, Quad, Cubic) [At the

Re: [R] Error in R??

2009-03-28 Thread Jim Silverton
Can someone explain why I am getting the following error: in the r code below? Error in solve.default(diag(2) + ((1/currvar) * (XX1 %*% t(XX1 : system is computationally singular: reciprocal condition number = 0 In addition: There were 50 or more warnings (use warnings() to see the first

Re: [R] Error in R??

2009-03-28 Thread Douglas Bates
On Sat, Mar 28, 2009 at 2:33 AM, Jim Silverton jim.silver...@gmail.com wrote:  Can someone explain why I am getting the following error: in the r code below? Are you asking what the error message means or how you are getting a computationally singular system? (My guess is that currvar is very

Re: [R] error using R Commander for text file import

2009-03-06 Thread Doug Schwalm
://www.nabble.com/error-using-R-Commander-for-text-file-import-tp21928664p22375641.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] error using R Commander for text file import

2009-03-06 Thread John Fox
Of Doug Schwalm Sent: March-06-09 11:19 AM To: r-help@r-project.org Subject: Re: [R] error using R Commander for text file import I'd like to report another instance...one of my students has had the exact same error. I've checked the data, at it is a clean .csv file, with no quotation

Re: [R] error using R Commander for text file import

2009-03-06 Thread John Fox
-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Doug Schwalm Sent: March-06-09 11:19 AM To: r-help@r-project.org Subject: Re: [R] error using R Commander for text file import I'd like to report another instance...one of my students has had the exact same error. I've

Re: [R] error using R Commander for text file import

2009-02-10 Thread Uwe Ligges
Krehbiel, Dwight wrote: I am getting the following error on iMac running Mac OS 10.5.6; this occurs whenever I try to import a text file into R Commander: Error in splitCmd(command) : unbalanced quotes So can you tell us exactly what you did and what the resulting code in the code

Re: [R] error using R Commander for text file import

2009-02-10 Thread John Fox
:52 AM To: Krehbiel, Dwight Cc: r-help@r-project.org Subject: Re: [R] error using R Commander for text file import Krehbiel, Dwight wrote: I am getting the following error on iMac running Mac OS 10.5.6; this occurs whenever I try to import a text file into R Commander: Error

[R] error using R Commander for text file import

2009-02-09 Thread Krehbiel, Dwight
I am getting the following error on iMac running Mac OS 10.5.6; this occurs whenever I try to import a text file into R Commander: Error in splitCmd(command) : unbalanced quotes Thus, I am unable to import data into R Commander. Any suggestions as to how I might fix this error? I have gotten

Re: [R] Error compiling R.2.8.1 with gcc 4.4 on Mac OS 10.5.6

2008-12-22 Thread Peter Dalgaard
Mike Lawrence wrote: Hi all, I've encountered a build error with the latest R source (2.8.1). This is a relatively fresh install of OS Leopard (10.5.6), latest developer tools installed, gcc/g++/gfortran version 4.4 installed (via http://hpc.sourceforge.net/, after which I updated the gcc g

Re: [R] Error compiling R.2.8.1 with gcc 4.4 on Mac OS 10.5.6

2008-12-22 Thread Prof Brian Ripley
On Mon, 22 Dec 2008, Peter Dalgaard wrote: Mike Lawrence wrote: Hi all, I've encountered a build error with the latest R source (2.8.1). This is a relatively fresh install of OS Leopard (10.5.6), latest developer tools installed, gcc/g++/gfortran version 4.4 installed (via http

[R] Error in R/parallel

2008-10-03 Thread 宗楷
Dear all: I try a package called rparallel, and it can make your multiple cores desktop PC have parallel computation. The following are my code: library(rparallel) msd - function(x)c(mean(x),sd(x)) m - matrix(rnorm(10*100),ncol=100) st - Sys.time() M - NULL

[R] How to catch a R error in R code

2007-10-10 Thread HU,ZHENGJUN
the experience about the matter or topic, could you please tell me how to catch a R error in this case? Thank you very much for the help in advance. Howard __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] How to catch a R error in R code

2007-10-10 Thread jim holtman
, as.expression, parse, deparse, etc. None of them worked. Note: when a statement is correct, i.e. x = 1:20 or log(2), the same script returned and reported the R output to the Web site. If any of you has the experience about the matter or topic, could you please tell me how to catch a R error

Re: [R] How to catch a R error in R code

2007-10-10 Thread Kuhn, Max
Howard, though it received the statement. I tried to use some R built-in functions of try, tryCatch, eval, expression, as.expression, parse, deparse, etc. None of them worked. How did they not work? What did you attempt? Did you use silent = TRUE in try? Please be more specific about the