The question may seem stupid but I'm a beginner.
How to open a database in .R. because when I open my insurance.r file, I have:
dat <-
structure(list(pcs = structure(c(8L, 4L, 4L, 8L, 6L, 8L, 4L,
6L, 3L, 8L, 8L, 8L, 6L, 4L, 7L, 5L, 7L, 4L, 7L, 5L, 5L, 8L, 5L,
7L, 4L, 4L, 5L, 8L, 7L, 3L, 4L, 4L, 7L, 5L, 7L, 8L, 7L, 7L, 4L,
7L, 8L, 7L, 5L, 7L, 3L, 8L, 4L, 7L, 8L, 4L, 8L, 4L, 5L, 8L, 8L,
6L, 2L, 4L, 4L, 5L, 7L, 8L, 8L, 8L, 4L, 7L, 5L, 5L, 4L, 7L, 7L,
5L, 5L, 4L, 8L, 8L, 6L, 5L, 7L, 8L, 3L, 5L, 7L, 8L, 6L, 8L, 5L,
8L, 7L, 5L, 5L, 8L, 5L, 4L, 4L, 5L, 5L, 3L, 4L, 4L, 5L, 8L, 7L,
4L, 7L, 5L, 8L, 8L, 8L, 8L, 7L, 4L, 4L, 8L, 6L, 8L, 8L, 4L, 4L,
4L, 5L, 6L, 7L, 7L, 8L, 8L, 8L, 5L, 6L, 8L, 6L, 4L, 3L, 7L, 7L,
4L, 6L, 6L, 4L, 6L, 6L, 6L, 6L, 5L, 7L, 5L, 8L, 3L, 4L, 5L, 7L,
5L, 4L, 2L, 7L, 4L, 8L, 8L, 6L, 6L, 5L, 8L, 7L, 6L, 5L, 4L, 5L,
6L, 7L, 6L, 6L, 5L, 8L, 8L, 8L, 8L, 4L, 4L, 4L, 8L, 5L, 8L, 4L,
5L, 8L, 8L, 8L, 7L, 7L, 7L, 7L, 4L, 5L, 7L, 7L, 8L, 8L, 5L, 5L,
3L, 8L, 6L, 6L, 7L, 7L, 4L, 4L, 7L, 4L, 8L, 7L, 4L, 4L, 7L, 6L,
etc etc...
So what's wrong ? Should I use read.table ?
I hope someone could help me !