[R] Adressing multiple cores (CPUs)

2010-02-15 Thread thomas.schwander
Dear all, I'm sitting here just in front of my new p...@work and wonder about the following question: * How can I adress multiple CPUs (cores) out of R to speed up the simulations I run? * What are the prerequisites to do so? Maybe anyone could give me a hint where to start

[R] Loop over several Garch-models

2009-03-02 Thread thomas.schwander
Dear all, I'm using R 2.8.1 on Windows XP. I want to loop over several garch-models to evaluate the best model-fit. After loading the package fGarch I execute the following loop: For(i in 1:5){ for(j in 1:5){ garchFit(~ arma(0,0) + garch(i,j), stetige_renditen[,7],

Re: [R] Jpeg and pixel

2008-03-11 Thread thomas.schwander
Hi Brian, Thank you for your fast answer. It looks a little bit better now. Nevertheless I see pixels. May it depend on the font used? In the praeambel I use windowsFonts(Frutiger = windowsFont(Frutiger 45 Light)) par(family=Frutiger) And later, to create a wide table on the

Re: [R] Jpeg and pixel

2008-03-11 Thread thomas.schwander
Thanks again, but I see the pixels on my print... The width is set to 1560, the height to 566. Is the assignment to use Frutiger correct? Regards -Ursprüngliche Nachricht- Von: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11. März 2008 10:08 An: Schwander, Thomas,

[R] Jpeg and margin table, second attempt

2008-03-03 Thread thomas.schwander
Hi R-users, Maybe my last question was not specified enough to get a lot of answers, so I'm trying to do a new attempt: I use R 2.6.2 and Windows XP. I've got the following question: I wrote a lot of text into the margin of a plot. I have to take the borders of the graphics device and enlarge

[R] Problems with paste and blank

2007-10-17 Thread thomas.schwander
Hi there, I've got the following problem under Windows XP, R 2.5.1: When I'm pasting some objects: Stadtwerksname-Mannheim Laufwerk-C:\\ paste(Laufwerk,Stadtwerksname,.csv) I get the result: [1] C:\\ Mannheim .csv The problem's are the superfluous gaps/blanks between the three parts. Is

[R] Another problem with drawing curly brackets

2007-10-17 Thread thomas.schwander
Hi there, Another problem for me ist to automatize the drawing of curly brackets like you can draw with Word or PPT or other programs. I want to draw with R 2.5.1 under Windows XP a curly bracket that begins in point (x1,y1) and reaches (x2,y2) horizontaly. Thx, Thomas