[R] Downloading data from Reuters - second trial

2010-02-21 Thread Thomas Schwander
Dear lists (I was not sure which list would be the better-one), I'm trying to download data from Reuters (3000 Xtra) into R with the extension written by Rory Winston (http://www.theresearchkitchen.com). I first stored the dlls into the bin directory of R, tried to load it into R with

[R] Initial values of the parameters of a garch-Model

2009-02-08 Thread Thomas Schwander
Dear all, I'm using R 2.8.1 under Windows Vista on a dual core 2,4 GhZ with 4 GB of RAM. I'm trying to reproduce a result out of Analysis of Financial Time Series by Ruey Tsay. In R I'm using the fGarch library. After fitting a ar(3)-garch(1,1)-model

[R] looping over a string

2009-01-22 Thread Thomas Schwander
Hi list, I'm using R 2.8.1 under Windows vista. I have the following problem: First of all I create a string-vector. Then I convert these strings into variables and assign a vector of numeric values. So far everything's fine. Now I want to do nearly the same again: I create another

Re: [R] looping over a string

2009-01-22 Thread Thomas Schwander
Greg Snow schrieb: I don't see right off why the one works and the other doesn't, but this looks like one of those cases that would be better done using a list rather than global variables. Instead of assigning the variables in the global workspace, create a list and assign them there. Then

Re: [R] reading data from Excel Spread sheet

2009-01-16 Thread Thomas Schwander
Hi, http://tolstoy.newcastle.edu.au/R/e2/help/06/12/6702.html Cheers, Thomas venkata kirankumar schrieb: Hi all, I tried to read data from Excel spread sheet with using read.csv(file.choose()) and read.delim(file.choose()) but its showing *ÐÏ.à.*. and also i tried with

[R] Adressing list-elements

2009-01-14 Thread Thomas Schwander
Dear all, I'm using R 2.8.1 under Vista. I programmed a Simulation with the code enclosed at the end of the eMail. After the simulation I want to analyse the columns of the single simulation-runs, i.e. e.g. Simulation[[1]][,1] sth. like that but I cannot address these columns... Can anybody

[R] mixed csv and csv2

2008-12-15 Thread Thomas Schwander
Dear all, I have a huge problem after downloading and exporting data from Reuters3000 XTra: I downloaded many many monthly, quarterly and yearly data. I do not know why, but after saving, I have mixed-data sets, i.e. files which can be imported as “read.csv” and others that are in the

[R] jpeg and margin text

2008-03-01 Thread Thomas Schwander
Hi guys, 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. When I use the “jpeg”-function, only a little part of the margin text is displayed in the final jpeg? Any ideas to change it? Source-Code:

[R] Forcing virtual digits

2007-12-28 Thread Thomas Schwander
Hi there, I'm using XP with R 2.6.1 I've got the following question: Is there a way to force virtual digits? I mean: In the external csv-file, I read in some numbers, e.g. 33 which is written into a variable. I want to add this variable into a plot with an additional digit: 33.0.

[R] Batch-Plot Histograms

2007-10-12 Thread Thomas Schwander
Hi everyone, anybody’s got an idea why the following script doesn’t produce batch-histograms? I’m using Windows XP and R 2.5.1. Here’s the script: matrix-read.csv(C:\\Stadtwerke_mit_Umlage.csv, header=TRUE,sep=;,dec=.) Stadtwerke-colnames(matrix) Bereich_blau-66.67