ISAAKiel / oxcAAR

R Package - Interaction with Oxcal
GNU General Public License v2.0
21 stars 4 forks source link

make it run under windows #2

Closed MartinHinz closed 7 years ago

MartinHinz commented 7 years ago

oxcAAR is currently not running under windows. @MoritzMennenga had tested it some time ago, the error was related to path names resp. spaces in them under windows.

There must be general better ways to implement external programs into R, is there a best practise that works under all OS?

nevrome commented 7 years ago

I don't know if this is comparable, but for rdoxygen I call doxygen via system() after checking if doxygen is in the system path.

check_for_doxygen <- function(){
  return(nchar(Sys.which("doxygen")) > 0)
}
MartinHinz commented 7 years ago

Done thanks to @nevrome !