grunwaldlab / effectR

An R package to call oomycete effectors
10 stars 7 forks source link

Replace perl one-liners with R equivalent? #5

Closed zachary-foster closed 7 years ago

zachary-foster commented 7 years ago

Does Perl come preinstalled on Windows? It is preinstalled on my computer. If it is not always present and the system(paste0("perl -pi -e 's/ {2,}/\t/g' ",hmmbuild.out)) calls in hmm.search can be replaced with R code ( In think it should be easyish), it might be worth the effort to avoid a dependency.

zkamvar commented 7 years ago

From my experience with the gdata package, perl is not installed by default on Windows. I believe sed is available on all systems, though.

Tabima commented 7 years ago

Thanks for both the comments! I'll try both solutions!