[R] R <--> JVM

2012-06-15 Thread ANGELO.LINARDI
Hello, first of all thanks to both of you for your fast response. Going back to Michael's wonderful ASCII art masterpiece, what we have now is something like this: --- JVM --- JAVA JDBC | | Algorithm |

[R] R: R: Securities earning covariance

2012-06-15 Thread ANGELO.LINARDI
Hello, first of all tank to both of you for your fast response. Going back to Michael's wonderful ASCII art masterpiece, what we have now is something like this: --- JVM --- JAVA JDBC | | Algorithm |

[R] R under JVM

2012-06-15 Thread ANGELO.LINARDI
Dear all, first of all I apologize for not having changed the object. I just re-used an old email I sent some time ago. The let us go into the question. Our architecture is the following: A (set of) java programs running under a jvm that passes data and instructions to an R instance via

[R] R: Securities earning covariance

2012-06-15 Thread ANGELO.LINARDI
Good morning. I have a real fuzzy question to ask; we have a calculation engine which is composed by n virtual machines each of them with a jvm 2GB of memory on Linux Red Hat each of them with the "R" package which comes along with the Red Hat Linux distribution. We have now to increase the numbe

[R] "Holes" in a data frame with time intervals

2011-03-28 Thread ANGELO.LINARDI
Good morning, I am facing a problem very easy to solve with a program, but not too easy (at least IMHO) with a "declarative" approach. I have a dataframe df with some information about bank branches with a validity time associated (start date/end date, format -MM-DD) to some attributes (fo

[R] R: Data frame "pivoting"

2010-05-06 Thread ANGELO.LINARDI
It works perfectly !!! Thank you so much !! Angelo -Messaggio originale- Da: Patrick Hausmann [mailto:patrick.hausm...@uni-bremen.de] Inviato: giovedì 6 maggio 2010 12.05 A: LINARDI ANGELO Cc: r-help@r-project.org Oggetto: Re: [R] Data frame "pivoting" Hi Angelo, try x <- structure(li

[R] Data frame "pivoting"

2010-05-06 Thread ANGELO.LINARDI
Dear R experts, I am trying to solve this problem, related to the possibility of changing the shape of a data frame using a "pivoting-like" function. I have a dataframe df of observations as follows: ID VALIDITY YEAR PROPERTYPROPERTY VALUE A1 2007

[R] R: Adding 1 month to a dataframe column

2008-09-19 Thread ANGELO.LINARDI
It works great! Thank you so much Gabor Angelo Linardi -Messaggio originale- Da: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Inviato: giovedì 18 settembre 2008 21.16 A: LINARDI ANGELO Cc: r-help@r-project.org Oggetto: Re: [R] Adding 1 month to a dataframe column Try this: # example

[R] Adding 1 month to a dataframe column

2008-09-18 Thread ANGELO.LINARDI
Dear R experts, I have a problem in modifying one column of a dataframe with a datatime format using a datetime operator. Here is my dataframe A: DATACONT PROVINCIA VALORE 1 2007-12-31MI 1 2 2007-12-31PV 2 3 2007-12-31NA 3 4 2007-12-31MI

[R] Agreggating data using external aggregation rules

2008-06-06 Thread ANGELO.LINARDI
Dear R experts, I am currently facing a tricky problem which I have read a lot about in the various R mailing lists without finding exactly what I need. I have a big data frame DF (about 2,000,000 rows) with 7 columns being variables and 1 being a measure (using reshape package nomeclature). There

[R] R: Securities earning covariance

2008-06-06 Thread ANGELO.LINARDI
It works perfectly, thank you so much. Now I will try to put teh results into a suitable form (a data frame like this): SEC_ID.xSEC_ID.yEARN_COV Thank you again Angelo Linardi -Messaggio originale- Da: Patrick Burns [mailto:[EMAIL PROTECTED] Inviato: giovedì 5 giugno 20

[R] R: Securities earning covariance

2008-06-06 Thread ANGELO.LINARDI
Thank you for your very fast response. I just tried to use the zoo package, after having read the vignettes, but I get this error message: Warning messages: 1: In x$DAY : $ operator is invalid for atomic vectors, returning NULL 2: In x$EARNINGS : $ operator is invalid for atomic vectors, return

[R] Securities earning covariance

2008-06-05 Thread ANGELO.LINARDI
Good morning, I am a new R user and I am trying to learn how to use it. I am trying to solve this problem. I have a dataframe df of daily securities (for a year) earnings as follows: SEC_ID DAY EARNING IT001 200701015.467 IT001 200701025.45