Closed MorganSimoneS closed 6 years ago
Can you post error messages please?
On Feb 14, 2018, at 11:20 AM, MorganSimoneS notifications@github.com wrote:
Has anyone been experiencing issues with installing Citrus on a Mac or PC? I have tried both and used the following code chunk. However, R Studio keeps saying there is an error. Any advice would be helpful I have also installed all the necessary package such as X code on Mac and the R tools package for PC
install.packages("glmnet") install.packages("pamr") install.packages("ggplot2") install.packages("survival") source("http://bioconductor.org/biocLite.R http://bioconductor.org/biocLite.R") biocLite("flowCore") biocLite("impute") install.packages("samr")
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nolanlab/citrus/issues/115, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFhGv7LPV-sv9g_Ygxbo2oSnZWVzi4sks5tUzHwgaJpZM4SF1cp.
This is the error message I am getting which is strange because in the past ggplot2 normally works fine
According to the messages that you're posting, it doesn't seem that the Citrus package is installed. Have you installed it?
It seems you are trying to install ggplot2 although it is already installed, as shown on the bottom right panel. To start a citrus session once installed, you only need the two commands of the last chunk. If you really want to install citrus again, the best is to start from the beginning. Close ALL the RStudio sessions and R terminals if any. Then try again. It looks quite odd to me that you put those commands in a Markdown document because there is no interest in formatting their output, but it should run. HTH.
No matter what I try I can't install Citrus today I tried on a PC and got the following message
Try using
devtools::install_github instead
When R indicates it cannot find a function, it usually means you haven't loaded the library. Using the [library]::[function] tells R explicitly which library and function to use. This is very useful if you are using libraries that have identically named functions. FlowCore::filter and dplyr::filter being two obnoxious examples I run into constantly.
Awesome thank you I will try that now and let you know if it works
@bc2zb Just tried it and R still is saying there is no package called devtools
Try reinstalling devtools then.
I just reinstalled and it worked, I am attempting to call Citrus and use it
Never mind I am still screwed
library(devtools)
install_github("nolanlab/Rcluserpp")
install_github("nolanlab/citrus")
If all of that goes through with no errors (look at the terminal output), then try library(citrus).
@MorganSimoneS the issues you're posting are general issues related to using R, not issues related to Citrus. Do you have a co-worker who is familiar with R in general (not necessarily with citrus) who can help you with the installation issues?
I think you are trying to install all the libraries at once by running the whole chunk. If so, I would advise you to run one line at a time, and to check each library is correctly installed before issuing the next library installation: just call 'library(
I have been successful this go around however apparently the version of R I am using is not compatible with Citrus. I also ran each code line by line and uninstalled and reinstalled again to reach this point. Which version is correct?
Your error is quite obvious: the only way to install citrus is via install.github(), not by install.packages() nor bioclite(). Please, read carefully the instructions, understand every single line of code, and if there is an error, breath and try to understand what's going on. I will recommend you to ask help around you.
Has anyone been experiencing issues with installing Citrus on a Mac or PC? I have tried both and used the following code chunk. However, R Studio keeps saying there is an error. Any advice would be helpful I have also installed all the necessary package such as X code on Mac and the R tools package for PC
install.packages("glmnet") install.packages("pamr") install.packages("ggplot2") install.packages("survival") source("http://bioconductor.org/biocLite.R") biocLite("flowCore") biocLite("impute") install.packages("samr")