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

issue with adding tears in retistruct #11

Closed
sagewiltse opened this issue Jun 16, 2017 · 10 comments
Closed

issue with adding tears in retistruct #11

sagewiltse opened this issue Jun 16, 2017 · 10 comments
Assignees
Labels
Milestone

Comments

@sagewiltse
Copy link

After some issues with downloading the retistruct package onto my Mac, we were able to go through until it came to opening the outline.roi in retistruct. I was able to open the outline, but it wouldn't let me add a tear or indicate nasal. I am working with Brian Cohn and he said to come here. Let me know and any help is appreciated.
screen shot 2017-06-16 at 11 50 48 am
screen shot 2017-06-16 at 11 54 18 am

@briancohn
Copy link
Contributor

@sagewiltse please upload your outline.roi as well

@davidcsterratt
Copy link
Owner

Hmm.... That's interesting. The outline.roi file would be useful. Also, after you get the error, could you type "traceback()" in the R console, and send me the output please?

@sagewiltse
Copy link
Author

sagewiltse commented Jun 19, 2017 via email

@davidcsterratt
Copy link
Owner

I can't see the output on the github website - please could you try posting it again.

@davidcsterratt
Copy link
Owner

I think this might be fixed in the next version of Retistruct, 0.5.11, which I am working on now.

@davidcsterratt davidcsterratt added this to the 0.5.11 milestone Jun 20, 2017
@sagewiltse
Copy link
Author

Here is the output. Thank you for your help!
screen shot 2017-06-19 at 10 07 48 am

@briancohn
Copy link
Contributor

briancohn commented Jul 3, 2017

@davidcsterratt what do you think? which functions/libraries are most likely responsible for this issue?
perhaps you could push the redistrict new version as a development branch on GitHub?

@briancohn
Copy link
Contributor

@davidcsterratt Many of our retina package users are getting blocked in trying to use retistruct in our package. Could you please publish a version of retistruct that does not include the graphic user interface, and with no dependencies to gWidgets, RGTK2, etc?

Brian

@davidcsterratt
Copy link
Owner

Hello Brian, sorry for the delay getting the latest version of Retistruct onto CRAN. I have been having problems because of getting the RTriangle package to compile on Windows x86 (#14). Are you sure it's RGTk that is blocking users or RTriangle?

In any case the current stable version (0.5.10) doesn't actually depend on RGK2, gWidgets &c; these are "Suggests", so users should still be able to install Retistruct without installing the other packages. They are only installed when the GUI is started using retistruct(). If you can mark up a retina without using the interface, then retisturct.reconstruct(directory_name) can be called to reconstruct the retina from the files in directory_name.

The current development version is available to download from GitHub on the master branch, and this should fix the problem here. It should work now that #13 has been fixed by a change to gWidgets2.

Apologies again - there is a bit of dependency hell at the moment!

@davidcsterratt davidcsterratt self-assigned this Jul 11, 2017
@davidcsterratt
Copy link
Owner

I've managed to get Retistruct on CRAN, so you should be able to install it using:
install.packages("retistruct")
You may also need
install.packages("gWidgets2RGtk2")
Also, you may need to wait a day or two for this to work for Windows, as it takes a while for CRAN to build the packages and for them to reach mirrors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants