Displaying 20 results from an estimated 3000 matches similar to: "proposal for new flag to R CMD INSTALL"
2010 Nov 13
1
problem building R from svn repo
Hola!
I just changed my laptop to debian squeeze,
downloaded R devel from svn repo, as described in the manual.
Then I configured for building in a separate build dir with:
kjetil at kjetil:~/R/Rbuilddir$ sudo ../svn/configure
--- which succeeded, with:
R is now configured for x86_64-unknown-linux-gnu
Source directory: ../svn
Installation directory: /usr/local
C
2006 Sep 19
2
mgcv in R-2.4.0.alpha
Hola!
I am sending this to the list since emails from me to Simon Wood
has bounced earlier.
I get:
> library(tsDyn)
Loading required package: mgcv
Erro en `parent.env<-`(`*tmp*`, value = NULL) :
use of NULL environment is defunct
Error: package 'mgcv' could not be loaded
> library(mgcv)
Erro en `parent.env<-`(`*tmp*`, value = NULL) :
use of NULL environment
2010 Jan 30
3
Competiciín de classificación!!! Fwd: [R] Classification of supernovae - a challenge
Hola!
Este mail llegó a r-help hoy, yo lo mandó también a esta lista. Es
interesante
con competiciones de predicción/clasificación! ¿Alguien que quiere cooperar?
Kjetil
---------- Forwarded message ----------
From: Kjetil Halvorsen <kjetilbrinchmannhalvorsen@gmail.com>
Date: Fri, Jan 29, 2010 at 12:19
Subject: Fwd: [R] Classification of supernovae - a challenge
To: Kjetil Halvorsen
2012 Apr 14
2
some questions about sympy (that is, rSymPy)
I am experimenting with rSymPy, and it seems to work nice.
However, I dislike the need to wrap all sympy expressions within
quotes, it leads to ugly calls like
library(rSymPy)
Var("x,y,z")
sympy("(x+y)**2")
and so on.
Inspired by the function cq from mvbutiles package:
library(mvbutils)
> cq
function (...)
{
as.character(sapply(as.list(match.call(expand.dots =
2009 Oct 16
2
Matrixes as data
Hola!
I am working on a problem where data points are (square) matrices. Is
there a way to make a
"vector" of matrices, such that it can be stored in a data.frame? Can
that be done with S3?
or do I have to learn S4 objects & methods?
Kjetil
2011 Nov 18
1
Problems compiling R
Hola!
I had my hard disk and cpu fried, so had to reinstall debian from
scratch, and now I have problems compiling R
R-2.14.0. My system is wheezy with Xfce4 desktop. (-amd-64)
./configure
make
runs without problems, but make test dose not!
Here is some of the output from make test:
kjetil at kjetil:~/R/R-2.14.0$ make check
make[1]: Entering directory `/home/kjetil/R/R-2.14.0/tests'
2006 Jun 16
2
bug in prcomp (PR#8994)
The following seems to be an bug in prcomp():
> test <- ts( matrix( c(NA, 2:5, NA, 7:10), 5, 2))
> test
Time Series:
Start = 1
End = 5
Frequency = 1
Series 1 Series 2
1 NA NA
2 2 7
3 3 8
4 4 9
5 5 10
> prcomp(test, scale.=TRUE, na.action=na.omit)
Erro en svd(x, nu = 0) : infinite or missing values in 'x'
2010 Oct 05
0
Fw: Re: R editor in ubuntu!
Hello friends,
I would like to thank you all for your advices. Rcmdr is gread.
All the best,
Mehdi
********************* Mehdi Zarrei, PhDPostdoctoral fellowUniversity of Toronto
Dept. of Ecology & Evolutionary Biology
Royal Ontario Museum
Department of Natural History
Green Plant Herbarium (TRT)
100 Queen's Park
Toronto, On., M5S 2C6, CanadaE-mail:
2010 Oct 15
1
compiling and testing R-2.12.0
I downloaded the tarball for R-2-12.0, made
./configure
make
without problems.
Then
make test
...which have now been running for more than an hour, and seems to
have stalled at:
comparing 'reg-plot-latin1.ps' to './reg-plot-latin1.ps.save' ... OK
make[3]: Leaving directory `/home/kjetil/R/R-2.12.0/tests'
make[2]: Leaving directory `/home/kjetil/R/R-2.12.0/tests'
make[2]:
2000 Aug 04
1
Inverting matrix...
Dear all,
Either I'm being totally blind now (as you know, the eyes are the first
thing that is blinded :-)), or something is missing in
"An Introduction to R". The section heading of section 5.7.1 is
"Multiplication, inversion and solving linear equations", and since I was
looking for the canonical way of inverting a matrix, this was the place to
look. However, I found
2009 Feb 02
2
Sweave
I'm trying to (re)learn Sweave and run into some problems. I use now ubuntu
(8.10), emacs + ess.
Slowly getting upto speed on ess. I have a complete (hopefully) .Rnw file,
but the resulting .tex
will not compile. The file does not contain anything exotic, but it produces
pdf figures, and that
is where the problems come:
library(tools)
> Sweave("varioCoo.Rnw")
Writing to file
2001 Dec 07
2
error in parse
I am trying to source a file defining a dataset, giving the full path.
(rw1031 on windows 98)
> source("c:\\kjetil\\audiometria\\data\\audiometria.R")
Error in parse(file, n, text, prompt) : syntax error on line 6
also:
> parse(file="c:\\kjetil\\audiometria\\data\\audiometria.R", n=-1)
Error in parse(file, n, text, prompt) : syntax error on line 6
This seems very
2004 Sep 24
2
rw2000dev: problems with library(foreign)
I get the following
> library(foreign)
Error in namespaceExport(ns, exports) : undefined exports: write.foreign
Error in library(foreign) : package/namespace load failed for 'foreign'
with rw2000dev as of (2004-09-17
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
2000 Jan 14
2
Matrix output from drawing functions
Dear all,
I'm a bit confused about the output from functions that generates random
values, e.g. rpois. I'm using 0.65.1 on Digital UNIX alphaev6.
If I say
> rpois(10,5)
output is not unexpectedly:
[1] 4 6 5 7 6 5 2 2 5 3
but I figured that if I go:
> rpois(10,1:10)
I would get a 10x10 matrix as output, with random values for each of
the vector elements in the row vectors, but
2004 Oct 04
4
Off-Topic: LaTeX package listings
Hola!
I ask here since I learnt from this list that the LaTeX package listings
should be good
for typesetting R code. I encountered one problem:
\begin{lstlisting}
X %*% V
\end{lstlisting}
in the output the * in %*% disappears! same with %/%, etc, the /
disappears.
Any ideas?
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
--
2005 May 28
3
Incompatibility with VGAM
I just discovered that when the VGAM package (not on CRAN) is loaded,
glm() doesn't work. This is because VGAM defines a family function()
which gets found
by glm() in place of the family function from stats.
Then VGAM:::family returns an object which doesn't have a $family
component, (it has a component
$vfamily).
I thought namespaces should protect us from this happening?
Kjetil
--
2006 Feb 21
3
How to get around heteroscedasticity with non-linear leas t squares in R?
Your understanding isn't similar to mine. Mine says robust/resistant
methods are for data with heavy tails, not heteroscedasticity. The common
ways to approach heteroscedasticity are transformation and weighting. The
first is easy and usually quite effective for dose-response data. The
second is not much harder. Both can be done in R with nls().
Andy
From: Quin Wills
>
> I am
2000 Jul 09
1
Modified Histogram functions
Dear all,
I have done further modifications on the histogram functions that I
reported earlier this year, and I hope this can be of use and perhaps
included in the distribution. I have been using this stuff a couple of
months myself, and while it is nothing sophisticated, it has it's
applications. :-) I did a few small modifications today to make it a bit
more compact.
I have modified the
2004 Oct 29
1
as.list.matrix
I found the need of converting a matrix into a list of its columns
(for use with do.call), and was surprised there was no method
as.list.matrix, it could easily be a part of as.list default
I wrote
my.as.list.matrix <- function(mat) {
if(!is.matrix(mat))stop("Argument must be a matrix")
n <- NCOL(mat)
res <- vector(mode="list", length=n)
2004 Dec 08
2
Strange error from R CMD INSTALL
I am trying to install a local package and get this unexpected
error:
---------- Making package UMSA ------------
adding build stamp to DESCRIPTION
installing R files
installing data files
installing man source files
installing indices
Error: couldn't find function "na.omit"
Execution halted
na.omit of course is in package stats, and that is listed in the
Depends field in