If you are just exporting it so you can read it back into R later, it
is better to use save/load since it keep the data in the internal
format so it will look the same.
Can you describe what you are going to be doing with the data that you
'export'; that might help us come up with a solution to yo
On Jul 31, 2011, at 7:54 PM, Rosario Garcia Gil wrote:
Hello
I have a problem on keeping the format when I export a matrix file
with the write.table() function.
The quick answer is ... don't do that. Use save() if you want to
preserve the attributes of an R object. And that especially
Rosario Garcia Gil-2 wrote:
>
> I have a problem on keeping the format when I export a matrix file with
> the write.table() function.
>
> When I import the data volcano from rgl package it looks like this in R:
>
>> data[1:5,]
> [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12
Hello
I have a problem on keeping the format when I export a matrix file with the
write.table() function.
When I import the data volcano from rgl package it looks like this in R:
> data[1:5,]
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
[1,] 100 100 101 1
4 matches
Mail list logo