search for: miktexpath

Displaying 1 result from an estimated 1 matches for "miktexpath".

2010 Nov 12
0
Installing R+Emacs+MikTeX editor on a USB drive
....Library.site <- file.path(chartr("\\", "/", R.home()),"..", "mylibR") #check that Rprofile.site is executed by R #cat("Hello from Rprofile.site\n") ### to make Portable-R see MikTeX .First<-function(){ .libPaths(.Library.site) require(Hmisc) miktexpath <- replace.substring.wild(R.home(),"R*","miktex_portable/miktex/bin") miktexpath <- chartr("\\", "/", miktexpath) PathNew <- paste(Sys.getenv("PATH"),";",miktexpath,sep="") Sys.setenv("PATH"=PathNew) } [[alte...