This is the first time I use R. I can't read a .dta file. I keep receiving errors when I try to install haven package or tidyverse package - in order to read a .dta file. But I'm not sure this is the only problem since I don't know the software. Could someone help me?
PS: I updated the R Studio to version 1.3.1093 and I have the same error and warning.
Warning in install.packages : installation of package ‘haven’ had non-zero exit status
Welcome to the forum. Can you provide some more details? Which version of R do you have installed? Can you share the commands/code you tried to get haven to work?
Not yet. It seems more complicated. Accordingly to this instruction, I guess I should install this CRAN repository, but I can't. There is a problem with the server that has the key. And I get two error messages, one when I try to install the key and another to the repository. I have Ubuntu 18.04.
I found the problem. There was a package in the wrong place. I removed and it worked. But the result is a tibble and I need the entire database in a format I can use - and I don't know how to use it in R yet.