Failure to import dataset

Importing a data set is not working well. Imported the dataset by selecting "From text (readr)" which I believe accesses the CSV importer. I cannot access the data.

This is what I get after importing the data:
ps3prob2data <- read_csv("")
curl package not installed, falling back to using url()
Parsed with column specification:
getprob2data = function() = col_character()
Warning: 1 parsing failure.
row # A tibble: 1 x 5 col row col expected actual file expected actual 1 2 NA 1 columns 5000 colu~ ' file # A tibble: 1 x 5

Note that I had to remove the https:// because newbies cannot have more than 2 links in their post.

Warning message:
In rbind(names(probs), probs_f) :
number of columns of result is not a multiple of vector length (arg 2)

When looking at the original dataset, there is a long gap between the "{x=c( " and the first this the problem? How do I rectify it?

System Information:

  • RStudio Edition: Desktop running on HP surface 4 (64-bit)
  • RStudio Version: Version 1.1.456 (from "About RStudio")
  • OS Version: Windows 10 Pro
  • R Version: 3.5.1

Referred here from

If you go look at the file, you can see that it is not a data set but R code with a function for loading the data in x. You will have to download the script and run it.


Thank you so very much for taking the time to assess and get back to me on what turned out to be an embarrassingly trivial issue. You got me back on track.

1 Like

It is always trivial once you know the solution :wink:! Good luck on the assignment.

1 Like

If your question's been answered (even if by you), would you mind choosing a solution? (See FAQ below for how).

Having questions checked as resolved makes it a bit easier to navigate the site visually and see which threads still need help.