Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem when installing radiant #121

Open
liliwise opened this issue Dec 19, 2019 · 16 comments
Open

The problem when installing radiant #121

liliwise opened this issue Dec 19, 2019 · 16 comments

Comments

@liliwise
Copy link

In my Rstudio, when I copy-and-paste the command below:
install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/")
The console's output is:

install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/")
Warning in install.packages :
unable to access index for repository https://radiant-rstats.github.io/minicran/src/contrib:
cannot open URL 'https://radiant-rstats.github.io/minicran/src/contrib/PACKAGES'
Warning in install.packages :
package ‘radiant’ is not available (for R version 3.5.3)
Warning in install.packages :
unable to access index for repository https://radiant-rstats.github.io/minicran/bin/windows/contrib/3.5:
cannot open URL 'https://radiant-rstats.github.io/minicran/bin/windows/contrib/3.5/PACKAGES'.

What I want to ask is:

  1. Is it a problem with my RStudio‘s version?
  2. How can I install it correctly?
@liliwise
Copy link
Author

Sorry, In Q1 is R's version.
Thanks!

@vnijs
Copy link
Contributor

vnijs commented Dec 19, 2019

I'm not seeing any issues like this on either Windows of macOS. What OS are you using? It seems that your Rstudio is trying to install from source which suggests you are using Linux. Is that the case?

If you on Windows or macOS, can you try running the commands below from Rstudio?

install.packages("radiant.update", repos = "https://radiant-rstats.github.io/minicran/", type = "binary")
radiant.update::radiant.update()

@liliwise
Copy link
Author

My OS is Windows, I've run the commands you'd given. But It didn't work.
In Rstudio, the output was as follow. It couldn't open your URL, so I installed unsuccessfully.

image

What should I do? Looking forward to your reply.
Best wishes for you!

@vnijs
Copy link
Contributor

vnijs commented Dec 20, 2019

@liliwise I'm pretty sure this is a problem with settings on your computer as all packages are available for R 3.5.3 on Windows. I have also done additional testing to double check everything. I would recommend the following. (1) Uninstall R from your computer and delete the Documents/R folder. (2) Use the all-in-one installer for windows linked on the page below that we have all our students use. This will install the latest versions of R, Rstudio, and Radiant on your computer. We have had success with this process with 100s of students so I assume it should also work for you. Please try these 2 steps and let me know how it goes.

Install instructions: https://radiant-rstats.github.io/docs/install.html

All-in-one-installer: https://rady.ucsd.edu/faculty/directory/vnijs/Rady-Radiant-Installer-Latest.exe

@liliwise
Copy link
Author

Okay,I'll try and give the feedback.
Thanks a lot!

@liliwise
Copy link
Author

What happened??? The script crashed and fell into a dead cycle.
image
image

I've uninstalled R and Rstudio, then launched the All-in-one-installer.

@vnijs
Copy link
Contributor

vnijs commented Dec 20, 2019

This is what is supposed to happen :) Just give it a few minutes. Should be done now right?

@vnijs
Copy link
Contributor

vnijs commented Dec 20, 2019

Woops. I didn't notice the messages in the top window. I wonder if there is a firewall issue or something that is blocking you from accessing the repo. Is this your personal computer or a work computer?

Have you tried just using the below? That version is older but should still work fine.

install.packages("radiant")

@liliwise
Copy link
Author

It's personal computer using Campus network. I've closed the firewall, but it didn't work.
Now should I reinstall the All-in-one-installer? Or just in Rstudio to use the old version?

Woops. I didn't notice the messages in the top window. I wonder if there is a firewall issue or something that is blocking you from accessing the repo. Is this your personal computer or a work computer?

Have you tried just using the below? That version is older but should still work fine.

install.packages("radiant")

@vnijs
Copy link
Contributor

vnijs commented Dec 20, 2019

Just Rstudio. The campus network might still be blocking you though.

@liliwise
Copy link
Author

Its result is sading.
image
Is it related to my OS?

@vnijs
Copy link
Contributor

vnijs commented Dec 20, 2019

It looks like (most) packages were installed this time which is good news. The "readr" package was not for some reason. You could try the code below, but it might be that there are other packages that were not installed yet. I don't think it is the OS but perhaps the language settings (?)

install.packages("readr")
install.packages("radiant")

@liliwise
Copy link
Author

I've tried on my machine several times, but it didn't work. It may be related to the settings of my OS- Windows 8. Now I'm trying to install it on another machine. Its system is Windows 7, and it uses All-in-one-installer to install radiant. However, the installation is very slow, which may be related to the local network speed. At present, no error has been reported. If the installation is complete, I will give a feedback. Thank you very much for your positive replies.

@liliwise
Copy link
Author

There is good news and bad news. The good news is that my win8 system successfully installed the old version of radiant after restarting, and it can be used normally. The bad news is that when another win7 computer installed All-in-one-installer, it also reported an error, unable to open the link, and some dependent files could not be downloaded. The latest version is not available here. But thank you for your answer, and we have solved the problem.

@vnijs
Copy link
Contributor

vnijs commented Dec 22, 2019

Thanks for the update @liliwise. I don't think this is a Radiant problem really but rather a problem with R on Windows 7. I just checked and Microsofts support for Windows 7 will end in a few weeks. Is it possible to upgrade to a newer version of Windows?

"Microsoft ended mainstream support for Windows 7 on January 13, 2015, but extended support won't end until January 14, 2020."

@liliwise
Copy link
Author

OK, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants