Another option is to put an R file of the same name as your dataset into
the "data" directory and specify how your data should be read. I use it
whenever I need to overwrite other arguments from the default
read.table. If you have e.g. mydata.csv, a file mydata.R would contain
this line:
myda
If it's in the DESCRIPTION file put the word into quotes.
Hana
On 01/03/2016 08:47, Michael Dewey wrote:
The spell checker is correct they are not correctly spelled English
words but names. I searched the Writing R Extensions manual but did not
find any solution. I know it is only a NOTE not mor
Alexandra,
I got the same error for this line of code:
e <- new.env()
data("mydataset", envir=e)
As you said it doesn't appear for R 3.2.1. I don't know why that should
be wrong and would be interested to know, but my hack is this:
e <- new.env()
do.call("data", list("mydataset", envir=e))