How ro use .RData file in script

I have downloaded "descr.Data and mutagen.Data from the links below.
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


inTrain <- createDataPartition(mutagen, p = 3/4, list = FALSE)

Thank you

Put the .RData objects somewhere and then use load().


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.

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.