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
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
?
--
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
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
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
(/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
:
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
/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
8 matches
Mail list logo