Closed evofish closed 2 years ago
Hey @evofish. This happens when you don’t have write permissions in the working directory, as pathfindR produces an html output. Try changing the permission settings or changing to a directory with write permissions. Hope this helps, -E
Thanks for your response!
I am having this same issue when working on a server, but I have full permissions as an owner for all files and folders made.
@Dane-Z can you share the entire screen output to see where exactly the error occurs?
@egeulgen
this does seem to be a write permission issue. Can you make sure that under the current working directory, you have write permission?
drwxr-sr-x 3
I've checked and I (owner, removed ID) have all necessary permissions and have the same permissions in the output directories.
I'm not sure why this should happen but will look into it. I'll update the package to make the HTML report optional soon and will mention this issue.
Meanwhile, feel free to execute what the wrapper function is doing manually following this vignette
Thank you! I ran into another problem while manually performing those functions:
Error in title(...) :
R: unable to read font `helvetica' @ error/annotate.c/RenderFreetype/1474
Calls: pathfindR_enrichment ...
I've been racking my brain(and the internet) over this problem and haven't found a solution. I have ImageMagick, ghostscript, and magick r pkg installed and I have helvetica listed as an available font in ImageMagick. Is this error possibly related to anything within the visualizations function that I might be able to fix or specify? I haven't found an option to specify a font for the visualizations.
I believe this might be an issue with 'helvetica' being lowercase and imagemagick being case-sensitive when it searches but I don't see any specifications for 'helvetica' when looking through the visualization code in pathfindR
hey @Dane-Z,
for which function are you getting the error? I suspect the issue might be with ggplot2, maybe try updating that?
I'm getting that when I run the visualize_terms() function. I'm running ggplot2 version 3.2.1, so I'll try updating and see if that works.
Apologies, I was looking at the wrong version history for ggplot2, it's actually the latest version 3.3.6. @egeulgen
I've fixed the bug by importing showtext and specifying 'helvetica' as a family then allowing showtext to automatically handle fonts using showtext_auto(). This was likely just an issue with 'helvetica' not being uppercase and the search in my font libraries by ImageMagick being case-sensitive. Thank you so much for the help and quick responses!!
Hello,
I just pushed a commit addressing this issue, making HTML reports optional. You may install the latest dev version via:
install.packages("devtools") # if you have not installed "devtools" devtools::install_github("egeulgen/pathfindR")
On Apr 19, 2023, at 10:33 PM, Nitin123-4 @.***> wrote:
I'm not sure why this should happen but will look into it. I'll update the package to make the HTML report optional soon and will mention this issue.
Meanwhile, feel free to execute what the wrapper function is doing manually following this vignette https://egeulgen.github.io/pathfindR/articles/manual_execution.html Is there any solution for it?
I am facing the same issue. if possible ca we avoid generating the report.html?
— Reply to this email directly, view it on GitHub https://github.com/egeulgen/pathfindR/issues/98#issuecomment-1515412955, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCBH26PMSKLVPYHA5LN3ZTXCBK33ANCNFSM5CSJIJ5A. You are receiving this because you modified the open/close state.
Hello, I am now trying to run Pathfindr from a workstation, through bash:
$source /opt/asn/etc/asn-bash-profiles-special/modules.sh $module load anaconda/3-2019.07 $module load R/4.1.0 $module load java $R CMD BATCH pathfindr2021.r
Where the R command is
And I get the following error message:
Any thoughts on what could be causing the error would be greatly appreciated. Thanks in advance!