Displaying 20 results from an estimated 3000 matches similar to: "building packages on Windows"
2002 Apr 22
2
lattice x(y)lab and expression
Another question about lattice:
Is there a way to use plotmath in the labels and strips?
E.g.
xyplot(y~x|group,data=test.df,
panel=function(x,y,subscripts,df) {
llines(x,y,col="black",lwd=2)
llines(x,df[subscripts,"lowerCI"],lty=2,col="#aaaaaa")
llines(x,df[subscripts,"upperCI"],lty=2,col="#aaaaaa")
},
2002 Apr 22
2
lattice help
I'm new to lattice and can't figure out what the problem is with the
following example:
#########################
> library(lattice)
Loading required package: grid
Attaching package `lattice':
The following object(s) are masked _by_ .GlobalEnv :
xyplot
The following object(s) are masked from package:base :
levels
> test.data <- data.frame(x=rnorm(100),
+
2007 Apr 20
2
Fastest way to repeatedly subset a data frame?
Hi -
I have a data frame with a large number of observations (62,000 rows,
but only 2 columns - a character ID and a result list).
Sample:
> my.df <- data.frame(id=c("ID1", "ID2", "ID3"), result=1:3)
> my.df
id result
1 ID1 1
2 ID2 2
3 ID3 3
I have a list of ID vectors. This list will have anywhere from 100 to
1000 members, and
2012 Feb 21
5
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
All,
This buildbot is getting lots of assertion failures in the test suite.
They were probably caused by my commit:
------------------------------------------------------------------------
r151049 | foad | 2012-02-21 09:25:52 +0000 (Tue, 21 Feb 2012) | 6 lines
Changed paths:
M /llvm/trunk/lib/VMCore/LLVMContextImpl.h
M /llvm/trunk/lib/VMCore/Type.cpp
PR1210: make uniquing of struct and
2005 Sep 14
1
R CMD check
Dear r-devel members,
I tried to build R packages on a PC running Windows XP but experience
problems. However, it is ok when there is no inst directory in a package.
Any help would be appreciated.
The following is an example,
C:\work>R CMD check VR_7.2-19.tar.gz
* checking for working latex ... OK
* using log directory 'C:/work/VR.Rcheck'
* using R version 2.1.1, 2005-06-20
*
2004 Apr 30
2
festival and gcc 3.3.2 (Fedora Core 1)
Can someone tell me how to build festival on a machine with gcc 3.3.2?
I've searched all around and even found a reference or two that the
problem exists but I'm not seeing the fix.
thanks!
-reed
Symtoms are --
./configure, then....
[root@telephone speech_tools]# make
Check system type
Remake modincludes.inc
NATIVE_AUDIO
ok
EDITLINE
2003 Dec 22
1
La.eigen hangs R when NaN is present (PR#6003)
Full_Name: Sundar Dorai-Raj
Version: 1.8.1
OS: Windows 2000 Professional
Submission from: (NULL) (12.64.199.173)
I discovered this problem when trying to use princomp in package:mva when a
column in my matrix was all zeros and I set cor = TRUE (thus division by 0).
Doing so hangs R, never to return. I have to shut down Rterm in the Task Manager
and lose all work from the current image. I tracked
2002 Apr 25
2
install a package from CRAN
Hi,
I've tried to install package "tseries" on my computer (on Windows) but it
doesn't work so far. I have Perl but no compilers (C or Fortran) installed.
So could anyone who happens to have them please mail me the binaries?
Many thanks in advance,
Sonchawan
_________________________________________________________________
2005 Nov 26
1
list.files(recursive=T) does not return directory names
list.files() (and dir()) don't appear to return names of
directories when one uses the recursive=T argument. E.g.,
> dir(file.path(R.home(),"library"), pattern="^R$", recursive=T)
[1] "Malmig/help/R"
but the unix find commmand finds lots of R directories
> z <- system(paste("find", file.path(R.home(),"library"), "-name
2002 Apr 15
3
Greek in text()
I have gone over the examples and can't figure this out:
rho<-.77
text(x=.05,y=.5,paste(expression(rho),rho))
I was hoping to get this to print a Greek rho with 0.77 beside it.
Instead I get: rho 0.77 (i.e. Roman lettering)
The help on expression() is quite opaque so I don't understand how it
works.
Thanks for any help.
Bill Simpson
2002 May 06
3
Using Object's Name in Function
Hi,
Suppose I have a function:
myfunc <- function(x, y) {
...
}
And within the function I want to print out the name of the x, y
vectors. For example, if I do:
> myfunc(foo, goo)
[1] "foo" "goo"
It shall return "foo", "goo" (with or without quotes is fine), where foo
and goo are two vectors with numbers.
I know this sounds strange, but I'd
2002 May 03
2
delete rows
Hello,
I would like to know how to delete some rows?
Suppose I have a large data frame look something like this:
x1 x2 x3 ..............
a 1 0.45
b 1 0.41
c 0 0.43
a 1 0.39
d 1 0.40
e 0 0.41
r 1 0.42
a 0 0.46
. . ..
I would like to have another data frame which has all
2002 May 06
3
function sort.list()
Derar R-people
I have troubles understanding what the function sort.list() is doing. On
the homepage it says that it returns a permutation which rearranges a
vector into ascending or descending order (like order() but on a vector
instead of a sequence).
> sort.list(c(0, 2, 10, 11, 4))
[1] 1 2 5 3 4
which does not make sense to me.
In fact I am getting the same (non-sensical) result using
2002 Apr 30
3
A sample question
Hello.
Given a vector 1 3 4 2 8 9 5
I want to obtain a vector with all 0 except in the second position and in
the fifth, where the numbers are the same of the first vector.
The new vector must be
0 3 0 0 8 0 0
Thank you very much.
Excuseme but my mind is out of order.
Alessandro
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2005 Jul 04
1
installing packages and libraries
When I run the following:
cd \Rpkgs
rcmd install mypackage -l library
I get a message that it cannot find quadprog which is a library
that mypackage depends on.
Error: package 'quadprog' could not be loaded
I previously used C:\Program Files\R\rw2011\library as my library for CRAN
packages and did not have a problem but now that I use
C:\Program Files\R\library this problem
2002 Apr 19
4
Multidimensional scaling
A student of mine wants to use R to do some nonmetric multidimensional
scaling. According to the R FAQ, there's a package called pcurve that
computes multidimensional scaling solutions, but I was not able to locate
it the contrib page (I am a Windows user with R version 1.4.1). Can
anyone tell me whether it is possible to do nonmetric multidimensional
scaling with R, and if so, how?
John
2004 Sep 30
1
Vectorising and loop (was Re: optim "a log-likelihood function")
>From: Sundar Dorai-Raj <sundar.dorai-raj at PDF.COM>
>Reply-To: sundar.dorai-raj at PDF.COM
>To: Zhen Pang <nusbj at hotmail.com>
>CC: r-help at stat.math.ethz.ch
>Subject: Vectorising and loop (was Re: [R] optim "a log-likelihood
>function")
>Date: Wed, 29 Sep 2004 18:21:17 -0700
>
>
>
>Zhen Pang wrote:
>
>>
>>I also use
2012 Feb 21
0
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
On Tue, Feb 21, 2012 at 2:51 AM, Jay Foad <jay.foad at gmail.com> wrote:
> All,
>
> This buildbot is getting lots of assertion failures in the test suite.
> They were probably caused by my commit:
>
> ------------------------------------------------------------------------
> r151049 | foad | 2012-02-21 09:25:52 +0000 (Tue, 21 Feb 2012) | 6 lines
> Changed paths:
>
2009 Jan 17
2
DierckxSpline segfault
I've just encountered a segfault when using DierckxSpline::percur
function. Below is the minimal example which triggers the error:
---
library(DierckxSpline)
x <- 1:10
y <- rep(0, 10)
pspline <- percur(x, y)
---
*** caught segfault ***
address (nil), cause 'memory not mapped'
Traceback:
1: .Fortran("percur", iopt = as.integer(iopt), m = as.integer(m),
x =
2002 Apr 17
4
union of lists
Hi there,
Given 2 lists of integer vectors, i.e.:
> lista1
$"1"
[1] 1 34 5
$"2"
[1] 2 1
$"3"
[1] 3 10 15
> lista2
$"1"
[1] 1 5
$"2"
[1] 2 1
$"3"
[1] 3 10 29
I want to obtain the union of both, defined
as the union of the vectors, that is
lista.union[[1]] <- union(lista1[[1]],lista2[[1]]):
> lista.union