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]]