Displaying 20 results from an estimated 9000 matches similar to: "Displaying RProf output"
2004 May 13
0
Rprof ignores top-level computation (PR#6883)
Full_Name: John Garvin
Version: 1.9.0
OS: Linux
Submission from: (NULL) (128.42.129.78)
This may or may not technically be a bug, but it's certainly an annoyance.
Rprof only takes into account computation that occurs inside functions. If a
time-consuming operation occurs outside a function, it doesn't record the time
it takes. Consider this program 'array.r':
Rprof()
foo <-
2010 Sep 23
0
R CMD Rprof --help suggestion
Hi,
>From reading ?Rprof, I checked
R CMD Rprof --help
and learned that there are options to specify the min % to print. This
is currently (R-devel r52975) displayed with the --help option as
--min%total minimum % to print for 'by total'
--min%self minimum % to print for 'by self'
So I tried
R CMD Rprof --min%total 5
and got an error. After looking at
2009 Jun 12
1
Rprof loses all system() time
Rprof seems to ignore all time spent inside system() calls. E.g.,
this simple example actually takes about 10 seconds, but Rprof thinks
the total time is only 0.12 seconds:
> Rprof("sleep-system.out") ; system.time(system(command="sleep 10")) ; Rprof(NULL)
user system elapsed
0.000 0.004 10.015
> summaryRprof("sleep-system.out")$by.total
2004 Oct 19
0
Question on Rprof(); was: Re: sapply and loop
Yes. It should have something to do with read/write permissions, but it is
not clear how it happens.
I can write file to C drive using R. I usually write my results matrix to a
txt file in C drive.
For Rprof(), the boot.out file can be created, but only with one line
sample.interval=20000
The situation is the same even if I specify the directory to the D
drive,where I have the full
2007 Mar 31
1
Probem with argument "append" in "Rprof"
Hello,
Appending information to the profiler's output seems to generate
problems. Here is a small example of code :
<code r>
require(boot)
Rprof( memory.profiling = TRUE)
Rprof(NULL)
for(i in 1:2){
Rprof( memory.profiling = TRUE, append = TRUE)
example(boot)
Rprof(NULL)
}
</code>
The problem is that the file Rprof.out contains more than once the
header information:
$ grep
2002 Aug 26
1
Rprof and setMethod conflict (PR#1949)
Full_Name: Kevin C. Bartz
Version: 1.5.1
OS: Solaris 2.6
Submission from: (NULL) (192.223.226.5)
A while ago, I noticed this oddity about R profiling and setMethod.
First, I "test out" Rprof.
> require(methods)
Loading required package: methods
[1] TRUE
>
> Rprof("test.out")
> data.frame("a")
X.a.
1 a
> Rprof(NULL)
So far, so good. Next, I
2003 Mar 26
0
Rprof/UseMethod
I'm having difficulty with Rprof. I have a documentation example test.qss that
runs fine without profiling, but under Rprof,
> Rprof()
> source("test.qss")
Error in standardGeneric("model.matrix") :
UseMethod used in an inappropriate fashion
Luke wrote about a similar circumstance last summer:
# From: Luke Tierney (luke@stat.umn.edu)
# Date: Fri Jul
2005 Feb 16
0
Profiling R code and C code (Rprof and gprof)
Hi,
I have searched R mail list archive and couldn't find my answers. The R
extension describes how to make use of Rprof to profile R code.
gprof can be also used for the same purpose for the
C codes when the C codes are written independently and provided with a
main() function.
I'm currently writing R codes meshed with C Codes, and use .Call as the
interface between the two parts.
2001 Oct 23
2
Possible bug, Rprof() and scan(pipe()) (PR#1140)
This looks like a bug?
Unable to use scan(pipe()) while profiling.
I have no idea whether this version of R violates the
"do not use `Rprof' in an executable built for profiling"
warning in ?Rprof.
Thanks
-Don
> version
_
platform powerpc-apple-darwin1.4
arch powerpc
os darwin1.4
system powerpc, darwin1.4
status Patched
major 1
minor 3.1
year
2012 Dec 11
1
Rprof causing R to crash
I'm trying to use Rprof() to identify bottlenecks and speed up a particullary
slow section of code which reads in a portion of a tif file and compares
each of the values to values of predictors used for model fitting. I've
written up an example that anyone can run. Generally temp would be a
section of a tif read into a data.frame and used later for other processing.
The first portion
2002 Jul 19
1
Rprof and setMethod conflict?
I noticed this oddity about R profiling and setMethod.
First, I "test out" Rprof.
> require(methods)
Loading required package: methods
[1] TRUE
>
> Rprof("test.out")
> data.frame("a")
X.a.
1 a
> Rprof(NULL)
So far, so good. Next, I define myClass.
> setClass("myClass", representation(mySlot = "numeric"))
[1]
2002 Jun 11
2
Puzzled by what Rprof is telling me
I am using Rprof() to help find ways to improve performance.
I found a function whose total seconds and self seconds were large. I
replaced it with something else. The something else had a small
number of total seconds and self seconds. But the total time did not
decrease.
I don't understand how that could be, and would appreciate any suggestions.
Thanks
-Don
Details, unfortunately
2005 Jan 20
0
Interpreting Rprof output
Hello!
I have run Rprof on a function of mine and the results look very strange,
to say the least. At the end I of this email is an output of summaryRprof. Can someone help me interpret this output? I have read the appropriate section in the manual "Writing R Extensions" and help pages.
If I understand this output correctly, it is saying that "unlist" has been active in
2003 Jul 15
1
Rprof
I find it difficult to find Rprof using the usual search tools...
could I suggest that it be cross-referenced to profile Rprofile
Profile to make this easier?
url: www.econ.uiuc.edu/~roger/my.html Roger Koenker
email rkoenker@uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Champaign, IL 61820
2012 Jan 26
0
Conflicts between 'parallel' and 'Rprof', and between two parallel R sessions
Dear list,
I observed two problems that I suppose are generic.
First, using 'Rprof' to profile a parallel (based on the package
'parallel') code caused
.... Error in unserialize(node$con) : error reading from connection....
Second, on a multicore desktop, I concurrently opened two terminals
and ran two separate R sessions, both running (actually
identical) parallel code (which
2005 Jul 21
3
Rprof fails in combination with RMySQL
Dear R community,
I tried to optimized my R code by using Rprof. In my R code I'm using MySQL
database connections intensively. After a bunch of queries R fails with the
following error message:
Error in .Call("RS_MySQL_newConnection", drvId, con.params, groups, PACKAGE = .MySQLPkgName) :
RS-DBI driver: (could not connect mylogin@mydatabase on dbname "myDB"
2006 May 18
2
How to debug the rendering in Rails?
Hi,
I have some controller code like this:
def mailing_lists
@ml = MailingList.find_by_identifier(@params[:id])
@messages = @ml.messages
@headers["Content-Type"] = "application/atom+xml"
@response.headers[''Last-Modified''] =
@messages.last.created_on.httpdateunless @
messages.empty?
minTime =
2006 May 18
0
SOLVED: Re: How to debug the rendering in Rails?
It seems to be working now.
I used "puts" debug statement that were rendered to the webrick console in
the dev environment, but that made fastcgi trip ...
Cheers,
Mariano
On 5/18/06, Mariano Kamp <mariano.kamp@gmail.com> wrote:
>
> Hi,
>
> I have some controller code like this:
>
> def mailing_lists
> @ml =
2007 Oct 22
2
Help interpreting output of Rprof
Hello there,
I am not quite sure how to interpret the output of Rprof (in the following the output I was staring at). I was poking around the web a little bit for documentation but without much success. I guess if I want to figure out what takes so long in my code the 2nd table $by.total and the total.pct column (pct = percent) is the most helpful. What does it mean that [ or [.data.frame is
2014 Jun 04
2
error de incompatible methods
Hola Daniel, si perdona di a responder directamente y no me di cuenta.
Ya se donde esta el error, pero queria preguntar si a puede ser que mi R
funcione mal o algo porque esta manhana ejecute mi script y funciono
perfectamente y ahora volvi a ejecutarlo y me volvio a dar el mismo
problema de ayer , despues de reiniciar y demas el tinnR y el R, no se si
me vacila o es que tengo algo mal en