Re: [Rd] Debug an R windows (Fortran) DLL within R with gdb?

2014-09-17 Thread Andre Mikulec
Help, My Rgui.exe, main.f, main.o, and main.dll are all in the same directory. When I try to set a breakpoint, I get this response (gdb) b main.f:3                No source file named main.f I tried the -gdwarf-2 requirement in both the compiling and linking statements.  This did not fix the pr

Re: [Rd] Can't Find Function After requireNamespace

2014-09-17 Thread Simon Urbanek
BTW: you probably also want to use requireNamespace(..., quietly=TRUE) otherwise if sort of defeats the purpose ... On Sep 17, 2014, at 10:46 PM, Simon Urbanek wrote: > > On Sep 17, 2014, at 10:00 PM, Dario Strbenac > wrote: > >> I have a simple function : >> >> f <- function() >> { >> if(

Re: [Rd] Can't Find Function After requireNamespace

2014-09-17 Thread Simon Urbanek
On Sep 17, 2014, at 10:00 PM, Dario Strbenac wrote: > I have a simple function : > > f <- function() > { > if(requireNamespace("ggplot2")) >qplot(Sepal.Length, Petal.Length, data = iris, color = Species) > else >message("No graphics, just text.") > } > > ggplot2 is in the Suggests fi

[Rd] Can't Find Function After requireNamespace

2014-09-17 Thread Dario Strbenac
I have a simple function : f <- function() { if(requireNamespace("ggplot2")) qplot(Sepal.Length, Petal.Length, data = iris, color = Species) else message("No graphics, just text.") } ggplot2 is in the Suggests field of the DESCRIPTION file. When I load the package, and run the functi

[Rd] Regression and inconsistency of width of apostrophes in R vignettes

2014-09-17 Thread Hin-Tak Leung
My main dev machine died a well-deserved death a few weeks ago after six and a half years of faithful service, and refused to be re-animated. A substantial part of setting up its replacement is re-running a lot of R vignettes (mostly for timing to establish new performance baselines) - and also cl

[Rd] cleanup temporary directory

2014-09-17 Thread Sandip Nandi
Hi , When a R session runs , it creates a temporary directory . I am using R_CleanTempDir() to clean it up . It looks like its not working properly . So what exactly is going on here is , my example is main() start__R__Interpreter while(1) { execute R scripts using R_parseVector

Re: [Rd] issue with compiling r6

2014-09-17 Thread Ben Bolker
Thanks for the information. It's the old story -- it's only once you finally convince yourself that the problems are always on your end and never bugs in the other guy's (development) code that you actually encounter bugs in the other guy's code. Ben Bolker On 14-09-17 11:32 AM, peter dalgaa

Re: [Rd] issue with compiling r6

2014-09-17 Thread peter dalgaard
On 17 Sep 2014, at 17:04 , Ben Bolker wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I am painfully aware that this is most likely a problem with my > system, but I am nevertheless going to ask if anyone has any > ideas/suggestions for diagnosis and trouble-shooting. > Others h

[Rd] issue with compiling r6

2014-09-17 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am painfully aware that this is most likely a problem with my system, but I am nevertheless going to ask if anyone has any ideas/suggestions for diagnosis and trouble-shooting. - From a clean checkout of release 66624 on Ubuntu 12.04 (32-bit, sorr

[Rd] trivial typo in R-exts.texi

2014-09-17 Thread Ben Bolker
>From latest SVN release (66624). (I think I may have reported this before?) 430-@c DESCRIPTION field Maintainer 431-The mandatory @samp{Maintainer} field should give a @emph{single} name 432:followed a @emph{valid} (RFC 2822) email address in angle brackets. It 433-should not end in a period o