nolanlab/citrus

Error in xy.coords(x, y, xlabel, ylabel, log) :

Opened this issue · 10 comments

Hi, I'm completely new to R. I have installed and run Citrus 0.8 on R 4.0.0 using the shiny GUI. However, every time I try to run an analysis I get an error message within R saying "Error in xy.coords(x, y, xlabel, ylabel, log) :
'x' and 'y' lengths differ
In addition: Warning message:
In if (class(x) == "dist") { :
the condition has length > 1 and only the first element will be used"

Any suggestion as to what I could be doing wrong? It happens even when I follow all of the instructions at https://github.com/nolanlab/citrus/wiki/Synthetic-Example-1

Thanks, Matthew

nvall commented

Hi Matthew, I encountered the same issue this week. You may try to use an older version of R, it works with 3.6.3. Hope it will help.

Thanks very much nvall. Yes, it works with version 3.6.3 for me too.

Kind regards

Matthew

Hi, how did you install Rclusterpp? I am using version 3.6.3 and receive the following error message when I try to install Rclusterpp:

Warning message:
package ‘Rclusterpp’ is not available (for R version 3.6.3)

I just followed the instructions at https://github.com/nolanlab/citrus/wiki/Installing-Citrus

Specifically:
install_github("nolanlab/Rclusterpp")

I don't recall having any issues.

JC19C commented

Hi,
Do you have an insight about the cause of the issue here (FCS file format?), or an alternative solution?

As I have the same error on R 4.1.3, and a RStudio fatal error with crash on R 3.6.3

Thanks for your help!
J

I am working on some package maintenance now - seems like a good time to update for compatibility with R 4.0 since it's been out for about 2 years at this point :)

JC19C commented
nvall commented

Hi, Do you have an insight about the cause of the issue here (FCS file format?), or an alternative solution? As I have the same error on R 4.1.3, and a RStudio fatal error with crash on R 3.6.3

@JC19C to avoid RStudio crashes, you should consider run R directly from a terminal and go back to your v4 when you're done with Citrus. Try RSwitch software to change you current default R version.

I am working on some package maintenance now - seems like a good time to update for compatibility with R 4.0 since it's been out for about 2 years at this point :)

@rbruggner send me a message if you need help.

Best,
Nicolas

@JC19C Give the latest master branch a pull and lmk if it fixes the issue?

JC19C commented