Re: [R] Package Caret

2023-04-16 Thread Bert Gunter
It doesn't. namesraum = namespace which is technically different than a paket = package (as you, as a German speaker, know of course). I leave it to you to search for suitable references on the details of what these are in R, unless someone wiser than I offers a mini-tutorial here. But glad I coul

Re: [R] Package Caret

2023-04-16 Thread Uwe Ligges
On 17.04.2023 00:19, Gábor Malomsoki wrote: Many thanks Bert, now is ok, i did not know that "Namensraum" should mean a package Two hints: 1. The NAMESPACE is meant and he trnlsation is very literal here. 2. I typically have LANGUAGE=en set for R to avoid confusion. Best, Uwe Ligges

Re: [R] Package Caret

2023-04-16 Thread Gábor Malomsoki
Many thanks Bert, now is ok, i did not know that "Namensraum" should mean a package Am So., 16. Apr. 2023 um 23:44 Uhr schrieb Bert Gunter < bgunter.4...@gmail.com>: > So update the vctrs package to the latest version first before loading > R-tools (or the caret package, specifically)? > > -- Be

Re: [R] Package Caret

2023-04-16 Thread Bert Gunter
So update the vctrs package to the latest version first before loading R-tools (or the caret package, specifically)? -- Bert On Sun, Apr 16, 2023 at 1:57 PM Gábor Malomsoki wrote: > > I have newly installed R, R-tools, RStudio, but still not working: > > library(caret)Lade nötiges Paket: lattice

Re: [R] Package Caret

2023-04-16 Thread Gábor Malomsoki
I have newly installed R, R-tools, RStudio, but still not working: library(caret)Lade nötiges Paket: latticeError: Laden von Paket oder Namensraum für ‘caret’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): fehlgeschlagen Namensraum ‘vctrs’ 0.5.2 ist bereits geladen, aber >=

Re: [R] Package Caret

2023-04-14 Thread Duncan Murdoch
You should post the result of running sessionInfo(), and tell us how you installed R. Your installation seems very broken. Duncan Murdoch On 14/04/2023 3:45 a.m., Gábor Malomsoki wrote: This is the error then: error in prettyseq(1:ncol(out)) : could not find function "prettyseq" Eric Berg

Re: [R] Package Caret

2023-04-14 Thread Eric Berger
prettyseq() is in the seqinr package. That seems to usher in a lot of other issues. How about caTools::sample.split() ? (I have never used it, I just learned about it from a search) https://rdrr.io/cran/caTools/src/R/sample.split.R Good luck, Eric On Fri, Apr 14, 2023 at 10:50 AM Gábor Malom

Re: [R] Package Caret

2023-04-14 Thread Gábor Malomsoki
Or is there any similar function to split the dataframe to trainDF and testDF? Gábor Malomsoki schrieb am Fr., 14. Apr. 2023, 09:45: > > This is the error then: > error in prettyseq(1:ncol(out)) : could not find function "prettyseq" > > > > > Eric Berger schrieb am Fr., 14. Apr. 2023, 09:06: >

Re: [R] Package Caret

2023-04-14 Thread Gábor Malomsoki
This is the error then: error in prettyseq(1:ncol(out)) : could not find function "prettyseq" Eric Berger schrieb am Fr., 14. Apr. 2023, 09:06: > What happens if you do the following? > > library(caret) > > ?caret::createDataPartition > > i.e. to confirm that caret is loaded, seek help on thi

Re: [R] Package Caret

2023-04-14 Thread Eric Berger
What happens if you do the following? > library(caret) > ?caret::createDataPartition i.e. to confirm that caret is loaded, seek help on this function On Fri, Apr 14, 2023 at 9:56 AM Gábor Malomsoki wrote: > Eric, > > Yes, i know, i am calling the package, but this is not working. > I saw a sim

Re: [R] Package Caret

2023-04-13 Thread Gábor Malomsoki
Eric, Yes, i know, i am calling the package, but this is not working. I saw a similar question in Stackoverflow, advising install package Rcpp, but this one i am unable to install. Eric Berger schrieb am Fr., 14. Apr. 2023, 08:47: > You first have to load the package using the library command.

Re: [R] Package Caret

2023-04-13 Thread Eric Berger
You first have to load the package using the library command. > library(caret) Then you can call createDataPartition. e.g. > data(oil) > createDataPartition(oilType,2) HTH, Eric On Fri, Apr 14, 2023 at 7:52 AM Gábor Malomsoki wrote: > Dear all, > When i try to use createDataPartition after ca

[R] Package Caret

2023-04-13 Thread Gábor Malomsoki
Dear all, When i try to use createDataPartition after calling package 'caret', i get the message: "could not find function createDataPartition" I use: R-4.2.3 for Windows RStudio-2023.03.0-386 Do you have any experience with this failure? Thank you! Best regards Gabor [[alternative HTML

Re: [R] Problems install R package "Caret" in Rstudio version 3.3.3

2019-04-01 Thread John Kane
Hi Chaoyang, R 3.3.3 is rather old. If possible you should upgrade to 3.5.3. I believe 'caret' will install properly under R 3.5.3 On Mon, 1 Apr 2019 at 02:49, Chaoyang Li wrote: > > Hi, everyone, > I was trying to use the ‘caret’ for splitting dataset and cross > validation function, bu

[R] Problems install R package "Caret" in Rstudio version 3.3.3

2019-03-31 Thread Chaoyang Li
Hi, everyone, I was trying to use the ‘caret’ for splitting dataset and cross validation function, but I couldn’t install this package and it always gives me following warning: Warning in install.packages : package ‘caretEnsembles’ is not available (for R version 3.3.3).