I'm working on an R script for a big package. Part of the code uses a C package (say it's package X) I installed from github . The path for it is in usr/local/bin/X
In Perl scripts if I type system("package X commands") and run it through the terminal, it runs smoothly.
However for some reason when I type system("package X commands") in the R GUI terminal , R doesn't recognise the package commands.
Any suggested solution?