Displaying 20 results from an estimated 1000 matches similar to: "how to define PKG_CONFIG_PATH ?"
2007 Jun 13
3
installing Rgraphviz under fedora 5
Dear list,
I have a lot of troubles installing Rgraphviz.
I installed graphviz 2.13 from "graphviz-2.13.20061222.0540.tar"
I installed the library Rgraphviz
> getBioC("Rgraphviz")
Running biocinstall version 2.0.8 with R version 2.5.0
Your version of R requires version 2.0 of Bioconductor.
trying URL '
2007 Nov 16
3
Rgraphviz
Rgraphviz
I cannot load it
I have re-installed etc etc etc etc
And cannot load it
Message is
6): Library not loaded: /usr/local/lib/libgvc.3.dylib
Referenced from:
/Library/Frameworks/R.framework/Versions/2.6/Resources/library/Rgraphviz/lib
s/ppc/Rgraphviz.so
Reason: image not found
Error : .onLoad failed in ''loadNamespace'' for ''Rgraphviz''
Error:
2008 May 06
3
rggobi is crashing R-2.7.0
I am running 64-bit Ubuntu 8.04 and when I invoke rggobi the interactive
graph displays but R crashes. See my sessionInfo() and a short example
below. Ggobi and rggobi installed without complaints. Mark
> sessionInfo()
R version 2.7.0 Patched (2008-05-04 r45620)
x86_64-unknown-linux-gnu
locale:
2010 Mar 31
1
You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package
Hi Martin,
It is really a 'PATH' problem. After adding C:\Program
Files\Graphviz2.20\bin to the 'PATH' environment variable, the
Rgraphviz package can be loaded without any error messages.
Sorry that I ONLY set my 'PATH' environment variable correctly
for R but not for Graphviz.
Thank you and Duncan so much for your great help.
Howard
On Tue Mar 30 18:12:54
2009 Sep 24
1
how to make a function recognize the name of an object/vector given as argument
Dear guRus,
I'd like to learn how to make a function recognize the name of an
object/vector given as argument
If I have :
testFun <- function(x,y) plot(x,y, main=paste("plot
of",names(x),"and",names(y)) ) # this just a simple example ...
a1 <- 5:8
b1 <- 9:6
testFun(a1,b1)
# Returns the plot, but not the names of the objects/vectors given as
arguments,
# but
2007 Nov 28
2
alternatives to traditional least squares method in linear regression ?
Dear list,
I have encountered a special case for searching a linear regression
where I'm not satisfied with the results obtained using the traditional
least squares method (sometimes called OLS) for estimating/optimizing
the residues to the regression line (see code below). Basically, a
group of my x-y data are a bit off the diagonal line (in my case the
diagonal represents the ideal or
2007 Jan 31
1
problem with compilation of R on Solaris 10 in x86
Dear List,
we're trying to install R on Solaris10 on a x86 (amd64).
During the installation we pass successfully the ./configure but we get
an error through the built-in function "_isnan" which we see existing in
/lib
When passing the command "make" we get :
gcc -std=gnu99 -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre -I. -I../../src/include
2009 Mar 10
1
require() is not giving TRUE / FALSE statements ?
Dear list,
?require says :
"... |require| is designed for use inside other functions; it returns
|FALSE| and gives a warning (rather than an error as |library()| does by
default) if the package does not exist ..."
However when I run the following code I don't get any TRUE / FALSE
statements (but the warning only).
Since I want to test from inside of a function if a given package
2008 Sep 03
2
optimizing speed of calculation (recursive product)
Dear list,
I'm wondering how to optimize functions/processes like the one shown
below (which simplifies something we're trying to do with very large
datasets).
In many cases I've noticed that using apply, sapply etc can help
speeding up processes, but in this case I don't see how I could do so.
a <- runif(10000000,0.5,1.6)
C <- 2
M <- 10000000
system.time( for (i in
2006 Aug 17
0
Rgraphviz fails to load
Dear r-helpers,
Can anyone suggest a remedy to the following failure of Rgraphviz to
load?
> library(Rgraphviz)
Loading required package: graph
Loading required package: Ruuid
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Resources/library/Rgraphviz/libs/ppc/Rgraphviz.so':
2006 Jul 27
0
package/namespace load failed for 'Rgraphviz'
Dear R-helpers,
Can anyone tell me how to fix this:
> library(Rgraphviz)
Loading required package: graph
Loading required package: Ruuid
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Resources/library/Rgraphviz/libs/ppc/Rgraphviz.so':
dlopen(/Library/Frameworks/R.framework/Resources/library/Rgraphviz/
2007 Oct 04
1
Problem with .libPaths & Rterm.exe (under Vista)
Dear list,
I?m using R embedded in another program (coded in tcl/tk) under Windows
Vista. In this context I don?t launch Rgui.exe but rather Rtem.exe.
Now I have a problem finding libraries not specifically installed as
administrator (and which are not in the path ?program files? but in
Contacts\Documents of the current user). To be precise, the user
launching my tcl/tk program can?t find
2010 Mar 31
0
You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package
Hi Gabor,
I just used your R code below and the code worked properly
without any error messages. Attached is the output graph, which
may be the one you expected.
library("Rgraphviz")
set.seed(123)
V <- letters[1:10]
M <- 1:4
g1 <- randomGraph(V, M, 0.2)
g1
plot(g1)
Thanks.
Howard
On Wed Mar 31 11:18:25 EDT 2010, Gabor Grothendieck
<ggrothendieck at
2004 Sep 22
1
Rgraphviz compilation error
Hi,
I am installing Rgraphviz at Linux Fedora Core 2 with
32 bit AMD athlon with 512 RAM.
I have installed graphviz version:
graphviz-1.16-1.src.rpm installed already on system.
I am doing:
$ R CMD INSTALL -l /usr/local/lib/R/library
Rgraphviz_1.4.0.tar.gz
---------------------------------
* Installing *source* package 'Rgraphviz' ...
** libs
gcc -I/usr/local/lib/R/include
2010 Mar 30
8
about the possible errors in Rgraphviz Package
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 when I loaded the package though library(Rgraphviz) or
2012 Oct 04
1
(minor) R syntax error in help page to the function makeCluster of library(snow)
Dear list,
I just realized that one of the examples given in the help page to the
function makeCluster of the library(snow) has a small syntax error :
## to get started
library(snow)
?makeCluster
.. will open a halp page containing the command towards the end of the
examples :
cl <- makeCluster(c(rep(list(macOptions), 2), rep(list(lnxOptions), 2),
rep(list(winOptions),
2010 Feb 11
1
(linux) display messages in R startup screen
Dear guRus,
I'm maintaining central R installation (Linux) for our institute. The
startup screen of R traditionally echoes some messages (starting with "R
version ...Copyright (C).. The R Foundation for Statistical
Computing...") and I'd like to display for example right after these
messages some other messages about our specific setup, how to contact me
etc ...
What
2007 Jan 03
0
RODBC : first line of data from query omitted
Dear List,
when reading MS Excel files in R using package RODBC I encountered the
problem of having the first line of data getting omitted.
I read the data as :
> library(RODBC)
> channel1 <- odbcConnectExcel("myFile.xls")
> sheet1 <- sqlQuery(channel1, "SELECT * FROM [Cell measures (1)$]")
# I use sqlQuery() instead of sqlFetch() since the sheet I
2009 Mar 04
0
error in mood.test
Dear list,
when running a mood.test() (part of package "stats") on slightly longer
vectors (than the example from the help-page) we get the error-message
shown below : once both vectors tested are of length 50 this error oocurs.
Note, that this problem didn't occur with R-2.7.x (or even older versions).
> x <- rnorm(50,10,5)
> y <- rnorm(50,2,5)
>
>
2007 Jan 03
2
accessing arrays
hi all. how can i adress a array directly. for example i wanna give array 1
other labels than array 2. How can I overcome this problem?
...this doesn't work
tab <- array(1:8, c(2, 2, 2))
dimnames(tab[,,1]) <- list(c("No","Yes"), c("No","Yes"),c("ARRAY1"))
dimnames(tab[,,2]) <- list(c("big","small"),