Displaying 6 results from an estimated 6 matches for "y8wi".
Did you mean:
8wi
2009 Sep 17
3
How to generate a matrix where each row (or column) is the same vector?
Hi,
I can use the following code to generate a matrix, each column of
which is 'x'. But I have to specify '5' twice in the second command. I
am wondering if there is a better way to do it.
> x=1:10
> matrix(rep(x,5),nc=5)
> t(matrix(rep(x,5),nc=5))
Regards,
Peng
2009 Sep 18
1
Lattice barplot not wokring in for-loop?
Dear List-Members,
I am plotting a barplot with the lattice package. The code works, but
when I execute the same code in a for-loop
no plot is shown. Can't figure what the problem is.
(Maybe I am missing something here, but I tried it with plot device
pdf, calling windows() or X11(), testing on windows and linux, etc.)
INFO: R version 2.9.1 (2009-06-26) using Windows/RGui
require(lattice)
2009 Sep 11
4
R on Multi Core
Hi,
Our discussions about 64 bit R has led me to another thought.
I have a nice dual core 3.0 chip inside my Linux Box (Running Fedora 11.)
Is there a version of R that would take advantage of BOTH cores??
(Watching my system performance meter now is interesting, Running R will
hold a single core at 100% perfectly, but the other core sites idle.)
Thanks!
--
Noah
2009 Sep 22
2
cannot build R-devel (>= r49747)
Hello,
I've tried several times yesterday to build R-devel and I consistently
get this error when I "make" :
mkdir -p -- ../../../library/base/R
make[3]: Leaving directory `/tmp/R-devel/src/library/profile'
make[3]: Entering directory `/tmp/R-devel/src/library/base'
building package 'base'
make[4]: Entering directory `/tmp/R-devel/src/library/base'
mkdir -p --
2009 Sep 16
2
I want to get a reference to this time series object
I'm trying to get a reference to this object in C
SWX.RET[1:6,c("SBI,"SPI","SII")]
While i am able to access and use a plain SWX.RET object, I'm getting
confused on how to create an object with the array subscripts like above.
Here is what I tried to do. It doesn't work because "[" is obviously not an
operation or function on SWX.RET. So how do I
2009 Sep 15
2
Putting together a constantly evolving package
Hi all,
I'm putting together some common code + data into a custom package,
everything is working out fine, but the ``R CMD INSTALL MyPackage``
call seems to take a particularly long time in the "**data" step:
$ R CMD INSTALL MyPackage/
* installing to library ?/Library/Frameworks/R.framework/Resources/
library?
* installing *source* package ? MyPackage? ...
** R
** data