bellas
April 23, 2019, 9:51am
1
Hi, I am using R studio for the first time to learn the program.
I was trying to import file from spss or excel and got this message:
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES '
R probably looked for additional package to download and couldn't do it. Why?
Thanks in advance.
cderv
April 23, 2019, 11:30am
2
This could mean you can't access internet from your R installation.
Do you have a proxy or some firewall restricting internet access ?
What did you try exactly as command to get those errors ?
Thanks.
1 Like
bellas
April 23, 2019, 5:34pm
3
Finally I found the solution: I changed CRAN packages source from default to other from the list and R succeed to download all needed packages.
cderv
April 25, 2019, 6:03am
4
Glad you found a solution !
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:
If your question has been answered, don't forget to mark the solution!
How do I mark a solution?
Find the reply you want to mark as the solution and look for the row of small gray icons at the bottom of that reply. Click the one that looks like a box with a checkmark in it:
[image]
Hovering over the mark solution button shows the label, "Select if this reply solves the problem". If you don't see the mark solution button, try clicking the three dots button ( ••• ) to expand the full set of options.
When a solution is chosen, the icon turns green and the hover label changes to: "Unselect if this reply no longer solves the problem". Success!
[solution_reply_author]
…
system
Closed
May 2, 2019, 6:12am
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.