Hi there.

I am able to create a multidimensional scaling algorithm in R using the
following code:

places<-read.table("C:\\Project\\R\\places.txt")
places.location <- cmdscale(places, k=2)
round(places.location,0) 
plot(places.location,type="n", xlab="", ylab="",main ="cmdscale(places)")

What I would like to know is how I can do this by calling R from within a
java application, using Rserve which I have set up and tested on my windows
machine. I am able to do the examples given at
http://rosuda.org/Rserve/example.shtml but I can't seem to be able to find
an example of the above anywhere. Does anyone know that java lines I would
need to do this?

Many thanks
-- 
View this message in context: 
http://www.nabble.com/MDScale-from-within-Java-using-Rserve--tf3810221.html#a10784224
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to