Displaying 20 results from an estimated 1000 matches similar to: "how can I evaluate a formula passed as a string?"
2010 Dec 20
1
ideas, modeling highly discrete time-series data
Hello all,
First of all, thanks so those of you who helped me a week or so ago
managing a time series with varying gaps between the data series in 'R'.
(My final preferred solution was to use "its" function & then
forecast(Arima( ) ). )
My next question is a general statistical question where I'd like some
advice, for those willing / able to proffer any wisdom:
2010 Jun 30
2
anyone know why package "RandomForest" na.roughfix is so slow??
Hi all,
I am using the package "random forest" for random forest predictions. I
like the package. However, I have fairly large data sets, and it can often
take *hours* just to go through the "na.roughfix" call, which simply goes
through and cleans up any NA values to either the median (numerical data) or
the most frequent occurrence (factors).
I am going to start
2010 Jul 13
1
question regarding "varImpPlot" results vs. model$importance data on package "RandomForest"
Hi everyone,
I have another "Random Forest" package question:
- my (presumably incorrect) understanding of the varImpPlot is that it
should plot the "% increase in MSE" and "IncNodePurity" exactly as can be
found from the "importance" section of the model results.
- However, the plot does not, in fact, match the "importance"
2010 Dec 03
2
How to get 'R' to talk BACK to other languages / scripts??
Hey everyone,
I know that I can call 'R' from other scripts, and that I can make
command calls from 'R' (e.g., using system() ). But how can I get 'R' to
RETURN values to the script that called it. E.g., I would like to be able
to do something like the following (as a simpler example) from a bash
script:
#!/bin/bash
myTest=echo /usr/local/bin/R --no-restore
2010 Dec 17
2
how to convert "sloppy data" into a time series?
Hi All,
First let me state that I did search for a while on r-help, google, and
using the "sos" package inside of 'R', without much luck. I want to know
how to create a univariate time series from a set of data that will have
huge time gaps in it. For instance, here is a snapshot of a piece of data
that I would like to analyze:
*Row queued_time
2010 Aug 24
3
odd behavior of "summary" function
Hello All,
Using the standard "summary" function in 'R', I ran across some odd
behavior that I cannot understand. Easy to reproduce:
Typing:
summary(c(6,207936))
Yields::
Min. *1st Qu. Median Mean 3rd Qu. Max.*
6 *51990 104000 104000 156000 207900*
None of these values are correct except for the minimum. If I perform
"quantile(c(6,
2011 Jan 12
2
syntax for extending a line in a script??
Hello,
A hopefully simple question. I use 'R' through emacs, but I suspect the
following would occur with any manner of text editor:
- my editor has a normally quite handy feature where it will
automatically indent to the appropriate level when I start a new line.
However, this occasionally creates cases where there is no friendly way to
break a long line of code into
2011 Feb 08
4
manipulating the Date & Time classes
Hello,
This is mostly to developers, but in case I missed something in my
literature search, I am sending this to the broader audience.
- Are there any plans in the works to make "time" classes a bit more
friendly to the rest of the "R" world? I am not suggesting to allow for
fancy functions to manipulate times, per se, or to figure out how to
properly
2011 Feb 08
4
manipulating the Date & Time classes
Hello,
This is mostly to developers, but in case I missed something in my
literature search, I am sending this to the broader audience.
- Are there any plans in the works to make "time" classes a bit more
friendly to the rest of the "R" world? I am not suggesting to allow for
fancy functions to manipulate times, per se, or to figure out how to
properly
2010 Oct 01
2
trouble with RODBC -- chopping off part of column names
Hello all,
I have a strange / interesting problem that might be 'R' settings
themselves, or it might be something with the OS.
I am using the RODBC library. I have a script that goes out and, before
making a query for a big data set, will first query for the column names of
the data set. The column names could sometimes be quite long (e.g., "Time
Background Estimation
2010 Jul 29
2
ggplot2 histograms... a subtle error found
Hello all,
I have a peculiar and particular bug that I stumbled across with
ggplot2. I cannot seem to replicate it with anything other than my specific
data set.
Here is the problem:
- when I try to plot a histogram, allowing for ggplot2 to decide the
binwidths itself, I get the following error:
- stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to
2010 Jul 16
1
garbage collection & memory leaks in 'R', it seems...
Hello developers,
I noticed that if I am running 'R', type "rm(list=objects())" and
"gc()", 'R' will still be consuming (a lot) more memory than when I then
close 'R' and re-open it. In my ignorance, I'm presuming this is something
in 'R' where it doesn't really do a great job of garbage collection... at
least not nearly as well as
2024 Feb 07
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
I put the idea below into a function that gives nicer looking results.
Here's the new code:
dupnames <- function(path = ".") {
Rfiles <- pkgload:::find_code(path)
allnames <- data.frame(names=character(), filename=character(), line
= numeric())
result <- NULL
for (f in Rfiles) {
exprs <- parse(f, keep.source = TRUE)
locs <-
2011 Mar 14
3
FTP accounts
Hello,
I have setup a centos server running 5.5 and I have a problem with the FTP
settings.
Currently I have two FTP accounts based on that server, they lead to:
/home/bella
/home/carmen
Currently the FPT accounts starts in the home directory when they are logged
in. But they are able to see all directories on the server. What can I do to
make sure they cant come out of there home directory?
2011 Apr 07
1
Huib Laurens
Hello,
I just created the account HuibLaurens on Centos Wiki.
I would like to help contribute with translation to Dutch, I can also help
with monitoring the recent changes.
--
Regards,
Huib "Abigor" Laurens
Support Free Knowledge: http://wikimediafoundation.org/wiki/Donate
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Sep 09
0
[PATCH v1 1/1] extlinux: fix memory leak
devname is put on heap for all cases to avoid memory
leak, and ease of use in future as well
Signed-off-by: Imran Zaman <imran.zaman at intel.com>
---
extlinux/main.c | 50 +++++++++++++++++++++++++++++++++-----------------
1 file changed, 33 insertions(+), 17 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index bc7ded3..74f8d1f 100644
--- a/extlinux/main.c
+++
2015 Sep 09
1
[PATCH v1 1/1] extlinux: fix memory leak
devname is put on heap for all cases to avoid memory
leak, and ease of use in future as well
Signed-off-by: Imran Zaman <imran.zaman at intel.com>
---
extlinux/main.c | 48 ++++++++++++++++++++++++++++++++----------------
1 file changed, 32 insertions(+), 16 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index 55a1495..7bb7443 100644
--- a/extlinux/main.c
+++
2015 Sep 11
0
[PATCH v2 1/1] extlinux: fix memory leak
On Thu, 10 Sep 2015 10:55:04 +0300
Imran Zaman via Syslinux <syslinux at zytor.com> wrote:
> devname is put on heap for all cases to avoid memory
> leak, and ease of use in future as well
>
> Signed-off-by: Imran Zaman <imran.zaman at intel.com>
Reviewed-by: Paulo Alcantara <pcacjr at zytor.com>
Thanks,
Paulo
> ---
> extlinux/main.c | 44
2015 Sep 10
2
[PATCH v2 1/1] extlinux: fix memory leak
devname is put on heap for all cases to avoid memory
leak, and ease of use in future as well
Signed-off-by: Imran Zaman <imran.zaman at intel.com>
---
extlinux/main.c | 44 ++++++++++++++++++++++++++++++--------------
1 file changed, 30 insertions(+), 14 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index 55a1495..b7cdf92 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@
2011 Apr 06
0
smoothing bathymetry
Dear R Users,
Using the following R-script I created the first image
> require(akima)
> require(spatial)
> dep <- interp(long, lat, depth, xo=seq(1,990,10), yo=seq(1,990,10),
+ extrap=FALSE, ncp=0,duplicate = "mean", dupfun = NULL)
http://r.789695.n4.nabble.com/file/n3431391/Rpics.bmp
Where "long" are x-coordinates between 1 and 1000, "lat" are