Re: [R] Save a generated .txt (or .csv) file on the desktop

2017-02-01 Thread varin sacha via R-help
Mark, Many thanks for your response. Best, S De : Mark Sharp Cc : R-help Mailing List Envoyé le : Lundi 30 janvier 2017 23h04 Objet : Re: [R] Save a generated .txt (or .csv) file on the desktop You can define the "file" argument in your call to

Re: [R] Save a generated .txt (or .csv) file on the desktop

2017-01-30 Thread Mark Sharp
You can define the "file" argument in your call to write.csv() ## This will write out a file named "test_file.csv" to your working directory write.csv(tableau,file = "test_file.csv", row.names=FALSE) R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Jan 30, 2017, at 2:26 PM, varin sacha wrote:

[R] Save a generated .txt (or .csv) file on the desktop

2017-01-30 Thread varin sacha
Dear R-Experts, I have generated a data.frame. Now I would like to get it (the generated data.frame) saved on my desktop (desktop of my computer) in a .csv or .txt file. How can I proceed ? Many thanks. Here is the reproducible example : # Génération aléatoire des colonnes Individu<-1:50 Ge