Dears,
I use Cytoscape 2.8 and Rcytoscape on my Ubuntu 64bit machine.
If I start an R session from the terminal and I run the following code:
library(RCytoscape)
g = new("graphNEL", edgemode="directed")
g = graph::addNode("U",g)
cw = new.CytoscapeWindow("vignette"
, graph=g, overwriteWindow=TRUE)
displayGraph(cw)
it works properly. Fine!
But the same code from Rstudio returns the following error:
> cw = new.CytoscapeWindow("vignette", graph=g, overwriteWindow=TRUE)
Error in xml.rpc(obj@uri, "Cytoscape.version") : Problems
Have you ever encountered this problem?
Thanks a lot for any hint!
Alessandro
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=it_IT.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=it_IT.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=it_IT.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods
base
other attached packages:
[1] RCurl_1.95-4.3 bitops_1.0-6 RCytoscape_1.12.0
[4] XMLRPC_0.3-0 graph_1.40.1 igraph_0.7.1
[7] plyr_1.8.1 org.Hs.eg.db_2.10.1 RSQLite_0.11.4
[10] DBI_0.3.1 AnnotationDbi_1.24.0 Biobase_2.22.0
[13] BiocGenerics_0.8.0 BiocInstaller_1.12.1 intervals_0.15.0
loaded via a namespace (and not attached):
[1] IRanges_1.20.7 Rcpp_0.11.3 stats4_3.0.2 tools_3.0.2
XML_3.98-1.1
hi,
I solved it setting no http proxy:
Sys.setenv(http_proxy="")
HTH
alex