Message-ID: <14BC04FD-7AFA-4E9B-8438-37DA098E159C@dcn.davis.ca.us>
Date: 2016-03-28T16:57:19Z
From: Jeff Newmiller
Subject: Could not find function even though I have all necessary packages
In-Reply-To: <CA+pG8eOL--WFdr8Hay1eC7UFEk6yfif=PXWxj1R0oZ1Mabqeww@mail.gmail.com>
Post plain text only please.
Are you sure it loaded? Verify with sessionInfo()...
--
Sent from my phone. Please excuse my brevity.
On March 28, 2016 9:21:56 AM PDT, Michael Artz <michaeleartz at gmail.com> wrote:
>Hi,
> I am getting the error,
>
>Error: could not find function "createDataPartition"
>
>when I do the code
>dataFrame_data <- createDataPartition(data$colA, p=.7, list=FALSE)
>
>even though I have run already
>
>install.packages("caret", dependencies = c("Depends", "Imports",
>"Suggests"))
>and
>install.packages("caret")
>
>those worked and I then ran
>library(caret)
>
>does anyone know why I'm unable to use this function?
>
> [[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]]