I maybe wrong in this, but I don't think you can use data(). To use
data(), the data have to be part of a R package. As generating a R
package is a lot of work ;-( you probably won't be able to use data()
for local data,

However you can save() your data, and then bring it into a R session
using load()