search for: debuggingr

Displaying 16 results from an estimated 16 matches for "debuggingr".

Did you mean: debugging
2010 Jan 07
2
Debugging issues encountered during the "R CMD check" process
I read through the "Writing R Extensions" and the "Debugging in R" website (http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/), looking for some hints about how to solve the issue of debugging problems encountered during the "R CMD check" process, but nothing seems to be mentioned about addressing issues encountered. Specifically, I am working with the R signal package which is hosted at the following locatio...
2004 Oct 26
2
need help debugging on Windows
Dear R-devel, Apologies for bothering y'all with this seemingly perennial question. A user reported problem with my most recent version of randomForest (4.4-1), and I was able to reproduce it with his data with R-2.0.0 patched (2004-10-24) on WinXP Pro. The problem is that it crashes R on Windows. However, it does not happen on Linux (tried SUSE ES8 on our Opterons and Quantian on my
2008 Jul 30
2
Eclipse/Statet: How to set breakpoints
Hi, I'm using the IDE Eclipse with the Statet-Plugin to develop R-code. Is there a possibility to set breakpoints for debugging in R-script files (just like in Java-code)? Cheers, Eli
2010 Jul 30
2
finding a function or a line while debugging?
guRus Is there a way by which I can search for a particular function or a particular line of code within the maze of all the R codes that are interlinked? Say for instance I am running a code using quantstrat package and on a particular line I get the error saying x is missing in is.array(x). I want to figure out where is.array is in all the codes that my code refers to? How do I do this? Is
2007 Apr 23
2
How to debug C code running in R
Hi, I am in the situation where I could get my code run correctly under GNU C, but it produced different (strange) results while running in R . ( I use .C to call the function). May I get some general advice on how could I do step by step debug of source code in R ? Thanks
2007 Feb 01
2
Calling C code from R
Hi! Thanks in advance. I am using R-2.4.0 on Windows XP. I am trying to create dll file. My C code: /* useC1.c */ void useC(int *i) { i[6] = 100; } I have tried to create useC1.dll. C:\R-2.4.0\bin>R CMD SHLIB useC1.c 'perl' is not recognized as an internal or external command, operable program or batch file. Then I have tried:
2009 Feb 16
1
Newbie - how do I debug a crash of RGUI.EXE
Hi- I'm running Vista64 Business and trying to use a package called RGraphViz. Unfortunately, when I try to plot a graph using this package it causes RGUI.EXE to crash. This package has no problem working in WinXP 32-bit. Is there any way to get useful information as to why it crashes? Here's my commands: > library(Rgraphviz) Loading required package: graph Loading required
2005 Oct 08
1
windows/g95 peculiarity
I'm not looking for an answer here, this is just a report of a peculiar event I've observed and can reproduce. I'm developing a g95 (20050129) compiled package on windows xp pro using R-2.1.1, and gcc-3.4.2 (mingw special). An older version of the F95 package compiled and ran without problems. The new version of the package includes extensive changes in the code. The package has a
2010 Aug 20
2
output values from within a function
Is it possible to get R to output the value of an expression, that is being calculated within a function? I've attached a very simple example but for more complicated ones would like to be able to debug by seeing what the value of specific expressions are each time it cycles through a loop that executes the expression. I'm relatively new to this so there may be much simpler more elegant
2005 Sep 09
2
Debugging R/Fortran in Windows
Hi, I'm trying to debug an R interface to a Fortran subroutine from Windows. (Yes, I know I should try Unix/Linux as well, but a quick attempt suggested that the (MinGW g77) Fortran compiler I have installed on my Windows laptop works better on this Fortran code.) I'm trying to follow the instructions in the "Writing R Extensions" Manual: Start R under the debugger after
2005 Sep 09
2
Debugging R/Fortran in Windows
Hi, I'm trying to debug an R interface to a Fortran subroutine from Windows. (Yes, I know I should try Unix/Linux as well, but a quick attempt suggested that the (MinGW g77) Fortran compiler I have installed on my Windows laptop works better on this Fortran code.) I'm trying to follow the instructions in the "Writing R Extensions" Manual: Start R under the debugger after
2006 Apr 17
4
R debugging options
Hello, What options are available for me to debug my R scripts? For example I normally do something like >source("myfunctions.R") >function1("height", "weight") myfunctions.R is a large R source file that contains many functions. function1 is the "main" function in myfunctions.R. It calls many other user-written functions that are also in
2007 Feb 04
1
Fwd: Re: Calling C code from R
Hi! Thanks in advance. Thanks to all of you who have responded to me on above. This is one of the responses I received on above. I have installed perl (with path C:\Perl\bin\;) an MinGW (with path C:\MinGW\bin; C:\MinGW;). At the Command Prompt (C:\R-2.4.0\bin) I have typed: C:\R-2.4.0\bin>Rcmd SHLIB useC1.c (No error and useC1.dll file has not been created)
2004 Jul 16
3
Strange (non-deterministic) problem with strsplit
I'm having an odd problem with strsplit (well I think it's strplit that's causing the problem). When I run the code below as follows: str(parseFormulaMin(y +x +d ~ b +d +e| a * b)) I expect to get List of 3 $ y: chr "y+x+d" $ x: chr "b+d+e" $ g: chr "a*b" But about half the time I get List of 3 $ y: chr "y+x+d" $ x: chr
2004 Jul 16
3
Strange (non-deterministic) problem with strsplit
I'm having an odd problem with strsplit (well I think it's strplit that's causing the problem). When I run the code below as follows: str(parseFormulaMin(y +x +d ~ b +d +e| a * b)) I expect to get List of 3 $ y: chr "y+x+d" $ x: chr "b+d+e" $ g: chr "a*b" But about half the time I get List of 3 $ y: chr "y+x+d" $ x: chr
2006 Mar 08
6
Debugging a program written in the R language
>From Tom: The subject is debugging a program written in the R language,under Windows. (Sorry, but I do not know either the Apple OS or *nix.) A computer program will usually not work on the first try, if only because of the risk of typos. Instead, it must be debugged. Roughly, here is the sequence: (1) One codes a program using the R language, and stores it on the hard drive, using