Hi, i have 8.10 Ubuntu, R version 2.7.1 on 64 bit pc. I install packages
fine, but when i try to do install.packages("debug") i get error message
package 'debug' is not available
Does this package exist for Ubuntu?
--
View this message in context:
http://n4.nabble.com/package-debug-not-avail
Could someone give me an idea on how to do rolling ranking, i.e. rank in the
moving window of last 100 numbers in a long vector? I tried naive solution
like
roll.rank<-function(v, len){
r<-numeric(length(v)-len+1)
for(i in len:length(v))
r[i-len+1]<-rank(v[(i-len+1):i])[len]
r
Gabor, Charles, Whit -- i've been walking the woods of R alone so far, and i
got to say that your replies to that trivial question are eye-opening
experience for me. Gentlemen, what i am trying to say in a roundabout way is
that i am extremely grateful and that you guys are frigging awesome.
Let
I have pretty big data sizes, like matrices of .5 to 1.5GB so once i need to
juggle several of them i am in need of disk cache. I am trying to use
bigmemory package but getting problems that are hard to understand. I am
getting seg faults and machine just hanging. I work by the way on Red Hat
Linu
Jay, thanks a bunch. New package seems to work just fine and great
improvement in docs by the way:). I tried the same example, new version
deals with it smoothly. In terms of usefulness of my sample code -- sure i
am writing same stuff to disk many times with only one handle -- it was some
toy cod
I have R script that i need to run in cron. Either R libraries or some .so
libraries that they depend on don't get loaded correctly. Here is an
example. I have a file, call it tmp.R
tmp.R
=
R --slave --args $0 $* < tryCatchList -> tryCatchOne ->
Execution halted
Actually, i think i figured it out. My bad, i am inexperienced with cron.
When it runs, it doesn't have the environment. Once i wrapped my R script
into shell script that sourced the .bashrc file, i was back in business.
Maybe there is more elegant solution, without additional shell script --
poss
I am using getYahooData from TTR to get daily data. When i do it standalone,
it is fine. It also works fine inside my code. However, when i run code
inside mtrace(), i always get the following error:
Error in xts(cbind(adj[[1]], adj[[2]]), index(obj)):
order.by requires an appropriate time-base
8 matches
Mail list logo