prafols / rMSI

R MSI Tools
GNU General Public License v3.0
15 stars 5 forks source link

RGtk2 error #8

Open prasadpb opened 2 years ago

prasadpb commented 2 years ago

Dear devloper, While installing rMSI, I get following error while installing RGtk2 package, dependency 'gWidgets2RGtk2' is not available for package 'rMSI' Can you please help, if there is a way around to this issue? Thanks Prasad

prafols commented 2 years ago

Dear,

the RGtk2 package is needed to run the rMSI graphical interface. According to CRAN it is available and should be easily installed using the R package manager: https://cran.r-project.org/web/packages/RGtk2/index.html

But in the past, I've seen some issues with gwidgets and GTK based GUI on MAC computers. Can you provide further details of your system?

best, Pere

yufree commented 2 years ago

Hi, I have the same issue to install RGtk2 package on mac. It has been removed from CRAN and the following code

remotes::install_github('CRAN/RGtk2')

will not work due to compile fail with gtk+ installed:

2 warnings and 2 errors generated.
make: *** [cairoConversion.o] Error 1
ERROR: compilation failed for package ‘RGtk2’

I wonder if it's possible to remove this dependance on a branch of this package? The users might only need the parser for imzML files instead of the GUI.

Thanks,

Miao

prafols commented 1 year ago

I think there are no plats to get GTK2 back on MAC. But, we are working on rMSI2 to overcome this issue by providing the GUI without GTK2.

Yes, it is possible to remove the RGtk2 related dependencies in order to build the package.

best, Pere