Втр, 19 Окт 2010, Piet de Jong писал(а): > Have been using R from J for a number of years without significant problems. > It generally works great. > > I recently switched to a new computer running Windows 7. > Installed J6.02 including the package 'stats/r/rserve' using the package > manager -- no problems reported > Installed R2.12.0 as well as the package Rserve using one of the mirrors and > package manager -- no problems reported > In R: loading the library(Rserve) and then Rserve() -- no problems reported > In J: 'load stats/r/rserve' -- no problems reported > In J: Rcmd 'rnorm(5)' -- problem reported 'socket ENOTCONN' -- any > other Rcmd from J gets similar error message > in J: Ropen '' -- returns 1 or sometimes after closing and opening > 'Unable to connect: ECONNREFUSED' > > Can anyone point to any things to try? I am desperate -- I need to be able > to access R from J. (I can't stand doing any > matrix manipulations or similar in R). > > > --------------------------------------------------
ECONNREFUSED usually means there is no socket server to respond. Try type "netstat /a" (without quote) to see if R is running and listen to a port. Also turn off window's firewall and any anti-virus program that may also provide a firewall. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
