Questions tagged as 'read.table'

2
answers

How to import data from excel pro R?

I have a table in excel that I need to import into R. I was able to do this quietly with the read.csv function when the table in question was online, but I'm having trouble importing the file directly from my computer. As the code I'm doing will...
asked by 04.06.2014 / 06:26
1
answer

How to read a table missing elements or misconfigured?

Suppose a table in the form of text like the following: texto <- "a b c e f g h i" When I use the read.table command, it gives the following error: tabela <- read.table(text=texto) Error in scan(file, what, nmax, sep, dec, quote, sk...
asked by 26.02.2014 / 17:31
1
answer

How to read a file if its name is stored in a variable?

I have a file with names of other 980 files actually, so I wanted to read that file and save the names in a variable and then open the file with that name, I tried with the read table but as the name is in a variable it does not recognize. Any s...
asked by 17.04.2017 / 09:49
1
answer

Object not found

I made the following commands in the R: setwd:(###) data1<-read.table("scatter1.txt",header=T) head(data1) tail(data1) summary(data1) str(data1) names(data1) plot(xv,ys,col="red") And the message below appeared:    Error in eval (pred...
asked by 23.03.2018 / 15:23