[R] Appending Data to a .csv File

2016-08-11 Thread Mihai.Mirauta
Hallo, For the moment I have a relatively large number of portfolios of different companies (say, company A with portfolios 1 to 10, company B with portfolio1 1 to 15 and so on to company Z with Portfolios 1 to 5). What I am doing, is loading these simulations out of csv (relatively large

[R] How to save graphs out of ACF ?

2011-01-05 Thread Mihai.Mirauta
Hi, I want to save the autocorrelation plots resulting out of ACF (acf(ts)), not just by using the Save as command in the R Gui but using some sort of code, which allows me to chose the format and the path. Thank you, Mihai [[alternative HTML version deleted]]

[R] Working with text data/text operators

2010-01-19 Thread Mihai.Mirauta
Hello, Could someone tell me, how can I select from a dataframe only those columns whose names contain a certain text? For example, if the column names are Bond1.Creditclass,Bond1.Price,Bond2.Creditclass,Bond2.Price, how do I select only the columns corresponding to Bond1? Thanks a lot,

[R] How to comment in R

2009-02-11 Thread Mihai.Mirauta
Hi everybody, I use for the moment # at the begining of each line for comments. Is there any possibility to comment more than one line, like something which shows the beggingng and the end of the comment? Or is there a possibility to comment only a part of a line? Thanks, Mihai

Re: [R] How to comment in R

2009-02-11 Thread Mihai.Mirauta
Well, I don't care so much if it is */ or something else, I just want to find some way to end my comment. Still, no matter what signs I use (as Thierry suggested) doesn't seem to work. Gruß, Mihai -Ursprüngliche Nachricht- Von: Søren Højsgaard [mailto:soren.hojsga...@agrsci.dk]

Re: [R] How to comment in R

2009-02-11 Thread Mihai.Mirauta
Still doesn't work. I did Format -- Block -- Comment and chose /* for begin comment, */ for end comment but R doesn't recognize the signs as such. Maybe I should work on the configuration of TINN R? Thanks, Mihai -Ursprüngliche Nachricht- Von: ONKELINX, Thierry

[R] How to load functions in R

2008-09-11 Thread Mihai.Mirauta
Hello, I am trying to use self created functions in other scripts than the one where they are stored. For the moment I am using the following structure of commands to do that: 1. Load the text file with the functions in the current script: x=parse(path) 2. transform the tex in a function:

Re: [R] How to load functions in R

2008-09-11 Thread Mihai.Mirauta
Hello, It seems that all methods work. Source() however loads only the last function. with save(a,b,file=path) i can save more than 1 function. Thanks a lot, Mihai -Ursprüngliche Nachricht- Von: Yihui Xie [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 11. September 2008 16:48 An: