Maxl18 wrote:
Hello, I want to start Klimt from S.Urbanek directly from R. In the description of klimt is the following R-Code: source("klimt.r"); d<-read.table("mydataset.txt"); t<-tree(OUT2~.,d); Klimt(t,d); One should make sure, that the klimt.jar is in the working directory of R (in my case "C:\Program FilesR\R-2.8.1" I think).
Probably at least a "\" is missing. Anyway, to be sure you can get the current workng directory with getwd().
I haven't touched Klimt for some time now: Are you sure it is *R*'s working directory and not some Java lib dir or so?
But although I copied klimt.jar into this folder, I get the R-error "unable to acces jarfile C:/Program"
So don't use a working directory with blanks in it.
The R-Code works. I get a File called "FromR.tree", which I can load manually with Klimt... What can I do to launch R automatically?
Use some chron implementation for Windows? Or the Windows task planer? Uwe Ligges
Thanks Max
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.