Re: [R] installing FastRWeb

2011-10-29 Thread financial engineer
alling FastRWeb > > A missing X11/Intrinsic.h: suggests you also have to install some X11 > header files that are still missing ... > > Uwe Ligges > > > > > On 29.10.2011 19:44, financial engineer wrote: > > > > > > > > > > > >

Re: [R] installing FastRWeb

2011-10-29 Thread financial engineer
/) and/or set > CAIRO_CFLAGS/LIBS correspondingly. > > And that is exactly what you need to do, it cannot be solved by > installing R packages > > Best, > Uwe Ligges > > > On 29.10.2011 18:24, financial engineer wrote: > > > > hi, > > >

[R] installing FastRWeb

2011-10-29 Thread financial engineer
hi, I am working on Ubuntu and tried to install FastRWeb, but am getting the following error for installation of cairo.h. install.packages("FastRWeb",dep=TRUE) Installing package(s) into ‘/home/ba/R/i686-pc-linux-gnu-library/2.12’ (as ‘lib’ is unspecified) also installing the dependency ‘Cair

Re: [R] for/if loop in R

2011-07-21 Thread financial engineer
ta$trend <- 0 > > > which can have 2 values 0 or 1. if return>1%, trend=1 else trend=0. > pricedata$trend <- ifelse( pricedata$return > .01, 1, 0 ) > > Rgds, > Rainer > > > On Thursday 21 July 2011 19:39:15 financial engineer wrote: > > > >

[R] for/if loop in R

2011-07-21 Thread financial engineer
hi, Can someone please help me figure out where I am making a mistake in my for/if loop: I have a data frame (112 rows) called pricedata with 3 columns: date, prices, return. Now, I want to add a 4th column, trend, which can have 2 values 0 or 1. if return>1%, trend=1 else trend=0. so, this