Displaying 3 results from an estimated 3 matches for "flodel".
2012 Jan 22
4
how to save the R script itself into a rData file?
Hi all,
As a part of work flow, I do a lot of experiments and save all my results
into rData file...
i.e. at the end of all my experiments, I do
"save.image("experiment_name_with_series_number.rData")"...
However, some times even with the rData files, I cannot remember the
context where these data files were generated.
Of course, I can make the R data file names and the R
2012 Mar 04
1
hash table clean-up
Hello,
I have noticed that the memory usage inside an R session increases as
more and more objects with unique names are created, even after they
are removed. Here is a small reproducible example:
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 531720 14.2 899071 24.1 818163 21.9
Vcells 247949 1.9 786432 6.0 641735 4.9
>
> for (i in 1:100000) {
+ name <-
2013 Apr 05
2
line profiling
Hello,
This is about the new "line profiling" feature in R 3.0.0. As I was
testing it, I find the results somewhat disappointing so I'd like to
get your opinion.
I put some poorly written code in a test.R file, here are the contents:
double <- function(x) {
out <- c()
for (i in x) {
out <- c(out, 2*i) # line 4
}
return(out)
}
Then this how I source the file