Displaying 20 results from an estimated 4000 matches similar to: "R crashes with debug()"
2008 Feb 13
0
RFC for package PopCon: a popularity contest for R and packages
Hello all,
I've developed a prototype package called PopCon (short for popularity
contest), a package for tracking the popularity of R and its packages.
I'd like this work to be similar in spirit to the Debian package
popularity-contest: http://popcon.debian.org/.
Once Popcon is loaded, it captures two kinds of information from the
user and stores it into a cache: the names of the
2008 Feb 14
0
RFC for package PopCon: a popularity contest for R and packages
(I posted this to the R-devel list yesterday, but I thought others on
this list would be interested, so sorry for those who get it twice.)
Hello all,
I've developed a prototype package called PopCon (short for popularity
contest), a package for tracking the popularity of R and its packages.
I'd like this work to be similar in spirit to the Debian package
popularity-contest:
2007 Jan 18
0
Emulating a REPL in frontends
A common need in R frontends is to provide some sort of read, (parse),
evaluate, print loop. However, there are also a number of points where
frontends may want to differ from the standard REPL as available e.g. in
R_ReplDLLdo1().
First some thoughts on what is needed, and what is already there, or missing.
If you want to skip over this, a short summary is provided in the second
half, below
2013 May 25
0
segfault when using browser() in Rprofile.site
Hi.
It seems that if I put a browser() in my Rprofile.site, I get a
segfault. This happens on several machines, several versions of R.
Here it the valgrind output when using revision 62797:
==31314== Memcheck, a memory error detector
==31314== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==31314== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==31314==
2009 Jan 12
0
Problems with RMySQL and MySQL server version 5.1
For those R user's who don't subscribe to R-sig-db and are having
troubles with the latest RMySQL binary on CRAN, please read the email
thread at the end of this message.
RMySQL 0.7-2 does work with MySQL 5.1, however the CRAN binary is linked
against the 5.0 version.
Best,
Jeff
-------- Original Message --------
Subject: Re: [R-sig-DB] Problems with RMySQL and MySQL server version
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
Dear R-developers,
even though I may not be the first one to encounter the problem
described below, I would really appreciate some help or a link to a
forum where this topic is being discussed. Probably I am simply
misinformed on the usage of structRstart but see for youselve.
I did check multiple forums and the whole internet on the topic without
success.
I am using the shared library version
2010 Jul 02
2
Best way to determine if you're running 32 or 64 bit R on windows
Hi,
Is this sufficient?
if (.Machine$sizeof.pointer==4){
cat('32\n')
} else {
cat('64\n')
}
Or is it better to test something in R.version, say os?
I'd like to use this to specify appropriate linker arguments when
building the RMySQL windows package.
Jeff
--
http://biostat.mc.vanderbilt.edu/JeffreyHorner
2006 Sep 29
1
Possible bug in Rcons_vprintf
In R-2-4-branch r39548, Rcons_vprintf is called from stdout_vfprintf
when R_Outputfile is NULL. When called and output is greater than
R_BUFSIZE, output is truncated to R_BUFSIZE. Here's a one-line fix:
Index: src/main/printutils.c
===================================================================
--- src/main/printutils.c (revision 39548)
+++ src/main/printutils.c (working
2005 Jan 21
2
Struggling with S3/S4 interface issues and External Pointers
I'm currently working on embedding R into the Apache2 webserver (with
some positive results...), but I'm struggling to identify the best way
to expose the apache data and functions to R.
A couple of thoughts:
In light of the recent discussion on "S3/S4 classes performance
comparson", I'm leaning toward implementing the interface with S3 style
classes. I appreciate
2008 Jul 24
3
Should this PDF render correctly without font embedding?
A professor here at Vanderbilt sent me the following code. Each of the
text strings should right justify against the center vertical bar, but
because of font issues it doesn't. I understand that there are
workarounds, but I was just curious if this was consistent across all
platforms. On linux with R 2.7.1 and R-trunk (r46103), both acrobat
reader 8 and kpdf render it incorrectly. How
2008 Sep 04
1
Possible R graphics devices
Hello all,
I've been working on a new R Graphics device that targets Adobe's
Shockwave Flash format (SWF for short). It uses http://www.libming.org/
on the backend. Here are some example outputs so far:
http://160.129.129.41/~hornerj/plots/
Once you click on the above, choose a directory like 'smooth' and then
click on test.html to see a side-by-side comparison of the swf
2007 Mar 24
2
Subtle bug in do_basename
Hello,
I've been wondering why my no-optimization R-devel builds have been
hanging during "building/updating package indices ...". I tracked it
down with gdb to this line from do_basename in utils.c:
while ( *(p = buf + strlen(buf) - 1) == fsp ) *p = '\0';
Now, imagine if your compiler places the variable fsp immediately before
buf on the stack, and strlen(buf) is 0.
2007 Feb 21
1
Adding difftime objects to POSIXt objects
Hello,
?DateTimeClasses states that "one can add or subtract a number of
seconds or a 'difftime' object from a date-time object, but not add two
date-time objects."
So, is the below expected behavior?
> x <- Sys.time()
> x
[1] "2007-02-21 16:19:56 CST"
> x + as.difftime("1","%H")
[1] "2007-02-21 16:19:57 CST"
Warning
2011 Apr 12
2
parse_Rd raises error when example section contains a quoted percent character
I was writing Rd documentation for a new package when I came across
this issue. Here's the smallest example:
> library(tools)
> cat("\\examples{x <- '<%=rnorm(1)%>'}\n",file=file.path(tempdir(),'test.Rd'))
> readLines(file.path(tempdir(),'test.Rd'))
[1] "\\examples{x <- '<%=rnorm(1)%>'}"
>
2006 Nov 03
1
R CMD BATCH: unable to start device PNG
And on that note, here is a function that I use to get around it:
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Jeffrey Horner
Sent: Friday, November 03, 2006 10:01 AM
To: ryszard.czerminski at novartis.com
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] R CMD BATCH: unable to start device PNG
ryszard.czerminski
2006 Aug 31
1
Overriding InitTempDir
For embedded projects, one may want to eliminate the per-session temp
directory created by InitTempDir() and just use a system-specific temp
directory. Here's my solution:
extern char *R_TempDir;
void my_InitTempDir()
{
char *tmp;
if (R_TempDir){
if (rmdir(R_TempDir) != 0){
perror("Fatal Error: could not remove R's TempDir!");
2007 Jul 07
1
R graphics device for flash apps
Byron,
I just read your blog (statcomp.blogspot.com, linked from your other
post) and rand across your idea of an R/Flash graphics device. I've also
been giving this some thought because of this amazing interactive flash app:
http://tools.google.com/gapminder
and others from http://www.gapminder.org/.
I would love more than anything to work on this. The only hitch is that
I'm so
2007 Aug 22
1
Sweave(), pdf(), and fonts
Hi all,
We have a user that would like to create pdf plots using the Arial font.
One way for her to do this is to use the Cairo graphics device which
produces pdf's beautifully and embeds fonts automatically. She could
also install the msttcorefonts package from ubuntu to obtain the Arial font.
The problem is that she is using Sweave() to produce a document that
contains the pdf plots,
2006 Sep 15
1
Ice cream flavor metaphor in statistical computing
Forgive me, but since it's Friday and I've been thinking about command
line options lately, I thought I'd find out who came up with the name of
the --vanilla argument for R. From the svn log:
------------------------------------------------------------------------
r2509 | maechler | 1998-10-10 10:52:53 -0500 (Sat, 10 Oct 1998) | 2 lines
Changed paths:
M /trunk/src/unix/system.c
2007 Apr 16
1
Documentation update to R-lang.texi
Section 4.3.4 of R-lang.texi version 41191 in the paragraph that starts
"When h(3) is..." explains that x and y are unbound variables in the
function body of g in this example:
f <- function(x) {
y <- 10
g <- function(x) x + y
return(g)
}
h <- f()
h(3)
while the paragraph following the example explains that "bound