Closed jxshi closed 4 years ago
I solved the problem by add :$PATH
to the end of the last line.
export UNAFOLDDAT=/home/jshi/biosoft/oligoarrayaux-3.8/data:$PATH
worked.
Will check out how the package works tomorrow.
Thank you and cheers!
Jianxiang
Not sure why and how the above works. I suggest to set the variables for openPrimeR (the PATH variable as well as UNAFOLDDAT) in the respective R-script like so :
old_path <- Sys.getenv("PATH") new_path <- old_path new_path <- paste(new_path, "/Library/TeX/texbin", sep = ":") new_path <- paste(new_path, "/Users/xy/miniconda3/envs/openprimer/bin/", sep = ":") new_path <- paste(new_path, "/Users/xy/Applications/MELTING5.2.0/executable", sep = ":") Sys.setenv(PATH = new_path) Sys.setenv(UNAFOLDDAT = "/Users/xy/miniconda3/envs/openprimer/share/oligoarrayaux")
In addition I set them in the ˜/.profile, but that didn't seem to do it.
Hi,
I tried to use
openPrimeR
package on my machine. I have already setUNAFOLDDAT
path in~/.bashrc
file by adding this lineexport UNAFOLDDAT=/home/jshi/biosoft/oligoarrayaux-3.8/data
, but error message popped up as listed follow.I typed
echo $UNAFOLDDAT
command and it returned:Can you check for me please?
Thank you and best wishes!
Jianxiang