Re: [Rd] minor problem in XML package

2018-06-06 Thread Duncan Temple Lang
d]] > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Duncan Temple Lang Director, Data Science Initiative Professor of Statistics [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-29 Thread Duncan Temple Lang
reply. > >> > >> I can't really answer that question, since I have no experience at all > >> in calling R from Java. But if you want to pass a parameter named "x" > >> with value 123 from Java to R, why not just construct and evaluate the > >> statement "x <- 123"? > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Duncan Temple Lang Director, Data Science Initiative Professor of Statistics [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] RObjectTables freezes in R 3.2.0 RC on 32bit systems

2015-04-15 Thread Duncan Temple Lang
Thanks for the report. I'll take a look at this, but it will take a week or so before I have time. Best, Duncan On 4/14/15 6:29 PM, Jeroen Ooms wrote: > We recently started noticing freezes that appear only on 32bit systems > (both linux and windows) with a relatively recent versions of R 3.2.0,

Re: [Rd] iterated lapply

2015-02-23 Thread Duncan Temple Lang
Use force() (or anything that evaluates mycondition, e.g. your print): function(mycondition) { force(mycondition) function(i) mycondition * i } within the lapply() loop. Not a bug, but does surprise people. It is lazy evaluation. D. On 2/23/15 12:57 PM, Daniel Kaschek wrote: > Hi everyb

Re: [Rd] Significant memory leak when using XML on Windows

2014-12-14 Thread Duncan Temple Lang
Janko and I have been in touch. This is, I believe, a Windows specific issue and a compilation issue. I could be wrong, but that is my impression from other reports. When I have time (?! :-)), I will deal with it. Hopefully this will be very soon. Thanks Janko. D. On 12/14/14, 7:54 PM, Jeroen

Re: [Rd] Is this an incorrect use of the R-API?

2014-10-12 Thread Duncan Temple Lang
Hi Utkarsh If the package is an experiment and exploration, great - good for you getting into this level of detail. However, if your goal is to get the dynamic prompt, a simpler mechanism that is almost equivalent is the R code invisible(addTaskCallback(function(...) {

Re: [Rd] cummax / cummin for complex numbers

2014-07-14 Thread Duncan Temple Lang
I believe Michael's point is that the error messages are incorrect - referring to cunmax when cunmin was called and vice verse. D. On 7/14/14, 8:14 AM, Ben Bolker wrote: > Michael Haupt oracle.com> writes: > >> >> Dear all, >> >> in R 3.1.0, this is happening: >> >>> cummin(c(1+1i,2-3i,4+5i))

Re: [Rd] Adding text comments to graphics device output files?

2013-07-30 Thread Duncan Temple Lang
Hi Henrik I have some extensions of Simon U's png package to read and write metadata elements for PNG. They are at https://github.com/duncantl/png.git When I have time to completely test them, maybe Simon may incorporate them. D. On 7/30/13 7:59 PM, Henrik Bengtsson wrote: > Hi, > > sev

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Duncan Temple Lang
s.character(5)) : > C symbol name "cuda4" not in load table > Execution halted > > c:\Program Files\R\R-3.0.1\bin\i386> > > I still want to keep at it. > > Thanks so much for all of your help!!! > > Erin > > ___

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Duncan Temple Lang
rray and copy it to CUDA device > for (int i=0; i cudaMemcpy(a_d, a_h, size, cudaMemcpyHostToDevice); > // Do calculation on device: > int block_size = 4; > int n_blocks = N/block_size + (N%block_size == 0 ? 0:1); > square_array <<< n_blocks, block_size >>>

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Duncan Temple Lang
Hi Erin Glad you are making progress on this with Brian's help. I thought I would mention a different approach that might save you some programming time and actually make the code more flexible at the same time. Basically, in a high-level language like R, it is nice to keep the code calling a

Re: [Rd] xmlParseDoc parser errors

2012-11-16 Thread Duncan Temple Lang
On 11/16/12 6:10 AM, bryan rasmussen wrote: > Hi, > > I have some XML files that have a processing instruction directly > after the XML declaration > > when I do > kgroup.reading <- character(0) > for (file in file_list){kgroup.reading <- > xmlParseDoc(file.path("c:","projects","respositories",

Re: [Rd] On RObjectTables

2012-07-20 Thread Duncan Temple Lang
Hi Jeroen I am restoring the packages on the Omegahat site as people ask for them. I just put the RObjectTables package up in in its current form at http://www.omegahat.org/RObjectTables/ and am happy to enhance it as needed. We can chat off-list, if you want. D. On 7/19/12 10:30 AM,

Re: [Rd] setting global options for a package

2012-05-10 Thread Duncan Temple Lang
Or slightly more conveniently, use the default value of getOption() to return the vector of color names if the option is not set, e.g. foo <- function(x, heplot.colors = getOption("heplot.colors", c("red", "blue", "black", "darkgreen", "brown", "d

Re: [Rd] Decompressing raw vectors in memory

2012-05-02 Thread Duncan Temple Lang
I understand the desire not to have any dependency on additional packages, and I have no desire to engage in any "mine's better" exchanges. So write this just for the record. The gzunzip() function handle this. > library(RCurl); library(Rcompression) > val = getURLContent("http://httpbin.org/gzip

Re: [Rd] getNativeSymbolInfo("user_unif_rand") returns different results on windows and linux

2011-08-17 Thread Duncan Temple Lang
Hi Renaud I cannot presently step through the code on Windows to verify the cause of the problem, but looking at the code, I would _presume_ the reason is that symbol lookup is cached on Windows but not on Linux or OS X (at least by default). Thus when we perform the second search for user_un

Re: [Rd] Problem installing RCurl

2010-12-03 Thread Duncan Temple Lang
Hi Jun On 12/3/10 2:15 PM, Zhang,Jun wrote: > I have 64-bit R 2 12 0 installed on Solaris 10 of Sun Sparc. When I tried to > install RCurl, it failed with the following lines, > > ... > Version has CURLOPT_SSL_SESSIONID_CACHE > libcurl version: libcurl 7.19.6 > configure: creating .

Re: [Rd] Segmentation faults on SEXP conversion

2009-11-15 Thread Duncan Temple Lang
nabble.30.miller_2...@spamgourmet.com wrote: > On Sun, Nov 15, 2009 at 2:52 PM, Duncan Murdoch - murd...@stats.uwo.ca > <+nabble+miller_2555+1412c7fca2.murdoch#stats.uwo...@spamgourmet.com> > wrote: >> On 15/11/2009 1:41 PM, nabble.30.miller_2...@spamgourmet.com wrote: >> The "character" type in

Re: [Rd] R_CallMethodDef: 'type' and 'style' fields?

2009-10-09 Thread Duncan Temple Lang
sumably there will be some parameters of your C function that are not const so that you can modify them and return results. (Unless of course the C routine is only of interest for its side effects such as writing to a file.) D. > > Thanks for your help. > > > Duncan Tem

Re: [Rd] R_CallMethodDef: 'type' and 'style' fields?

2009-10-08 Thread Duncan Temple Lang
Steve Jaffe wrote: > In Writing R Extensions it is said that R_CallMethodDef has two optional > fields, 'type' and 'style' (where 'style' is said to distinguish > in/out/inout arguments). Can you point us to the particular section and line that says this. I think it is for the R_CMethodDef struc

Re: [Rd] RGoogleDocs so close but errors with spreadsheet reading

2009-04-01 Thread Duncan Temple Lang
You might try my development version which I put at http://www.omegahat.org/Prerelease/RGoogleDocs_0.2-0.tar.gz I am not certain if there are any substantive differences with the one in the Omegahat repository, but it works for me with a document and a spreadsheet in an Google Docs account.

Re: [Rd] configure fail for XML package on freebsd

2009-03-11 Thread Duncan Temple Lang
Hi Hiroyuki Hiroyuki Kawakatsu wrote: Hi, I am having problems installing the XML package with R-devel on freebsd. If I simply do install.packages("XML"), it says that the parser.h file is not found. After reading the INSTALL file, I have set setenv XML_CONFIG /usr/local/bin/xml2-config se

Re: [Rd] RSPython

2009-02-11 Thread Duncan Temple Lang
Hi David. (Sorry about not replying to your earlier mail. I have been rather busy in the last few days.) David Scherrer wrote: Hi all, I try to utilize RSPython to invoke Python from R. For me it works pretty fine for basic applications, but I have 3 problems that may be related. (1) I can

Re: [Rd] Callbacks seems to get GCed.

2009-01-08 Thread Duncan Temple Lang
erRoutines(info, cMethods, callMethods, NULL, NULL); > } > > int main (int argc, char** argv) > { > int i; > initR(); > > r_exec("x <- function (f) { .Call(\"set_callback1\",f); }"); > r_exec("y <- function (f) { .Call(\"set_callback2\

Re: [Rd] Computing minimal detectable differences for general ANOVA models

2008-11-22 Thread Duncan Temple Lang
Ali Baharev wrote: Dear Developers, For the attached (very simple) source package i get the following warnings: * checking foreign function calls ... WARNING Foreign function calls without 'PACKAGE' argument: .C("fpow", ...) See the chapter 'System and foreign language interfaces' of the 'Wri

Re: [Rd] Computing minimal detectable differences for general ANOVA models

2008-11-16 Thread Duncan Temple Lang
Ali Baharev wrote: Dear Developers, I would like to contribute to the R Project. I implemented a C function the can be used to calculate minimal detectable differences for general ANOVA models (sample size calculations, power analysis). A demo program and the source code is available from my

Re: [Rd] why is \alias{anRpackage} not mandatory?

2008-10-07 Thread Duncan Temple Lang
FWIW, I'll note that one or two of us are working on a documentation system that uses XML and specifically extensions of Docbook to create documentation for R objects and that transparently extends to general articles, vignettes, books, etc. and dynamic and interactive reproducible documents.

Re: [Rd] [R] [BioC] RCurl loading problem with 64 bit linux distribution

2008-05-06 Thread Duncan Temple Lang
aps one of the other guys with |> problems could also furnish the info. |> |> BTW, I did cc you on my post to R-help this evening (see below). |> |> Thanks for your help and all your development efforts, |> Mark |> |> |> romMark Kimpel <[EMAIL PROTECTED]>toLoyal Goff <

Re: [Rd] swig 1.3.35 & R - is the R wrapper still maintained and of interest?

2008-04-20 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dirk Eddelbuettel wrote: | Duncan, | | On 20 April 2008 at 05:44, Duncan Temple Lang wrote: | | ~ I've waited to see if there would be posts from others, but am | | a little surprised to see only your two. It would seem people aren't

Re: [Rd] swig 1.3.35 & R - is the R wrapper still maintained and of interest?

2008-04-19 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michael and Soeren ~ I've waited to see if there would be posts from others, but am a little surprised to see only your two. It would seem people aren't using SWIG for R and I wonder why this community hasn't used or wanted such tools? Do we no

Re: [Rd] [rfc] Package to access the internal zlib library.

2008-01-30 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is also the Rcompression library from www.omegahat.org/Rcompression and directly available via install.packages() from the www.omegahat.org/R repository. This deals with various compression schemes and does things in memory. Hopefully there

Re: [Rd] Finding windows DLLs

2008-01-07 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Prof Brian Ripley wrote: > On Tue, 8 Jan 2008, Duncan Temple Lang wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> While I don't disagree with the general need to provide an interface >&

Re: [Rd] Finding windows DLLs

2008-01-07 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 While I don't disagree with the general need to provide an interface to SetDllDirectory, etc., I think the discussion about 3rd party libraries has slightly missed the more obvious solution. Instead of using a DLL, such packages can link against a _sta

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan Murdoch wrote: > On 10/11/2007 1:00 PM, Duncan Temple Lang wrote: > > > Duncan Murdoch wrote: >>>> Prof Brian Ripley wrote: >>>>> Please don't use 'assert' in R packages. If called,

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan Murdoch wrote: > Prof Brian Ripley wrote: >> Please don't use 'assert' in R packages. If called, this means that an >> error in your code aborts the whole R process, including your user's work. >> I see several R packages doing this, and on

Re: [Rd] install.packages() and configure.args

2007-10-20 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Herve The "best" way to specify configure.args when there are multiple packages (either directly or via dependencies) is to use names on the character vector, i.e. install.packages("Rgraphviz", rep="http://bioconductor.org/

Re: [Rd] How to create Web service in R?

2007-10-20 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rohan7 wrote: > Hello all, > >Is it possible to create web service in R? >Any links or book i can refer! > > My second question is i'm trying to call a web service using RCurl > package. The pdf from google doesnt have entire code in

Re: [Rd] Sweave/ESS-like tools for HTML

2007-10-16 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Doug. This is probably more than you want - either to know or to use for your specific task, but I'll throw it out there for general information. I write documents using XML, specifically an extended version of Docbook with elements for describ

Re: [Rd] Ryacas check

2007-09-30 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan Temple Lang wrote: > > > Gabor Grothendieck wrote: >> When I do > >>Rcmd check Ryacas > >> on my Windows Vista system under > >>R version 2.6.0 beta (2007-09-23 r42958) > >>

Re: [Rd] Ryacas check

2007-09-30 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabor Grothendieck wrote: > When I do > >Rcmd check Ryacas > > on my Windows Vista system under > >R version 2.6.0 beta (2007-09-23 r42958) > > it checks out fine but here: > > http://cran.r-project.org/bin/windows/contrib/checkSummary

Re: [Rd] dict package: dictionary data structure for R

2007-07-23 Thread Duncan Temple Lang
Hi Seth. Glad you did this. As you know, I think we need more specialized data structures and the ability to be able to introduce them easily into R computations, both internally and at the R language-level. A few things that come to mind after a quick initial look. The HashFunc typedef in hashf

Re: [Rd] cleanup and Makevars

2007-07-11 Thread Duncan Temple Lang
Hi Kasper This is not an immediate solution for your problem, but a suggestion that the "ideal" solution might be different from what you are asking for. In many projects, when we need to compile the same source file for two or more different purposes (e.g. architectures, compilation flags, etc

Re: [Rd] XML parsing under R / Extracting nodes’ va lues

2007-05-15 Thread Duncan Temple Lang
You can use getNodeSet() as Hin-Tak suggests. But you will need to do it for each of the target nodes. So you can use sapply() to loop over these. However, if these nodes are all children of the same XML node, you can get the values as # This is the document content. z = "2 2 5 2000" # pars

Re: [Rd] Embedding R and registering routines

2007-05-02 Thread Duncan Temple Lang
aking things too simple at one step which makes the entire thing more complex in subsequent steps. I think we have data on that ... :-) > > Cheers, > Simon > > > On May 1, 2007, at 5:47 PM, Duncan Temple Lang wrote: > > > Simon Urbanek wrote: > >> Duncan

Re: [Rd] Embedding R and registering routines

2007-05-01 Thread Duncan Temple Lang
a big deal, so please go ahead if you have the time and want to. Thanks, D. > > Cheers, > Simon > > On May 1, 2007, at 4:24 PM, Duncan Temple Lang wrote: > > >Simon Urbanek wrote: > >>Since I'm not sure I really understand Jeff's question this is

Re: [Rd] Embedding R and registering routines

2007-05-01 Thread Duncan Temple Lang
g the memory, and so on. But this is relatively easy to do, and various implementations suggest themselves. Thanks for the feedback. D. > Cheers, > Simon > > On May 1, 2007, at 1:56 PM, Duncan Temple Lang wrote: > > >Jeffrey Horner wrote: > >>Hello, > >> &g

Re: [Rd] Embedding R and registering routines

2007-05-01 Thread Duncan Temple Lang
rary system works, but the implementation is > too complex. I'd like to simplify down to just one shared library. > > Any comments, suggestion are much appreciated. > > Thanks, > > Jeff > -- > http://biostat.mc.vanderbilt.edu/JeffreyHorner > > _

Re: [Rd] help with Qt and event loops

2007-04-13 Thread Duncan Temple Lang
o look into this? The source code and a > brief write-up is available here: > > http://dsarkar.fhcrc.org/R/R-Qt.html > > Thanks, > -Deepayan > > __ > [EMAIL PROTECTED] mailing list > https://stat.ethz.ch/mailman/listinfo/r-de

Re: [Rd] wishlist: additional argument in R_tryEval (Rinternals.h)

2007-04-06 Thread Duncan Temple Lang
Hi Deepayan. It is not part of the API, but it is used in numerous packages that would break if such a change were made. It is an easy change to make, but not necessarily a robust approach if we keep adding parameters. If we need the room to add more, using a structure whose fields are modified

Re: [Rd] Connections to https: URLs -- IE expert help needed

2007-01-06 Thread Duncan Temple Lang
Prof Brian Ripley wrote: > On Mon, 1 Jan 2007, Duncan Temple Lang wrote: > >> Kurt Hornik wrote: >>>>>>>> Duncan Temple Lang writes: >>>> -BEGIN PGP SIGNED MESSAGE- >>>> Hash: SHA1 >>>> Prof Brian Ripley wrote: >

Re: [Rd] Connections to https: URLs -- IE expert help needed

2007-01-01 Thread Duncan Temple Lang
Kurt Hornik wrote: > >>>>> Duncan Temple Lang writes: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > Prof Brian Ripley wrote: > >> I've added to R-devel the ability to use download.file() and url() to > >> https

Re: [Rd] Connections to https: URLs -- IE expert help needed

2006-12-20 Thread Duncan Temple Lang
ble this and would solve numerous problems that have arisen recently and I strongly suspect many more that will arise. D. - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Building fax: (530)

Re: [Rd] include libraries for C code called from R

2006-12-12 Thread Duncan Temple Lang
vice or suggestions on how to solve this > problem. I am a novice C programmer and Linux user, but it seems like this > should be a simple fix. > > Many thanks in advance, > > Michael Braun > MIT Sloan School of Management > [EMAIL PROTECTED] > >

Re: [Rd] dyn.load and function calls without 'PACKAGE' argument

2006-12-08 Thread Duncan Temple Lang
) > > This works, but 'R CMD check' complains: > > "Foreign function calls without 'PACKAGE' argument:" > > followed by a list of the functions called from libjchli.so. > > Is there a way to make R CMD check happy here? > > Jeff > >

Re: [Rd] dyn.load (PR#9364)

2006-11-15 Thread Duncan Temple Lang
ic_lookup -single_module -multiply_defined suppress -L/ > usr/local/lib -o foo.so other.o -L/Library/Frameworks/R.framework/ > Resources/lib/ppc -lR -dylib_file libRblas.dylib:/Library/Frameworks/ > R.framework/Resources/lib/ppc/libRblas.dylib > loaded DLL/SO > first attempt >

Re: [Rd] dyn.load (PR#9364)

2006-11-15 Thread Duncan Temple Lang
ially loaded code is used. The only way to load the updated >>c code is to >>quit R and then reopen. >> >>Thanks, >>Jono >> >>__ >>R-devel@r-project.org mailing list >>https://stat.ethz.ch/mailman/lis

Re: [Rd] [R] multithreading calling from the rpy Python package

2006-10-20 Thread Duncan Temple Lang
e-processor ;) >> >> Real-life code does tend to speed up somewhat, though never as much as >> one would hope. >> >> Just an idea... >> >> René >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >&g

Re: [Rd] Error condition in evaluating a promise

2006-10-18 Thread Duncan Temple Lang
e answer appears > to be no - at least for R <=2.4.0. > > Thanks, > Simon > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel - -- Duncan Temple Lang[EMAIL PROTECTED] Department

Re: [Rd] Automatic C wrapper generation

2006-10-18 Thread Duncan Temple Lang
t yet so I do not know how far this will get you. > > Dirk > - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Building fax: (530) 752-7099 One Shields Ave. University of Californ

Re: [Rd] Request to open up getConnection to embedded interface

2006-10-07 Thread Duncan Temple Lang
his via read.csv > > d <- read.csv(file=url("http://example.com/dataprovider?format=csv";) > > > Of course there are other ways to accomplish this, like allowing c code > to place c generated connection objects onto the Connection array and > then use sink(), but

Re: [Rd] WISH: "R CMD build" should use the (correct) package name (PR#9266)

2006-10-01 Thread Duncan Temple Lang
e. > > Thanks, > Arne > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 M

Re: [Rd] Post CGI forms with built-in R function?

2006-07-20 Thread Duncan Temple Lang
worthwhile to increase this limit to a larger number. Using POST in this context really is a better solution. But we do need to add checks to the code to ensure that the URI string is smaller than 4096. I'll try to get an opportunity to do that tomorrow before I take off. D. Duncan Temple Lang

Re: [Rd] Post CGI forms with built-in R function?

2006-07-19 Thread Duncan Temple Lang
t Rcurl. > > Can anyone help or suggest a "native" solution to the problem? > > Thanks. > > __________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel - -- Duncan Temple Lang[EMAIL PROTECTED] Department of

[Rd] iSPlots paper

2006-05-31 Thread Duncan Temple Lang
might need minor tweaking, or else I'll just say great, go ahead and send it. The only thing that is obviously missing - from the copy I just printed, at least - is an abstract. - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752

Re: [Rd] compiling tests/Embedding

2006-05-26 Thread Duncan Temple Lang
In addition to the compiler issues, the test should also be changed. It should use R_tryEval() directly rather than Test_tryEval(). The test preceeds the existence of that exported routine that was motivated by the same usage that gave rise to this test. I'll commit an update when I get a few m

Re: [Rd] reusing routines

2006-05-13 Thread Duncan Temple Lang
Hi Terry. If I am inferring correctly from your description, in S-Plus your C code for the microarray automatically finds the cholesky2 routine in the survival package without any need to tell it to do so. While it may be convenient, this is not very desirable at all. Rather, you should have to te

Re: [Rd] R CMD check: non source files in src on (2.3.0 RC (2006-04-19 r37860))

2006-04-21 Thread Duncan Temple Lang
ces, >>in particular as we could add QC testing et al to the standard community >>services. >> >>Best >>-k >> >>______ >>R-devel@r-project.org mailing list >>https://stat.ethz.ch/mailman/listinfo/r-devel >> > > - -- Duncan Temple Lang

Re: [Rd] Stack checking, core dumps, and embedding R

2006-04-11 Thread Duncan Temple Lang
tenz, Switzerland. > "Commit early,commit often, and commit in a repository from which we can > easily > roll-back your mistakes" (AJR, 4Jan05). > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel - -- Duncan Temple Lan

Re: [Rd] multiple packages using the same native code.

2006-03-17 Thread Duncan Temple Lang
= R_ExternalPtrAddr(foo_info); >> } >> >> void bar(int *x) { >> ... >> z = C_foo(); >> ... >> } >> >> >>A/R/zzz.R >> >> .onLoad <- function(libname, pkgname) { >> foo_info <- getNativeSymbolInfo("foo", PACKAGE="C

Re: [Rd] Wish list

2006-01-01 Thread Duncan Temple Lang
new. But much (not all) of R is based on innovations from the 1970's, 80's and 90's. And as IT evolves at a terrific pace, to keep up with it, we need to be forward looking. I'll leave it there - for the moment - and go fight off the ants that are invading my desk! While I w

Re: [Rd] .Call not counting parameters consistently (PR#8450)

2005-12-28 Thread Duncan Temple Lang
Routine function does some strange stuff. > > Duncan Murdoch > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel - -- Duncan Temple Lang[EMAIL PROTECTED] Department of S

Re: [Rd] cairo anyone?

2005-12-22 Thread Duncan Temple Lang
PROTECTED]) > "Oook" -- The Librarian > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics wor

Re: [Rd] segfault following a detach

2005-12-09 Thread Duncan Temple Lang
Unload (Rdynload.c:412) > ==20262==by 0x1B92D15B: DeleteDLL (Rdynload.c:439) > ==20262== > ==20262== Conditional jump or move depends on uninitialised value(s) > ==20262== at 0x1B92DA11: R_dlsym (Rdynload.c:749) > ==20262==by 0x1B92D0BD: R_callDLLUnload (Rdynload.c:412)

Re: [Rd] R thread safe

2005-11-07 Thread Duncan Temple Lang
works fine using one thread and breaks currently down with 2 > threads. > I am using a recent R distribution and the complete R code is compile with > "-openmp" and the Pathscale compiler suite. > > Thanks in advance, > Olaf > > ___

Re: [Rd] Rgnome depends on obsolete components libglade/libxml (PR#8247)

2005-10-24 Thread Duncan Temple Lang
; > Already tried against libglade 2 - not trivial. It probably also > requires changing to gtk2 also... > > Just like to have it in the distant TODO list, and not forgotten... > > Hin-Tak Leung > > __ > R-devel@r-project.org mailing list > https://stat.ethz.

Re: [Rd] [R-gui] R GUI considerations

2005-10-18 Thread Duncan Temple Lang
;distributions and largely two GUIs that have garnered any significant >>market share. Perhaps, over time, lacking any coordinated activity, a >>similar situation will evolve here, if the predicate that a broad demand >>for a R GUI is valid. >> >>If the predicate is false, then this process is perhaps rightly done by >>individu

Re: [Rd] [R-gui] R GUI considerations

2005-10-17 Thread Duncan Temple Lang
emie Universitaire Wallonie-Bruxelles > ) ) ) ) ) 8, av du Champ de Mars, 7000 Mons, Belgium > ( ( ( ( ( > ) ) ) ) ) phone: + 32.65.37.34.97, fax: + 32.65.37.30.54 > ( ( ( ( (email: [EMAIL PROTECTED] > ) ) ) ) ) > ( ( ( ( (web: http://www.umh.ac.be/~econum > ) )

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-15 Thread Duncan Temple Lang
>>( ( ( ( (Prof. Philippe Grosjean >> ) ) ) ) ) >>( ( ( ( ( Numerical Ecology of Aquatic Systems >> ) ) ) ) ) Mons-Hainaut University, Pentagone (3D08) >>( ( ( ( (Academie Universitaire Wallonie-Bruxelles >> ) ) ) ) ) 8, av du Champ de Mars, 7000 Mons, Belgiu

Re: [Rd] .Net Framework Wrapper

2005-10-06 Thread Duncan Temple Lang
> > 1025 W. Johnson St > > Madison WI, 53706 > > 608-265-5623 > > > > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listin

Re: [Rd] Fwd: R and Java

2005-10-05 Thread Duncan Temple Lang
Laurent Jourdren wrote: >>I am a grad student and am working on a project where i need to integrate >>java and R. I have a front end in java and i need to call R functions and >>be able to dispaly the plots and graphs produced by R on my java front end. >>I came across some tools like SJava and rse

Re: [Rd] dyn.load error -- undefined symbol: ...

2005-09-11 Thread Duncan Temple Lang
You should tell us what operating system you are working on. If it is a Unix variant, you can use the command ldd: ldd interface.so and see if and where it finds all the libraries against which you link. (otool -L on Mac OS X will give you similar information.) Then make certain that th

Re: [Rd] About R variable references

2005-08-23 Thread Duncan Temple Lang
> state<-as.integer(1) > callback<-function(state) { cat(sprintf("You got state %s\n",state)) } > > myinit() > # do some work here and call myexec() periodically... > > > &g

Re: [Rd] IPC

2005-08-23 Thread Duncan Temple Lang
; School of Mathematics and Physical Sciences > > James Cook University > > +61 7 4781 4247 > > +61 409 277 641 > > > > ______ > > R-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > >

Re: [Rd] IPC

2005-08-23 Thread Duncan Temple Lang
> Nigel Sim > > PhD Candidate > School of Mathematics and Physical Sciences > James Cook University > +61 7 4781 4247 > +61 409 277 641 > > __________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-dev