Displaying 20 results from an estimated 1000 matches similar to: "Is there a way force hiding of all messages when calling library()?"
2010 May 29
1
warning In fun(...) : no DISPLAY variable so Tk is not available
I am getting the above warning following loading of Geneland 3.1.5 on
unix , while a simple plot sends output to the pdf file ( see attached
code) no output results from Geneland functions, resulting in empty pdf
files
> library (Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required package: spam
Package 'spam' is loaded. Spam version
2010 May 20
1
Geneland error on unix: Error in MCMC(........ :, unused argument(s) (ploidy = 2, genotypes = geno)
I am receiving the above error ( full r session output below) the
script runs OK in windows. and "genotypes" and "ploidy" are both
correct arguments
any suggestions would be most welcome
Nevil Amos
MERG/ACB
Monash University School of Biological Sciences
> library(Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required
2009 Mar 21
2
factor with numeric names
Hi all,
I have a pretty basic question about categorical variables but I can't
seem to be able to find answer so I am hoping someone here can help. I
found that if the factor names are all in numbers, fitting the model
in lm would return labels that are not very recognizable.
# Example: let's just assume that we want to fit this model
fit <- lm(height ~ age + Seed,
2011 Jan 19
2
xyplot question
Hi all,
I had a weird problem with xyplot and I am wondering if anyone can help me figure out what's wrong here. Basically if I call xyplot() inside a function and I call quartz() after, then the previous xyplot() does not do anything. A short demo of the issue is like this:
library(lattice)
plot.trends <- function()
{
mat <- data.frame(cbind(rnorm(100), rnorm(100)))
names(mat)
2012 Dec 27
2
Help reading matrixmarket files
I'm trying to read data a program produces in matrixmarket array format
into R and its giving me fits. I've tried read.MM (below) and readMM (from
the Matrix package) but neither works. One of them says array format isn't
supported, the other reports something indecipherable about Fortran.
Here's the file contents. Can't get much simpler than that!
%%MatrixMarket matrix array
2011 Jul 25
1
Ouch - brown, hansen error
Hi
I'm trying to use ouch's hansen and brown functions but I get the error:
> brown(logflatnodes,archotreeouch)
Error in backsolve(l, x, k = k, upper.tri = upper.tri, transpose =
transpose) :
NA/NaN/Inf in foreign function call (arg 1)
and with hansen also:
Error in optim(par = c(sqrt.alpha, sigma), fn = function(par) { :
function cannot be evaluated at initial parameters
2011 Dec 16
0
Rd error message
I get the following error from one of my Rd files in R CMD check (R
2-14.0)
* checking Rd files ... WARNING
Error in switch(attr(block, "Rd_tag"), TEXT = if (!grepl("^[[:space:]]*
$", :
EXPR must be a length 1 vector
problem found in ?backsolve.Rd?
This is likely something that will be glaringly obvious once it's
pointed out, but without a line number I can't
2004 Nov 07
1
rgl on Mac OS
Hi,
It seems like a number of people on this list can install rgl but have
problem loading it. I found myself in the same situation too.
I have tried the workaround of removing /usr/X11R6/lib from
DYLD_LIBRARY_PATH, but it doesn't seem to work for me, I am still getting
the same error (that everyone else seems to get). Can anyone give me some
ideas on what else to try?
I have Mac OS 10.3.5,
1999 Jan 22
1
backsolve... --> class()es for special matrices ?
>>>>> "JonR" == Jonathan Rougier <J.C.Rougier@durham.ac.uk> writes:
JonR> ... By the way, I have `solve'
JonR> methods for triangular matrices and variance matrices -- would
JonR> you be interested?
{ Jonathan, I hope it's okay if I CC this to R-devel;
this must be of a wider interest }
Ye.e..s;
for triangular ones,
2012 Apr 23
0
linear model benchmarking
I cleaned up my old benchmarking code and added checks for missing
data to compare various ways of finding OLS regression coefficients.
I thought I would share this for others. the long and short of it is
that I would recommend
ols.crossprod = function (y, x) {
x <- as.matrix(x)
ok <- (!is.na(y))&(!is.na(rowSums(x)))
y <- y[ok]; x
2004 Nov 16
3
How to access samba without login prompt. !
Dear Sir,
Hello, My name is kenneth Yeung. I wonder to know how to configure
samba or window to access samba folder without login prompt. !
I am using Wins 2K for client, and Linux server is set samba server. I
can login to samba using username and password, but I want to do a
windows backup schedule task without prompt. login window !
Could you tell me the method to do this task. Thank you for
2009 Feb 08
3
general inverse solver?
Just wondering if there's an R package which does tricks similar to what
TK!Solver does.
TK!Solver, for those not lucky enough to have found it, basically allows
one to define a bunch of equations, assign values to an arbitrary subset
of the variables, from which it calculates (either directly when
possible or back-solving when not) the values of the other variable(s).
thanks
Carl
2012 Sep 02
5
[newbie] scripting remote check for R package
summary: e.g., how to replace '<query R for package=package_name>'
in the following:
for RSERVER in 'foo' 'bar' 'baz' ; do
ssh ${RSERVER} '<query R for package=package_name>'
done
or is there a better way to script checking for an R package?
details:
For my work I need a few non-standard R packages. I do that work on 2
clusters. One uses
2008 Apr 01
12
undefined method `time_zone=' on Rails 2.0.2.9129 on Mac OS X
I just did a gem update and it broke my rails application. I had to
go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X
Leopard:
/Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined
method `time_zone='' for #<Rails::Configuration:0x12c9f24>
(NoMethodError)
from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in
`run''
from
2004 Jan 26
3
Fortran source code
Hi,
I am wondering if it is possible to view the Fortran source code called by
R functions.
In particular, I am interested in the "leaps.setup" function in a
package called "leaps", which calls Fortran functions "ssleaps", "initr"
etc.
Any help would be greatly appreciated.
Ka Yee Yeung
Bioinformatics Scientist
Dept of Microbiology
University of
2004 Oct 06
3
crossprod vs %*% timing
Hi
the manpage says that crossprod(x,y) is formally equivalent to, but
faster than, the call 't(x) %*% y'.
I have a vector 'a' and a matrix 'A', and need to evaluate 't(a) %*% A
%*% a' many many times, and performance is becoming crucial. With
f1 <- function(a,X){ ignore <- t(a) %*% X %*% a }
f2 <- function(a,X){ ignore <-
2003 Jul 15
5
passwd program not called as root
Hallo to everybody out there,
I have downloaded and compiled Samba3b2 on a SuSE 8.2 machine. For testing
purpose, I connect to this machine with a Win2k-Box ... most things seem to
work fine, but I am unable so change passwords from the win-box with unix
password sync enanbled.
I changed loglevel to 103 and enabled password chat debug. From what I found
in the log-files, I can conclude that
2009 Nov 04
1
s4 generic issue
I'm hoping that someone with deeper insight into S4 than I,
that is to say virtually everyone reading this list, could help
resolve the following problem in SparseM. We have
setGeneric("backsolve",
function(r, x, k = NULL, upper.tri = NULL, transpose = NULL,
twice = TRUE, ...)
standardGeneric("backsolve"),
useAsDefault= function(r, x,
2003 Jun 09
3
Samba3.0beta1 as PDC with LDAP
I finally got Samba-3.0beta1 as PDC with LDAP backend.
However, I need to specify:
passdb backend = ldapsam smbpasswd:smbpasswd guest
and have the root account's exists in smbpasswd file.
I still could not get a uid=root entry in LDAP to
allow client workstation to join the domain.
When in samba-2.2.8a I could use a fake rid=506 with
uidNumber=0 entry in LDAP (as a SambaAccount) and it
2013 Jun 07
1
cannot load pbdMPI package after compilation
Hello,
I try to install pbdMPI.
Compilation successful, but load fails with segfault.
Is anyone can help me?
R version 3.0.0
pbdMPI version 0.1-6
Intel compiler version 13.1.1
OpenMPI version 1.6.4-1
CPU Intel x86_64
# R CMD INSTALL pbdMPI_0.1-6.tar.gz
..
....
checking for gcc... icc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name...