[R] about the possible errors in Rgraphviz Package

2010-03-30 Thread HU,ZHENGJUN
Hi All, I tried to install the package of Rgraphviz in the following two ways successfully: source("http://bioconductor.org/biocLite.R";) biocLite("Rgraphviz") install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip", lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL) but wh

Re: [R] about the possible errors in Rgraphviz Package

2010-03-30 Thread HU,ZHENGJUN
RA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' instead of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll' Thank you for the reply. Howard On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch wrote: On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote: Hi All,

Re: [R] about the possible errors in Rgraphviz Package

2010-03-30 Thread HU,ZHENGJUN
ward On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan wrote: On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote: Hi Duncan, (They are pretty hard to find, but I think you can find them on the Bioconductor site.) It is > not enough to install the Rgraphviz package, you also need to install Graphvi

Re: [R] about the possible errors in Rgraphviz Package

2010-03-30 Thread HU,ZHENGJUN
:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll': LoadLibrary failure: The specified module could not be found." Thank you. Howard On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan wrote: On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote: Hi Duncan, (They are pretty hard

Re: [R] about the possible errors in Rgraphviz Package

2010-03-30 Thread HU,ZHENGJUN
Hi All, Before installing the Rgraphviz package successfully [e.g., source("http://bioconductor.org/biocLite.R";); biocLite("Rgraphviz")], (1) I downloaded graphviz-2.20.3.1.msi (also tried graphviz-2.26.3.msi) for MS Windows (XP) and installed it successfully and (2) I also installed the pa

Re: [R] about the possible errors in Rgraphviz Package

2010-03-30 Thread HU,ZHENGJUN
to load shared library 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll': LoadLibrary failure: The specified module could not be found." Thanks, Howard On Tue Mar 30 16:21:38 EDT 2010, "HU,ZHENGJUN" wrote: Hi All, Before installing the Rgraphviz p

Re: [R] about the possible errors in Rgraphviz Package

2010-03-30 Thread HU,ZHENGJUN
Tue Mar 30 16:58:55 EDT 2010, Martin Morgan wrote: On 03/30/2010 01:13 PM, HU,ZHENGJUN wrote: Hi Martin, I uninstalled graphviz-2.26.3.msi and then installed graphviz-2.20.3.1.msi. Then installed the Rgraphviz package again. As expected, I got the same error messages as before: "

Re: [R] You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package

2010-03-31 Thread HU,ZHENGJUN
>> R.version.string >> [1] "R version 2.10.1 Patched (2010-03-10 r51276)" >>> win.version() >> [1] "Windows Vista (build 6002) Service Pack 2" >>> packageDescription("Rgraphviz")$Version >> [1] "1.24.0" >>> graph

[R] You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package

2010-03-31 Thread HU,ZHENGJUN
but not for Graphviz. Thank you and Duncan so much for your great help. Howard On Tue Mar 30 18:12:54 EDT 2010, Martin Morgan wrote: On 03/30/2010 03:06 PM, HU,ZHENGJUN wrote: Hi Martin, I am 100% sure that I set my 'PATH' environment variable correctly because all other

[R] How to catch a R error in R code

2007-10-10 Thread HU,ZHENGJUN
Hi All, I entered a R statement, e.g. 1:20 = x or log("a") on an HTML form and passed it to a R-CGI script. Obviously, neither of both is a correct R statement or expression. However, my R-CGI script could not return and report the error message to the Web site even though it received the st

[R] Thank you, and your suggestion works

2007-10-10 Thread HU,ZHENGJUN
gt; Class 'try-error' chr "Error in eval(expr, envir, enclos) : > object > \"x\" not found\n" >> z <- try(eval(parse(text="x <- 1:20"))) >> str(z) > int [1:20] 1 2 3 4 5 6 7 8 9 10 ... >> > > > On 10/10/07, HU,ZH

[R] Help deeded: Does a R graphical function return something special?

2007-10-19 Thread HU,ZHENGJUN
Hi All, When I tried to catch a returned value from a R graphical function or command (e.g., plot, lines, points, abline, title, xyplot, etc.), I always get a NULL value if it is executed correctly. For example: x <- c(1,2,3,4,5,9,13,19,36) plot.Comm <- plot(x) # plot.Comm <- try(eval(plo

[R] How to use a specifical graphical device (e.g., png, bmp) with R version 2.5.1under Linux

2007-10-22 Thread HU,ZHENGJUN
Hi All, I am now using R version 2.5.1 under Linux (Red Hat), and have some problems to use some graphical devices (e.g., png, jpeg, bmp and so on). Can you tell/teach me how to solve the problem(s)? See below for details. (1) I make sure that package:grDevices is on the list using search()