export_R2X_Files {HFWutils} | R Documentation |
export all variables held in G$.R2X into csv files
export_R2X_Files(G, pfad = "data/R2X/")
G |
G is an object as produced and supported by the package R.oo |
pfad |
can be any folder name |
G is an object as produced and supported by the package R.oo. This is chosen for efficiency as G is passed by reference.
~Describe the value returned If it is a LIST, use
comp1 |
Description of 'comp1' |
comp2 |
Description of 'comp2' |
...
....
~~further notes~~
~Make other sections like Warning with section{Warning }{....} ~
Felix Wittmann hfwittmann@gmail.com
~put references to the literature/web site here ~
~~objects to See Also as import_X2R_Files
, ~~~
G <- ByRef(Name="byreference") x<- 1:10 y <- matrix(LETTERS[1:25],nrow=5,ncol=5) G$.R2X <- list(x=x,y=y) inst() export_R2X_Files(G) # now the variables x and y are saved in correspoding csv files in the folder /data/R2X H <- ByRef(Name="byreference") import_X2R_Files(H,'data/R2X/') # now the variables x and y are loaded from correspoding csv files in the folder /data/R2X into H$.X2R #> H\$.X2R$x # x #1 1 #2 2 #3 3 #4 4 #5 5 #6 6 #7 7 #8 8 #9 9 #10 10# #> H$.X2R$y # V1 V2 V3 V4 V5 #1 A F K P U #2 B G L Q V #3 C H M R W #4 D I N S X #5 E J O T Y