Hello,

Have you tried ?write.table?
write.csv is a wrapper for write.table with the appropriate settings such as sep = ",", etc.
From the help page for write.csv:

"These wrappers are deliberately inflexible: they are designed to ensure that the correct conventions are used to write a valid file. Attempts to change append, col.names, sep, dec or qmethod are ignored, with a warning. "

So you must use write.table, with a call for file A, with col.names set to TRUE, then subsequent calls with col.names = FALSE.

Read the help page carefully, and try the different options.

Hope this helps,

Rui Barradas


Quoting mihai.mira...@bafin.de:

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 amount of data) for each of the company and calculating the quantiles, for example. I write the data for company A (say write.csv(quantiles, “Quantiles.csv”).

Now I want to write the quantile results for company B into the same file, adding thus to the data for company A. I have tried to use write.csv(quantilesB, “Quantiles.csv”, append=TRUE) but I receive the error “Versuch ignoriert 'append' zu setzen” – it seems to ignore the append. It is not so important to me if that is a csv data or an RData format, as long as I can run the program for company A, put the results for A in file “Quantiles”, than run the program for B, add the results for B in the file and so on for company C, D etc.

Thank you for your help,

Mihai


Für die rechtswirksame Übermittlung elektronischer Dokumente im Sinne des § 3a VwVfG eröffnet die BaFin den Zugang ausschließlich über folgende Kommunikationsadressen:

• Für die Übermittlung qualifiziert elektronisch signierter Dokumente per E-Mail: qes-posteing...@bafin.de
• Für die Übermittlung per De-Mail: postste...@bafin.de-mail.de

Andere E-Mail-Adressen der BaFin stehen lediglich für die allgemeine Kommunikation, jedoch ausdrücklich nicht für eine rechtsverbindliche, die gesetzliche Schriftform ersetzende Kommunikation zur Verfügung.

Eingehende elektronische Dokumente müssen längere Zeit archiviert werden (Langzeitaufbewahrung). Deshalb bittet die BaFin darum, bei der rechtsverbindlichen, die gesetzliche Schriftform ersetzenden Kommunikation über die E-Mail-Adresse qes-posteing...@bafin.de ausschließlich qualifiziert elektronisch signierte PDF-Dokumente der Spezifikation PDF/A mit eingebetteter Signatur zu übersenden.

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der richtige Adressat sein oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. Der Inhalt dieser E-Mail kann nicht zu einer irgendwie gearteten Verpflichtung zu Lasten der BaFin ausgelegt werden.

This e-mail may contain confidential and/or privileged...{{dropped:22}}

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to