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.4567 at gmail.com>:
> 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
> <gmalomsoki1980 at gmail.com> wrote:
> >
> > 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 >= 0.6.0 wird
> gefordert
> >
> >
> > Error in createDataPartition(hypotezis_df$X, p = 0.75, list = FALSE,
> > times = 1) :
> > could not find function "createDataPartition"
> >
> >
> > R version 4.2.3 (2023-03-15 ucrt)
> > Platform: x86_64-w64-mingw32/x64 (64-bit)
> > Running under: Windows 10 x64 (build 19044)
> >
> > Matrix products: default
> >
> > locale:
> > [1] LC_COLLATE=German_Austria.utf8 LC_CTYPE=German_Austria.utf8
> > [3] LC_MONETARY=German_Austria.utf8 LC_NUMERIC=C
> > [5] LC_TIME=German_Austria.utf8
> >
> > attached base packages:
> > [1] stats graphics grDevices utils datasets methods base
> >
> > other attached packages:
> > [1] plotrix_3.8-2 rgl_1.1.3 scatterplot3d_0.3-43
> > lattice_0.20-45
> > [5] knitr_1.42 GGally_2.1.2 fs_1.6.0
> > lubridate_1.9.2
> > [9] forcats_1.0.0 stringr_1.5.0 dplyr_1.1.0
> > purrr_1.0.1
> > [13] readr_2.1.4 tidyr_1.3.0 tibble_3.1.8
> > ggplot2_3.4.2
> > [17] tidyverse_2.0.0
> >
> > loaded via a namespace (and not attached):
> > [1] progress_1.2.2 tidyselect_1.2.0 xfun_0.36
> colorspace_2.1-0
> > [5] vctrs_0.5.2 generics_0.1.3 htmltools_0.5.4
> base64enc_0.1-3
> > [9] utf8_1.2.2 rlang_1.1.0 pillar_1.8.1
glue_1.6.2
> > [13] withr_2.5.0 RColorBrewer_1.1-3 foreach_1.5.2
> lifecycle_1.0.3
> > [17] plyr_1.8.8 timeDate_4022.108 munsell_0.5.0
> gtable_0.3.1
> > [21] ragg_1.2.5 htmlwidgets_1.6.1 codetools_0.2-19
> labeling_0.4.2
> > [25] fastmap_1.1.0 tzdb_0.3.0 fansi_1.0.4
Rcpp_1.0.10
> > [29] scales_1.2.1 jsonlite_1.8.4 farver_2.1.1
> systemfonts_1.0.4
> > [33] textshaping_0.3.6 digest_0.6.31 hms_1.1.2
> stringi_1.7.12
> > [37] grid_4.2.3 cli_3.6.0 tools_4.2.3
> magrittr_2.0.3
> > [41] crayon_1.5.2 pkgconfig_2.0.3 ellipsis_0.3.2
> Matrix_1.5-3
> > [45] prettyunits_1.1.1 timechange_0.2.0 gower_1.0.1
> reshape_0.8.9
> > [49] rstudioapi_0.14 iterators_1.0.14 R6_2.5.1
> nlme_3.1-162
> > [53] compiler_4.2.3
> >
> >
> > Am Fr., 14. Apr. 2023 um 11:24 Uhr schrieb Duncan Murdoch <
> > murdoch.duncan at gmail.com>:
> >
> > > 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 Berger <ericjberger at gmail.com> 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 this
function
> > > >>
> > > >>
> > > >> On Fri, Apr 14, 2023 at 9:56?AM G?bor Malomsoki <
> > > gmalomsoki1980 at gmail.com>
> > > >> wrote:
> > > >>
> > > >>> 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 <ericjberger at gmail.com> schrieb
am Fr., 14. Apr. 2023,
> > > 08:47:
> > > >>>
> > > >>>> 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
<
> > > >>>> gmalomsoki1980 at gmail.com> wrote:
> > > >>>>
> > > >>>>> 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 version
deleted]]
> > > >>>>>
> > > >>>>>
______________________________________________
> > > >>>>> R-help at r-project.org mailing list -- To
UNSUBSCRIBE and more,
> see
> > > >>>>> https://stat.ethz.ch/mailman/listinfo/r-help
> > > >>>>> PLEASE do read the posting guide
> > > >>>>> http://www.R-project.org/posting-guide.html
> > > >>>>> and provide commented, minimal,
self-contained, reproducible
> code.
> > > >>>>>
> > > >>>>
> > > >
> > > > [[alternative HTML version deleted]]
> > > >
> > > > ______________________________________________
> > > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and
more, see
> > > > https://stat.ethz.ch/mailman/listinfo/r-help
> > > > PLEASE do read the posting guide
> > > http://www.R-project.org/posting-guide.html
> > > > and provide commented, minimal, self-contained, reproducible
code.
> > >
> > >
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]