Re: [Rd] Trying to make DEBUG=T a debug version of R

2013-04-11 Thread Prof Brian Ripley
On 11/04/2013 13:01, Duncan Murdoch wrote: On 13-04-10 8:02 PM, Andre Mikulec wrote: Hi, I am trying to make a debug version of R ( for use with gdb later ) on windows. I am executing the following. src\gnuwin32>make clean src\gnuwin32>make DEBUG=T In the output, I see many -O3 flags I do

Re: [Rd] Trying to make DEBUG=T a debug version of R

2013-04-11 Thread Duncan Murdoch
On 13-04-10 8:02 PM, Andre Mikulec wrote: Hi, I am trying to make a debug version of R ( for use with gdb later ) on windows. I am executing the following. src\gnuwin32>make clean src\gnuwin32>make DEBUG=T In the output, I see many -O3 flags I do not see any -g -O0 flags which ( I belie

[Rd] parallel::mclapply does not return try-error objects with mc.preschedule=TRUE

2013-04-11 Thread Karl Forner
Hello, Consider this: 1) library(parallel) res <- mclapply(1:2, stop) #Warning message: #In mclapply(1:2, stop) : # all scheduled cores encountered errors in user code is(res[[1]], 'try-error') #[1] FALSE 2) library(parallel) res <- mclapply(1:2, stop, mc.preschedule=FALSE) #Warning message: #

Re: [Rd] windows compile R from source, where do I put the Tcl directory?

2013-04-11 Thread Prof Brian Ripley
On 11/04/2013 00:27, Andre Mikulec wrote: Hi, I am trying to compile R from source on Windows. I am following the instructions here 3.1 Building from source 3 Installing R under Windows file:///F:/ProgramFiles/R/R-2.15.3/doc/manual/R-admin.html It only says, " The Tcl/Tk support files are con

Re: [Rd] [R] Question on Stopword Removal from a Cyrillic (Bulgarian)Text

2013-04-11 Thread Ventseslav Kozarev
I just wanted to confirm that Milan's suggestion about adding (*UCP) like in the example below: gsub(sprintf("(*UCP)\\b(%s)\\b", "който"), "", "който", perl=TRUE) solved all problems (under openSuse Linux 12.3 64-bit, R 2.15.2). I reencoded input files and stop word list in UTF-8, and now stop

[Rd] windows compile R from source, where do I put the Tcl directory?

2013-04-11 Thread Andre Mikulec
Hi, I am trying to compile R from source on Windows. I am following the instructions here 3.1 Building from source 3 Installing R under Windows file:///F:/ProgramFiles/R/R-2.15.3/doc/manual/R-admin.html It only says,  " The Tcl/Tk support files are contained in Rtools30.exe and  available as .z

[Rd] Trying to make DEBUG=T a debug version of R

2013-04-11 Thread Andre Mikulec
Hi, I am trying to make a debug version of R ( for use with gdb later ) on windows. I am executing the following. src\gnuwin32>make clean src\gnuwin32>make DEBUG=T  In the output, I see many -O3 flags I do not see any  -g -O0 flags  which ( I believe/I think ) that is what I need to debug R

Re: [Rd] savePlot() under Windows

2013-04-11 Thread Uwe Ligges
On 11.04.2013 11:31, wayne.w.jo...@shell.com wrote: I've just downloaded and installed the latest version from here: http://cran.r-project.org/bin/windows/base/ and can confirm that savePlot is still broken under windows. plot(1:10) savePlot() Error in .External(C_savePlot, device, filenam

Re: [Rd] savePlot() under Windows

2013-04-11 Thread Wayne.W.Jones
I've just downloaded and installed the latest version from here: http://cran.r-project.org/bin/windows/base/ and can confirm that savePlot is still broken under windows. > plot(1:10) > savePlot() Error in .External(C_savePlot, device, filename, type, restoreConsole) : Incorrect number of arg

Re: [Rd] savePlot() under Windows

2013-04-11 Thread Uwe Ligges
On 10.04.2013 21:13, Kanell17 wrote: I am having the same problem and I don't know how to fix it. Has savePlot been fixed? Is there something else I'm supposed to be doing? What are you referring to? Please quote! To see if something was fixed, see the svn log or just try it out. >The log

Re: [Rd] question re: error message --- package error: "functionName" not resolved from current namespace

2013-04-11 Thread brian avants
hi martin that is extremely clarifying - and perfectly fixed our problems! i did read that comment in the release notes but failed to appreciate its significance - it does make sense to do it this way for both the performance improvements & safety issues mentioned in ?.Call. especially in a pac