Hello,
I have downloaded "descr.Data and mutagen.Data from the links below.
http://topepo.github.io/caret/descr.RData
http://topepo.github.io/caret/mutagen.RData
How can I access these files to use the data in a script (machine learning)
I need to use the file as in the code below
library(caret)
set.seed(1)
inTrain <- createDataPartition(mutagen, p = 3/4, list = FALSE)
Thank you
Put the .RData objects somewhere and then use load()
.
load("~/descr.RData")
Note you don't need an assignment operator (<-
) as the .RData file loads objects straight into your environment.
Thank you for your response. Load is the function that does the job.
system
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.