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

new user, issues with running SAM #29

Open
spinjdoc opened this issue Dec 21, 2017 · 2 comments
Open

new user, issues with running SAM #29

spinjdoc opened this issue Dec 21, 2017 · 2 comments

Comments

@spinjdoc
Copy link

Hi Mike. Been running SAM for years as an Excel addin, but with minimal-to-no expertise in R or the new SAM. (Just loaded it to make SAM work). On a new Windows 10 PC I newly loaded R 3.4.3 and tried to run the code as noted in the README. It seemed to successfully install the packages, and when I ran the next bit:
library(shiny)
runGitHub("SAM", "MikeJSeo")

It opened a Chrome window with the app, although everything is rather dark grey.(... supposed to be)?
I browsed for the xlsx spreadsheet (one I've used in SAM before) and picked the proper response type and hit Run. Nothing appeared on the screen or changed to suggest that it was running now. After 5-10 min still nothing had changed on the Chrome page screen.

After a short bit, this appeared in the R console window:
Listening on http://127.0.0.1:6779
Warning: Error in : package ‘impute’ required by ‘samr’ could not be found
Stack trace (innermost first):
43: .getRequiredPackages2
42: library
3: runApp
2: runUrl
1: runGitHub
Error : package ‘impute’ required by ‘samr’ could not be found

I was unable to close R console or make anything happen using the menus. Finally had to shut it down using Task Manager. Any idea what's going on?
Thanks much!

@MikeJSeo
Copy link
Owner

MikeJSeo commented Jan 2, 2018

It looks like impute package hasn't been installed properly. Also, if it is dark grey color, it means there has been some error. Can you check the impute package has been installed correctly? What does running the code below show you?

source("http://bioconductor.org/biocLite.R")
biocLite("impute")

@spinjdoc
Copy link
Author

spinjdoc commented Jan 4, 2018

You were correct Mike. It turned out that I needed to run R as admin to get the package installations to stick. Also, I needed to employ the same fix mentioned in previous threads of installing Rtools to get the results to save, but that did the trick. Thanks much!

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