I'm new to R so please don't blast me.
I've downloaded a dataset file from the web, and i correctly imported it using the read.table()
function.
Auto = read.table("Path")
Now, if i run the ls()
function i correctly see Auto in the user environment.
If i want to accede the dataset's columns as variables, i have to first attach the dataset, using for example the function attach("Package_path")
.
Is this necessity due to the function read.table()
which creates a new and separate environment every time we import a dataset ?
What i think is that the dataset's variables are already present after the using of read.table()
, the only thing is that are not attached to user environment yet...