JinmiaoChenLab / cytofkit

cytofkit: an integrated flow/mass cytometry data analysis pipeline
http://jinmiaochenlab.github.io/cytofkit/
57 stars 24 forks source link

incompatible library version stopping cytofkit loading #62

Open bexy2412 opened 5 years ago

bexy2412 commented 5 years ago

Hi,

I'm completely new to programming and I'm having a bit of a nightmare with getting cytofkit to work. On Tuesday, after 4 hours of battling error messages with the help of google I got it to load, but then it wouldn't work on Wednesday & hasn't since. I've tried going back to the beginning and I'm currently at this point;

library("cytofkit") Error: package or namespace load failed for ‘cytofkit’: .onLoad failed in loadNamespace() for 'tcltk', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/tcltk/libs/tcltk.so': dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /opt/X11/lib/libfontconfig.1.dylib Referenced from: /usr/local/lib/libtk8.6.dylib Reason: Incompatible library version: libtk8.6.dylib requires version 11.0.0 or later, but libfontconfig.1.dylib provides version 10.0.0

Xquartz and the recommended tools are already installed, and I followed all restart recommendations. I have managed to get it working on a windows PC with R 3.5.1 and cytofkit 3.7, but I really need it to work on my person mac. I've tried going back to R 3.5.1 rather than 3.5.2, but my mac persistently loads 3.5.2.

Any help greatly appreciated.

SamGG commented 5 years ago

Hi, I will be not really helpful because I worked on Windows. Nevertheless, tcl/tk come with the installation of R on any OS. So what you have to solve in the loading of this library, ie the command library(tcltk). Maybe you should reinstall R. If you want to switch between R 3.5.1 and R 3.5.2 using RStudio, look at the "Tools/Global options" which allows you to point to the R version you wish (once installed on your computer). Best.

jinmiaochen commented 5 years ago

Hi Samuel,

Understood. We will remove the tcltk package soon. For now we still keep two version of GUI, one using tcltk the other using shinyapp. We will remove the tcltk so that the installation will be much simpler.

Thanks a lot.

Best Jinmiao

Jinmiao Chen Principal Investigator Single-cell computational Immunology Singapore Immunology Network (SIgN) Agency for Science, Technology and Research (A*STAR) 8A Biomedical Grove IMMUNOS bldg, Level 3, SINGAPORE 138648 Tel: 65-64070395 Fax: 65-64642056 chen_jinmiao@immunol.a-star.edu.sgmailto:chen_jinmiao@immunol.a-star.edu.sg http://www.sign.a-star.edu.sg/

From: Samuel Granjeaud notifications@github.com Sent: Friday, 22 February 2019 8:25 PM To: JinmiaoChenLab/cytofkit cytofkit@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [JinmiaoChenLab/cytofkit] incompatible library version stopping cytofkit loading (#62)

Hi, I will be not really helpful because I worked on Windows. Nevertheless, tcl/tk come with the installation of R on any OS. So what you have to solve in the loading of this library, ie the command library(tcltk). Maybe you should reinstall R. If you want to switch between R 3.5.1 and R 3.5.2 using RStudio, look at the "Tools/Global options" which allows you to point to the R version you wish (once installed on your computer). Best.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/JinmiaoChenLab/cytofkit/issues/62#issuecomment-466379584, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIe92vTY62d5vepNkPA3dJDkWCU982itks5vP-GmgaJpZM4bJWxD.

This e-mail and any attachments are only for the use of the intended recipient and may contain material that is confidential, privileged and/or protected by the Official Secrets Act. If you are not the intended recipient, please delete it or notify the sender immediately. Please do not copy or use it for any purpose or disclose the contents to any other person.

SamGG commented 5 years ago

Hi, The shiny interface is much more nicer than the tcl/tk one. Nevertheless I think that tcl/tk comes with any default installation of R. As such, I think something goes wrong with Bexy's installation. @bexy2412 you should switch to cytofkit2. Best.