": cannot open the connection" Error in R

0 votes
I'm getting the following error while trying to execute a simple program in R. whta does the error mean and how do i get rid of it?
Oct 31, 2018 in Data Analytics by Hannah
• 14,080 points
321 views

1 answer to this question.

0 votes

There can be two reasons for this error to show up when running an R script:

  1. A file/connection can’t be opened because R can’t find it (mostly due to an error in the path)
  2. Failure in .onLoad() because a package can’t find a system dependency
answered Oct 31, 2018 by Kalgi
• 37,320 points

Related Questions In Data Analytics

0 votes
1 answer

Error saying " cannot open the connection" when trying to install a package in R

Try install.packages(“package_name”, repos="http://cran.us.r-p ...READ MORE

answered Nov 26, 2018 in Data Analytics by Maverick
• 10,040 points
212 views
0 votes
1 answer

"Error in eval(ei, envir) : object 'RDX2' not found" when trying to source the code in R

This is a very common issue that ...READ MORE

answered Oct 30, 2018 in Data Analytics by Maverick
• 10,040 points
354 views
0 votes
1 answer

“subscript out of bounds” Error in r programming

This error is likely to occur when ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 37,320 points
943 views
0 votes
1 answer

What does “replacement has” Error mean?

This error occurs when one tries to ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 37,320 points
33 views
0 votes
1 answer

Errors saying "Error: unexpected '}' in "}"

This is a syntax error: Enclose your if ...READ MORE

answered Nov 8, 2018 in Data Analytics by Maverick
• 10,040 points
285 views
0 votes
1 answer

Error saying "object 'mvnorm' not found"

You seem to have made a small ...READ MORE

answered Nov 9, 2018 in Data Analytics by Maverick
• 10,040 points
43 views
0 votes
1 answer

what causes these cannot open errors in R?

They are caused by attempts to read a ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 37,320 points
63 views
0 votes
1 answer

Remove NA values from the output in R programming

Edit your code: columnmean <- function(x, removeNA = ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 37,320 points
30 views