[R] size of the side panel in gvisMotionChart

2012-11-21 Thread xavier abulker
Hello, Is there an option parameter to increase the size of the bottom right side panel in gvisMotionChart? My data labels are too long for this panel (for example "Call butterfly spread @ 2400/2600/2800") and the names are always cut even if I increase the width and height. Regards Xavier

[R] maximize portfolio return under risk target

2011-05-10 Thread xavier abulker
Hello, I'm trying to build a simple example to maximize the return on a portfolio with a risk target (12%) and long positions only (0 <= weights <=1). I've read all the previous posts on fPortfolio and PortfolioAnalytics but I cannot find anything simple. Could you please help me? My code curre

Re: [R] Error Rscript: No such file or directory

2011-05-04 Thread xavier abulker
/05/2011 11:49 AM, xavier abulker wrote: > Hello, > I'm trying to build a simple cpp file using the R CMD SHLIB command and I >always > receive the same error message: > > cygwin warning: >MS-DOS style path detected: C:/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf >

[R] Error Rscript: No such file or directory

2011-05-04 Thread xavier abulker
Hello, I'm trying to build a simple cpp file using the R CMD SHLIB command and I always receive the same error message: cygwin warning: MS-DOS style path detected: C:/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf

Re: [R] Percentiles in R

2007-09-11 Thread Xavier Abulker
It looks like prctile(X,p) is the same as quantile(X,p) i.e x<-0:100 quantile(x,0.5) is the median(x) and quantile(x,0.1)=10 is the value that is greater than 10% percent of the values in X "José Luis Aznarte M." wrote: > > Hi there! Still struggling to translate Matlab code into R's tsDyn >

Re: [R] persp() problem

2007-09-11 Thread Xavier Abulker
There is an error in your code: in persp(x , y , z) the length of x is the number of rows of z, the length of y is the number of columns of z, You should also name the rows and columns in z with x and y Economics Guy wrote: > > I am having some trouble getting the persp() package to change th