Hello,
There's a difference between the displayed value and the internally stored.
You could use options(digits=10), but this is a global option, and will
affect all future numerical output. default value is 7
> p <- "1087.003489"
> as.numeric(p, digits=6)
[1] 1087.003
> options(digits=10) # set
for (var_name in names(z)) {
# assuming the prep function writes the content of z$var_name to the file
var_name.csv
prep(z, var_name)
}
On Wed, Jul 1, 2015 at 10:18 PM Lida Zeighami wrote:
> I have 682 variables in a data frame , and a function that I should feed
> 682 variables in this funct
2 matches
Mail list logo