Re: [R] How to run own R functions in JRI

2010-10-07 Thread lord12
So I copy and pasted my function to the R startup file. However, in my function, I change directories. When I run the function in Eclipse, I get a message in the console, Cannot change working directory. Why is this? -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-own

Re: [R] How to run own R functions in JRI

2010-10-07 Thread jcress410
to discover the path using file.path() I guess if your program installs files to directories in some predictable way, this won't be a problem. -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-own-R-functions-in-JRI-tp2965288p2967140.html Sent from the R help mailing list

Re: [R] How to run own R functions in JRI

2010-10-07 Thread lord12
? -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-own-R-functions-in-JRI-tp2965288p2967038.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] How to run own R functions in JRI

2010-10-07 Thread lord12
So if I have the R function foo and I have my main method in Java how would I call the method foo? What would be the syntax?: Do I create an REengine first? public static void main(String[] args) { } -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-own-R-functions

[R] How to run own R functions in JRI

2010-10-06 Thread lord12
Suppose I have implemented my own R function. How do I call this function in Eclipse using JRI? -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-own-R-functions-in-JRI-tp2965288p2965288.html Sent from the R help mailing list archive at Nabble.com

Re: [R] How to run own R functions in JRI

2010-10-06 Thread jcress410
(/home/jcress/.Rstartfiles)){ objects[(which(objects == eval(removeext(func] - } objects[which(objects==cleanls)] - return(c(objects[which(objects != )])) } rm(list=cleanls(ls())) -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-own-R-functions-in-JRI

Re: [R] How to run own R functions in JRI

2010-10-06 Thread lord12
: http://r.789695.n4.nabble.com/How-to-run-own-R-functions-in-JRI-tp2965288p2965654.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] How to run own R functions in JRI

2010-10-06 Thread jcress410
/library/base/html/Startup.html -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-own-R-functions-in-JRI-tp2965288p2965795.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https