-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Extensions frozen #2203
Comments
Hi,
We are sorry you ran into this problem.
I suggest you try out the Simple R extension which has a simple point and click configuration menu for telling the extension about the location on your system of your R install. It is more straightforward to set up than the bundled R extension which requires the manual creation of a configuration file.
You can install the Simple R extension using NetLogo's built-in extension
manager http://ccl.northwestern.edu/netlogo/docs/extension-manager.html
Examples showing how to use it can be found here https://github.com/NetLogo/SimpleR-Extension/blob/main/README.md#using.
Information on switching to Simple R from the bundled R extension is here https://github.com/NetLogo/SimpleR-Extension#transitioning-from-the-old-r-extension.
Note on uninstalling – extensions such as the R extension that are installed when you first open a downloaded version of NetLogo cannot be uninstalled.
If you install an additional extension you will be able to uninstall it.
Aaron
…--
Aaron Brandes, Software Developer
Center for Connected Learning and Computer-Based Modeling
From: JMEjby ***@***.***>
Date: Wednesday, January 3, 2024 at 7:18 AM
To: NetLogo/NetLogo ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [NetLogo/NetLogo] Extensions frozen (Issue #2203)
Hi there,
I am having some problems with using NetLogo extensions. I am extending an existing model using the rnd and r extensions. I have succesfully run previous versions of this model. I get this error when adding the r extension: "Error in R-Extension: Error in runOnce (Error #4<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/issues/4__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CDGZNhKfg$>): java.lang.ClassCastException: class.jdk.internal.loader.ClassLoader$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoader$AppClassLoader and java.net.URLClassLoader are in module java.base of loader "bootstrap"). I have rJava installed in R. When looking in my files, there is no r folder in my NetLogo folder, and there is no files/folders in the extensions folder either. Yet, in the extensions manager in NetLogo I can see that multiple extensions should be installed including R, rnd, python, CSV etc. I also cannot uninstall and reinstall any of the extensions. I have added some screen recordings for additional details.
It may be multiple separate issues as I can run a version of the model that uses only the rnd extension. It may also be related to some issues on my computer related to Java - any advice on how I can check this would be much appreciated!
Videos
* Unable to uninstall extensions: https://github.com/NetLogo/NetLogo/assets/81433797/7463f8b8-b092-470f-87ab-ed9acf672d15<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/assets/81433797/7463f8b8-b092-470f-87ab-ed9acf672d15__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CDvs9nWmA$>
* Empty extensions folder and no R folder: https://github.com/NetLogo/NetLogo/assets/81433797/42ae5809-14e4-4ae9-898d-63096d6d2796<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/assets/81433797/42ae5809-14e4-4ae9-898d-63096d6d2796__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CBOB1lu-A$>
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/issues/2203__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CDVuBbP2A$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ANSUO2WP6ZZTOWWJNP3L3BDYMVEAJAVCNFSM6AAAAABBLK6NRSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DGOJSHAYTIOA__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CC1eUQGTg$>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi,
Were you able to solve your problem by using the Simple R extension?
Also I realized that the reason you weren’t seeing the extensions folders is because they are under the folder
extensions\.bundled, and files beginning with a “.” are hidden by default in Windows. You can google directions for showing how to display hidden files.
* Aaron
…--
Aaron Brandes, Software Developer
Center for Connected Learning and Computer-Based Modeling
From: Aaron Andre Brandes ***@***.***>
Date: Friday, January 5, 2024 at 12:19 PM
To: NetLogo/NetLogo ***@***.***>, NetLogo/NetLogo ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [NetLogo/NetLogo] Extensions frozen (Issue #2203)
Hi,
We are sorry you ran into this problem.
I suggest you try out the Simple R extension which has a simple point and click configuration menu for telling the extension about the location on your system of your R install. It is more straightforward to set up than the bundled R extension which requires the manual creation of a configuration file.
You can install the Simple R extension using NetLogo's built-in extension
manager http://ccl.northwestern.edu/netlogo/docs/extension-manager.html
Examples showing how to use it can be found here https://github.com/NetLogo/SimpleR-Extension/blob/main/README.md#using.
Information on switching to Simple R from the bundled R extension is here https://github.com/NetLogo/SimpleR-Extension#transitioning-from-the-old-r-extension.
Note on uninstalling – extensions such as the R extension that are installed when you first open a downloaded version of NetLogo cannot be uninstalled.
If you install an additional extension you will be able to uninstall it.
Aaron
--
Aaron Brandes, Software Developer
Center for Connected Learning and Computer-Based Modeling
From: JMEjby ***@***.***>
Date: Wednesday, January 3, 2024 at 7:18 AM
To: NetLogo/NetLogo ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [NetLogo/NetLogo] Extensions frozen (Issue #2203)
Hi there,
I am having some problems with using NetLogo extensions. I am extending an existing model using the rnd and r extensions. I have succesfully run previous versions of this model. I get this error when adding the r extension: "Error in R-Extension: Error in runOnce (Error #4<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/issues/4__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CDGZNhKfg$>): java.lang.ClassCastException: class.jdk.internal.loader.ClassLoader$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoader$AppClassLoader and java.net.URLClassLoader are in module java.base of loader "bootstrap"). I have rJava installed in R. When looking in my files, there is no r folder in my NetLogo folder, and there is no files/folders in the extensions folder either. Yet, in the extensions manager in NetLogo I can see that multiple extensions should be installed including R, rnd, python, CSV etc. I also cannot uninstall and reinstall any of the extensions. I have added some screen recordings for additional details.
It may be multiple separate issues as I can run a version of the model that uses only the rnd extension. It may also be related to some issues on my computer related to Java - any advice on how I can check this would be much appreciated!
Videos
* Unable to uninstall extensions: https://github.com/NetLogo/NetLogo/assets/81433797/7463f8b8-b092-470f-87ab-ed9acf672d15<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/assets/81433797/7463f8b8-b092-470f-87ab-ed9acf672d15__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CDvs9nWmA$>
* Empty extensions folder and no R folder: https://github.com/NetLogo/NetLogo/assets/81433797/42ae5809-14e4-4ae9-898d-63096d6d2796<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/assets/81433797/42ae5809-14e4-4ae9-898d-63096d6d2796__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CBOB1lu-A$>
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/issues/2203__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CDVuBbP2A$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ANSUO2WP6ZZTOWWJNP3L3BDYMVEAJAVCNFSM6AAAAABBLK6NRSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DGOJSHAYTIOA__;!!Dq0X2DkFhyF93HkjWTBQKhk!QRub4L9_ILgDc48ElzBujSiBBeBU9UKQ047RY9-2CWU590npOJcomMGoH5Nz82TDijpTQrzL-mEswMgjkjJQPUVm9CC1eUQGTg$>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I am having some problems with using NetLogo extensions. I am extending an existing model using the rnd and r extensions. I have succesfully run previous versions of this model. I get this error when adding the r extension: "Error in R-Extension: Error in runOnce (Error #4): java.lang.ClassCastException: class.jdk.internal.loader.ClassLoader$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoader$AppClassLoader and java.net.URLClassLoader are in module java.base of loader "bootstrap"). I have rJava installed in R. When looking in my files, there is no r folder in my NetLogo folder, and there is no files/folders in the extensions folder either. Yet, in the extensions manager in NetLogo I can see that multiple extensions should be installed including R, rnd, python, CSV etc. I also cannot uninstall and reinstall any of the extensions. I have added some screen recordings for additional details.
It may be multiple separate issues as I can run a version of the model that uses only the rnd extension. It may also be related to some issues on my computer related to Java - any advice on how I can check this would be much appreciated!
Videos
Unable to uninstall extensions: https://github.com/NetLogo/NetLogo/assets/81433797/7463f8b8-b092-470f-87ab-ed9acf672d15
Empty extensions folder and no R folder: https://github.com/NetLogo/NetLogo/assets/81433797/42ae5809-14e4-4ae9-898d-63096d6d2796
The text was updated successfully, but these errors were encountered: