[Rd] R 4.0.0 build error with sysdata.rda on ppc64el architecture

2020-04-28 Thread Dirk Eddelbuettel
The R 4.0.0 package migration on Debian is being held back by a failed build on ppc64el [1]. We can see from the history of builds logs [2] that it used to build, briefly failed, worked again and then failed leading to R 4.0.0's release. (And my bad for missing how the alpha1/alpha2/beta/rc build

Re: [Rd] R 4.0.0 build error with sysdata.rda on ppc64el architecture

2020-04-29 Thread Dirk Eddelbuettel
On 29 April 2020 at 11:22, peter dalgaard wrote: | Hum, at least it is not Apple, so maybe you can attach a debugger to the running process? (gdb -p process_id or something like that --- haven't actually done it for a decade). Then at least we can get a stack trace and a clue about where it is

Re: [Rd] R 4.0.0 build error with sysdata.rda on ppc64el architecture

2020-04-30 Thread Dirk Eddelbuettel
On 30 April 2020 at 09:42, Iñaki Ucar wrote: | On Thu, 30 Apr 2020 at 02:49, Dirk Eddelbuettel wrote: | > And to keep the list abreast, this appears to be related to the long double | > issue on powerpc where needed an extra #define to ensure compilation. That [...] | Which reminds me t

Re: [Rd] [External] Re: R 4.0.0 build error with sysdata.rda on ppc64el architecture

2020-04-30 Thread Dirk Eddelbuettel
On 30 April 2020 at 09:11, luke-tier...@uiowa.edu wrote: | On Thu, 30 Apr 2020, Dirk Eddelbuettel wrote: | Maybe I missed something. How is the 'compiler' package involved? See the other email thread; you replied (~ 26 hours ago) to my message adding that "sysdata.rda in 

Re: [Rd] R not working to Window 10

2020-05-02 Thread Dirk Eddelbuettel
On 2 May 2020 at 14:14, Naveen Kaushik via R-devel wrote: | I have just installed R from https://cran.r-project.org/bin/windows/base/rtest.html but when i want to open R, not open to massage show and when I troubleshoot R program it is show that Settings applied to: Rgui: Windows compatibility

Re: [Rd] "cd" floating in the air in the man page for paste/paste0

2020-05-12 Thread Dirk Eddelbuettel
On 12 May 2020 at 19:59, Hervé Pagès wrote: | While reading about the new 'recycle0' argument of paste/paste0, I | spotted a mysterious "cd" floating in the air in the man page: | |recycle0: ‘logical’ indicating if zero-length character arguments (and | all zero-length or no ar

Re: [Rd] edit() doubles backslashes when keep.source=TRUE

2020-05-15 Thread Dirk Eddelbuettel
On 15 May 2020 at 15:41, Martin Maechler wrote: | | | Why does nobody anymore help R development by working with | "R-devel", or at least then the alpha, beta and the "RC" | (Release Candidate) versions that we release daily for about one | month before the final release? | |

Re: [Rd] C Interface

2010-06-18 Thread Dirk Eddelbuettel
Michael, You are getting confused in compiler minutia when you could be concentrating on your code. The inline package can help here. Consider the snippet below which loads inline, defines your function body sans headers etc and then uses the magic of inline to compile, link and load your fun

Re: [Rd] Set the number of threads using openmp with .C

2010-07-10 Thread Dirk Eddelbuettel
Eduardo, On 10 July 2010 at 19:31, Eduardo García wrote: | Hi everybody! Could somebody help me with the following? | | I'm trying to run a simple Hello World code in openmp using .C function. The | C code i have is: | | #include | #include | #include | | void hello_omp(int *n) { |i

Re: [Rd] Set the number of threads using openmp with .C

2010-07-10 Thread Dirk Eddelbuettel
On 10 July 2010 at 13:01, Dirk Eddelbuettel wrote: | | Eduardo, | | On 10 July 2010 at 19:31, Eduardo García wrote: | | Hi everybody! Could somebody help me with the following? | | | | I'm trying to run a simple Hello World code in openmp using .C function. The | | C code i ha

Re: [Rd] C or Java code generation

2010-08-19 Thread Dirk Eddelbuettel
t for the end users of my program. | > | > | Dirk Eddelbuettel love R/C++ combination. Rinside could be usefull for you. | | http://dirk.eddelbuettel.com/code.html Thanks for the plug. We can definitely embed R inside C++ on operating systems containing an x somewhere in their name. But n

Re: [Rd] C or Java code generation

2010-08-19 Thread Dirk Eddelbuettel
On 19 August 2010 at 17:06, Vyacheslav Karamov wrote: | Dirk Eddelbuettel пишет: | > On 19 August 2010 at 13:02, Daniel Cegiełka wrote: | > | Is there any posibility to use R without installing? | > | | > | > I mean that I have my own application written in MS Visual C++ and I

Re: [Rd] C or Java code generation

2010-08-20 Thread Dirk Eddelbuettel
and as far as I am concerned a good thing as well. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] C or Java code generation

2010-08-20 Thread Dirk Eddelbuettel
ioned technologies are meant to hide R or permit deployment without it. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How do you make a formal "feature" request?

2010-08-21 Thread Dirk Eddelbuettel
"roll your own" plot do you? Reports are no different. If you don't | agree do not bother me. If you agree then please bring this request to the | appropriate authorities for consideration or tell me how to do it. I usually write them on a small note and put them under my pillo

Re: [Rd] Speeding up matrix multiplies

2010-08-24 Thread Dirk Eddelbuettel
here is a way to tell what BLAS you are using (and I don't | > know if there is), it has to be a run-time check. | > | > Kasper | > | > __ | > R-devel@r-project.org mailing list | > https://stat.ethz.ch/mailman/listinfo/r-devel | | __

Re: [Rd] require is to suggests as what is to imports?

2010-08-24 Thread Dirk Eddelbuettel
t may impact the running of 'R CMD check' and friends. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] require is to suggests as what is to imports?

2010-08-25 Thread Dirk Eddelbuettel
On 25 August 2010 at 08:06, Prof Brian Ripley wrote: | On Tue, 24 Aug 2010, Dirk Eddelbuettel wrote: | | > | > On 24 August 2010 at 15:40, Hadley Wickham wrote: | > | Hi all, | > | | > | If a package suggests another package in its description, you can | > | check it at run

Re: [Rd] Development environment for R extentions on Windows

2010-09-08 Thread Dirk Eddelbuettel
many-cygwin-woes/ and also see http://www.saltycrane.com/blog/tag/cygwin/ Those links may by now be stale. Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-13 Thread Dirk Eddelbuettel
omething like this and have the generated file transformed. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Best way to manage configuration for openMP support

2010-09-14 Thread Dirk Eddelbuettel
ip out major version (4) and minor (0 or 1) and then complain. With 4.2 you should be fine. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Best way to manage configuration for openMP support

2010-09-14 Thread Dirk Eddelbuettel
| * - compiler version checks are sometime used directly in the source files as a work-around if autoconf cannot be used. But since autoconf provides an easy way to test functionality you should do that instead if available. | | On Sep 14, 2010, at 7:40 AM, Dirk Eddelbuettel wrote: | | >

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-15 Thread Dirk Eddelbuettel
u want the file filtered at the compile stage. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] R 2.12.0 alpha/beta/rc warning: spurious or not?

2010-10-08 Thread Dirk Eddelbuettel
so, the error disappears when I create a directory build/ inside of my package sources. It is still present with the RC tarball wrapped up last night (r53227). Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-proje

Re: [Rd] R 2.12.0 alpha/beta/rc warning: spurious or not?

2010-10-08 Thread Dirk Eddelbuettel
On 8 October 2010 at 15:11, Martin Morgan wrote: | On 10/08/2010 01:25 PM, Dirk Eddelbuettel wrote: | > | > With several versions of R 2.12.0 I have been seeing this when running | > | > R CMD build Rcpp | > | > from the SVN sources: | > | > [...] | > Tr

Re: [Rd] Including data in packages

2010-10-14 Thread Dirk Eddelbuettel
x:~/src/debian/CRAN$ The vote is clearly in favour of data/ over inst/data. Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] must .Call C functions return SEXP?

2010-10-27 Thread Dirk Eddelbuettel
ch better, in my book, to explicitly return as you'd do with return Rcpp::List::create(Rcpp::Named("newv"=vc, Rcpp::Named("neww"=wc))); which will get you a named list at the R level. Feel free to come over to rcpp-devel is you have q

Re: [Rd] LAPACK libraries improperly linked

2010-11-14 Thread Dirk Eddelbuettel
eed further assistance, feel free to come to r-sig-debian for Debian and Ubuntu matters. Hth, Dirk | | Thank you all for your consideration. | Ron Burns | | | | -- | R. R. Burns | Physicist (Retired) | Oceanside, CA | | __ | R-devel@r-pr

Re: [Rd] SEXPs and slots

2010-11-15 Thread Dirk Eddelbuettel
rsions and so is much | easier to learn. Dirk and Romain are also churning out the | documentation, so there are lots of examples to learn from. Thanks for the plug and endorsement -- we appreciate it. One correction though: We strive to provide seamless C++ and R integration, not C and R.

Re: [Rd] how to store package options over sessions?

2010-11-20 Thread Dirk Eddelbuettel
make it a database that can be read as file or over sockets and so. And Yoda still rules. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Using RInside in Visual Studio 8.0 VC++.NET Program

2010-11-22 Thread Dirk Eddelbuettel
mailing list archive at Nabble.com. | | ______ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] installing RMySQL (PR#13633)

2010-11-24 Thread Dirk Eddelbuettel
t-dev" which contains MySQL | database development files and headers. Then, I attempted to install the | RMySQL package again, and there was no error. What was wrong with sudo apt-get install r-cran-rmysql that make you compile locally? Dirk -- Dirk Eddelbuettel | e...@debian.

[Rd] Terminology clarification (Re: GPL and R Community Policies (Rcpp)

2010-12-02 Thread Dirk Eddelbuettel
ty! Seconded. I have even older emails (from 2005/2006) where the author complains that no other R packages use what was then Rcpp. The code changed a lot, but there is still some pride to be had in an idea living on, even if (as Peter wrote) someone else picks up "your" ball and runs

Re: [Rd] Terminology clarification (Re: GPL and R Community Policies (Rcpp)

2010-12-02 Thread Dirk Eddelbuettel
om of http://dirk.eddelbuettel.com/code/rcpp.changelog.html) clearly shows that by November 2009 we were nine releases into it. There are a full 210 lines of changes including 2009-11-18 Dirk Eddelbuettel * DESCRIPTION: Add Dominick back into Authors per his new request reversing hi

Re: [Rd] Strange problems with compiling dll

2010-12-03 Thread Dirk Eddelbuettel
s being unsupported -- so you cannot expect answers on the principal development list for R. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R with ATLAS avoids Linux cpu affinity

2010-12-06 Thread Dirk Eddelbuettel
fairly recent license change of GotoBLAS2 (to the more liberal BSD license permitting redistribution). With some luck we will GotoBLAS2 deb packages in future Debian and Ubuntu releases. Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com ___

Re: [Rd] How to specify compiler options when using R CMD SHLIB

2010-12-14 Thread Dirk Eddelbuettel
ified when using R CMD SHLIB? I use ~/.R/Makevars where you can set all variables your in in $RHOME/etc/Makeconf Setting the as environment variables will also work by virtue of make (and that is what the inline package does). Dirk -- Dirk Eddelbuettel | e...@debian.org |

Re: [Rd] RPostgreSQL 0.1.7 for Windows 64 causes R.2.12.1 Win64 crash

2011-01-17 Thread Dirk Eddelbuettel
nction causes the whole RGui crashes, | > | > driver <- dbDriver("PostgreSQL") | > con <- dbConnect(driver, dbname="demo", host="192.168.8.1", | > user="postgres", password="postgres", port=5432) | > | | __

Re: [Rd] R vs. C

2011-01-17 Thread Dirk Eddelbuettel
are times when something else is called for. Exactly when that time is depends on a great many things and you have not mentioned a single metric in your question. So I'd start with John's book. Hope this helps, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] [Rcpp-devel] Calling C++ from R

2011-01-21 Thread Dirk Eddelbuettel
tRNGstate and destruvctor calls PutRNGstate, so that you can do : fx <- cxxfunction( , ' RNGScope scope ; NumericVector x = rgamma( 10, 1, 1 ) ; return x ; ', plugin="Rcpp" ) fx() That's self-contained example for

Re: [Rd] [Rcpp-devel] Calling C++ from R

2011-01-22 Thread Dirk Eddelbuettel
On 21 January 2011 at 11:32, Xiaochun Sun wrote: | Many thanks for your reply. Rf_rnorm works very good with me. Glad to hear it helped, and let us know if you have other questions. Cheers, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] Dealing with R list objects in C/C++

2011-01-26 Thread Dirk Eddelbuettel
2.5; Rcpp::IntegerVector v(2); v[0] = 10; v[1] = 11; // with C++0x we could assign directly mylist[2] = v; show(mylist); R["myRlist"] = mylist; std::string r_code = "myRlist[[1]] = 42; myRlist[[2]] = 42.0; myRlist[[3]][2] = 42; myRlist"; Rcpp::List resl

Re: [Rd] dependencies on system packages

2011-02-04 Thread Dirk Eddelbuettel
Cheers, | >> Simon | >> | >> __ | >> R-devel@r-project.org mailing list | >> https://stat.ethz.ch/mailman/listinfo/r-devel | > | > __ | > R-devel@r-project.org mailing list | > https://stat.ethz.ch/mailman/listinfo/r-devel | > | > | | __ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R command line and pipe using in Linux?

2011-02-14 Thread Dirk Eddelbuettel
this helps, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] R-Forge is dark

2011-02-16 Thread Dirk Eddelbuettel
Hoping that it is nothing to permanent, could someone with the power to do so please give the r-forge machine (or something in the network controlling access to it) a good shake or reboot ? Thanks, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] R-Forge is dark

2011-02-16 Thread Dirk Eddelbuettel
On 16 February 2011 at 08:00, Dirk Eddelbuettel wrote: | Hoping that it is nothing to permanent, could someone with the power to do so | please give the r-forge machine (or something in the network controlling | access to it) a good shake or reboot ? That appears to have been temporary. http

Re: [Rd] Newbie Rccp module question. "Failed to initialize module pointer"???

2011-02-17 Thread Dirk Eddelbuettel
e just released Rcpp 0.9.1 a few days ago so I have been running a lot of tests some of which include building and loading modules. This "should have worked" for you. Again, follow-ups on rcpp-devel which I'll CC will be appreciated. You'd have to sign up there to post. Thanks, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem using F77_CALL(dgemm) in a package

2011-02-20 Thread Dirk Eddelbuettel
30 R> You can then use this helper function to have a package created for you: RcppArmadillo.package.skeleton("mmult", mmult, path="/tmp") The rcpp-devel list is open for help and further questions should you have any. Cheers, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem using F77_CALL(dgemm) in a package

2011-02-20 Thread Dirk Eddelbuettel
On 20 February 2011 at 09:50, Dirk Eddelbuettel wrote: | There is of course merit in working through the barebones API but in case you | would consider a higher-level alternative, consider these few lines based on | RcppArmadillo (which end up calling dgemm() for you via R's linkage to the

Re: [Rd] vignette typesetting issue

2011-03-01 Thread Dirk Eddelbuettel
dflatex and no ugly tilde symbols creep into whitespace -- or else use tools::texi2dvi() : ifneq (,$(findstring edd,$(whoami))) pdflatex Rcpp-modules.tex pdflatex Rcpp-modules.tex else $(RSCRIPT) -e "tools::texi2dvi( 'Rcpp-modules.tex', pdf = TRUE, clean = TR

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Dirk Eddelbuettel
e to avoid the segfault alltogether if you can. Hope this helps, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R and ATLAS and distributing across boxes

2011-03-10 Thread Dirk Eddelbuettel
etc use is discussed in Appendix A.3 Linear algebra of the R Installation and Administration manual. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [Rd] Run script automatically when package is loaded

2011-03-12 Thread Dirk Eddelbuettel
_ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] [Patch suggestion] Adding 3rd arg to tempfile() to set extension

2011-03-18 Thread Dirk Eddelbuettel
ranslateChar( STRING_ELT( pattern , i%n1 ) ); td = translateChar( STRING_ELT( tempdir , i%n2 ) ); + te = translateChar( STRING_ELT( fileext , 0 ) ); /* try to get a new file name */ tm = R_tmpnam(tn, td); - SET_STRING_ELT(ans, i, mkChar(tm)); + if (0 != strlen

Re: [Rd] Testing window for R 2.13.0

2011-03-18 Thread Dirk Eddelbuettel
+44 1865 272861 (self) | 1 South Parks Road, +44 1865 272866 (PA) | Oxford OX1 3TG, UKFax: +44 1865 272595 | | __ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Di

Re: [Rd] Standalone C++ application for processing R parser output(SEXP)

2011-03-24 Thread Dirk Eddelbuettel
parser - Detailed R source code parser detailed source code parser, based on the standard R parser but organizing the information differently which strikes me as close enough to what you describe. That said, Romain did this for highlight so it may not be relevant. D

Re: [Rd] Rcheck Directory

2011-04-05 Thread Dirk Eddelbuettel
s why this is now checked for. Warnings are your friends. And, just like good friends, they sometimes go in misterious ways... Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://st

Re: [Rd] Problem with dyn.load in R 2.13.0

2011-04-13 Thread Dirk Eddelbuettel
current r-base-core is installed. So I see no particular breakage. Recompiling your project may also be a start. Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How to get R to compile with PNG support

2011-04-21 Thread Dirk Eddelbuettel
for png). So maybe you should revisit the Cairo devices---they allow you plotting without an x11 device (and also give you SVG). Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https:/

Re: [Rd] FW: [Rcpp-devel] Question on 5.6 Interfacing C++ code

2011-04-21 Thread Dirk Eddelbuettel
]]) tells you the extension | > |> your particular system uses for shared libraries: | > |> | > |> R> .Platform | > |> $OS.type | > |> [1] "unix" | > |> | > |> $file.sep | > |> [1] "/" | > |> | > |> $dynlib.ex

Re: [Rd] BOOST libraries

2011-04-21 Thread Dirk Eddelbuettel
g/package=RcppBDT and its links show. Hope this helps, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How to get R to compile with PNG support

2011-04-21 Thread Dirk Eddelbuettel
On 21 April 2011 at 09:51, Karl-Dieter Crisman wrote: | Thanks for your replies, Dirk and Matt. My pleasure. | On Thu, Apr 21, 2011 at 7:49 AM, Dirk Eddelbuettel wrote: | > Random guess: did you connect via ssh without x11 forwarding? | | Almost certainly, yes. (I am an interlocutor ri

Re: [Rd] Source for bash_completion.d/R?

2011-05-02 Thread Dirk Eddelbuettel
On 2 May 2011 at 11:32, Sharpie wrote: | Hello, I was just tweaking the R build for the Homebrew package manager and I | thought it would be nice to enable bash completion. I noticed that | Debian-based systems install `/etc/bash_completion.d/R` but could not find a | source for this file in the `

Re: [Rd] [R] Sweave stops when opening X11 device fails

2011-05-03 Thread Dirk Eddelbuettel
On 3 May 2011 at 13:19, peter dalgaard wrote: | | On May 3, 2011, at 12:35 , Andreas Borg wrote: | | > Hi all, | > | > I am posting this again because I got no reply on r-help. Maybe the devel-list is the right place for this kind of question. | | Actually, not an R problem at all, but try on

Re: [Rd] cerr and cout not working calling c++ from R

2011-05-06 Thread Dirk Eddelbuettel
On 6 May 2011 at 14:21, Sean Robert McGuffee wrote: | Hi, | | Sorry, I just tried posting this but I had it in the wrong format of text, | so this is a cleared format repost: | | I¹m trying to call some of my c++ code from R and seem to be having an issue | with streams, although that¹s just one

Re: [Rd] Create and access several instances of a C++ class from R

2011-05-06 Thread Dirk Eddelbuettel
Sören and Carlo, On 6 May 2011 at 19:24, soeren.vo...@uzh.ch wrote: | Hello | | We have a C++ class with several methods that manipulate an object. How is | it possible to create several instances of that class *from R* in the C++ | realm, which can then be accessed via a given name character?

Re: [Rd] cerr and cout not working calling c++ from R

2011-05-06 Thread Dirk Eddelbuettel
and some circumstances under which it's important | > to explicitly request pointers to be maintained. Is it possible that R is | > eating global pointers used by std::ostream ? | > | > All suggestions are valued and if anyone has recommendations on strategy, | > please let me know. | >

[Rd] Time-machine typo

2011-05-10 Thread Dirk Eddelbuettel
Just noticed this in R 2.13.0, it is also still present in R-devel in SVN: %%% Rd.sty ... Style for printing the R manual %%% Part of the R package, http://www.R-project.org %%% Copyright (C) 2003-20010 The R Foundation ^ Very forward-looking ... Dirk --

Re: [Rd] How to add a welcome message in Package development?

2011-06-10 Thread Dirk Eddelbuettel
On 10 June 2011 at 15:10, Simon Urbanek wrote: | | On Jun 10, 2011, at 2:54 PM, Nipesh Bajaj wrote: | | > Dear all, it is my first post in R-devel list, and hope that this is | > the right place to ask question related to package development. | > | > I have created my first package in Windows t

Re: [Rd] How to add a welcome message in Package development?

2011-06-10 Thread Dirk Eddelbuettel
On 10 June 2011 at 16:04, Simon Urbanek wrote: | On Jun 10, 2011, at 3:36 PM, Dirk Eddelbuettel wrote: | > | That said, you can simply use cat() in .First.lib (if your packages has no namespace) or .onAttach or .onLoad (if your packages has a namespace). | > | > No, not cat() --- p

Re: [Rd] Controlling stdin and stdout in an embedded R instance

2011-06-17 Thread Dirk Eddelbuettel
On 16 June 2011 at 18:47, Mike Sonsini wrote: | Hello, | | I am very new to R but my question is with respect to the C API for | working with an embedded R console. I have been able to start and stop | an embedded R console from within a C program as well as use the API to | execute commands i

Re: [Rd] [Rcpp-devel] Error using RcppGSL

2011-06-21 Thread Dirk Eddelbuettel
On 21 June 2011 at 09:50, Douglas Bates wrote: | Questions like this would get a faster response on the Rcpp-devel list, to | which I am copying this reply. Quite right. Dropping r-devel now. You need to subscribe to rcpp-devel if you want to post there. | On Jun 21, 2011 6:35 AM, "oyvfos" w

Re: [Rd] Compilation error Mac binary

2011-06-29 Thread Dirk Eddelbuettel
On 29 June 2011 at 14:17, Simon Urbanek wrote: | BTW: the build result is at | | http://www.r-project.org/nosvn/R.check/r-release-macosx-ix86/GUTS-00install.html | | so you may want to have a look. I'm not a C++ expert so you may want to ask on the Rcpp list since it appears to be some issue t

Re: [Rd] Randomness not due to seed

2011-07-20 Thread Dirk Eddelbuettel
On 20 July 2011 at 14:03, Jeroen Ooms wrote: | >> I think Bill Dunlap's answer addressed it:  the claim appears to be false. | | Here is another example where there is randomness that is not due to | the seed. On the same machine, the same R binary, but through another | interface. First directly

Re: [Rd] Randomness not due to seed

2011-07-20 Thread Dirk Eddelbuettel
On 20 July 2011 at 18:02, peter dalgaard wrote: | | On Jul 20, 2011, at 15:38 , Dirk Eddelbuettel wrote: | | > | > On 20 July 2011 at 14:03, Jeroen Ooms wrote: | > | >> I think Bill Dunlap's answer addressed it: the claim appears to be false. | > | | > | Here is a

[Rd] R checks links broken

2011-07-30 Thread Dirk Eddelbuettel
I was about to show the Rcpp build check results to a user when I noticed that the relevant URL http://cran.r-project.org/web/checks/check_results_Rcpp.html currently yields a 404 error. Spot checking for other package yields the same. Looking at http://cran.r-project.org/web/ shows

Re: [Rd] slightly speeding up readChar()

2011-08-04 Thread Dirk Eddelbuettel
On 5 August 2011 at 00:15, Michael Lachmann wrote: | > I'm not sure it's really worth bothering with such optimizations, on my machine I get | | No it isn't worth it, you're right. Though 100MB is much smaller than my average file size. But you're right, readChar is quite efficient. When you k

Re: [Rd] build 32-bit R on x86_64?

2011-08-09 Thread Dirk Eddelbuettel
Hi Vinh, On 9 August 2011 at 16:40, Vinh Nguyen wrote: | Dear R-Devel, | | I'm using Ubuntu on an x86_64 machine and would like to have both the | 32-bit and 64-bit versions of R built from source. By default, | following the usual build procedures yields 64 bit R. Looking at | [these](http:/

Re: [Rd] build 32-bit R on x86_64?

2011-08-09 Thread Dirk Eddelbuettel
On 9 August 2011 at 21:24, Simon Urbanek wrote: | | On Aug 9, 2011, at 8:12 PM, Dirk Eddelbuettel wrote: | | > | > Hi Vinh, | > | > On 9 August 2011 at 16:40, Vinh Nguyen wrote: | > | Dear R-Devel, | > | | > | I'm using Ubuntu on an x86_64 machine and would like to

Re: [Rd] Referencing 'inst' directory in installed package

2011-08-17 Thread Dirk Eddelbuettel
On 16 August 2011 at 23:17, Jonathan Malmaud wrote: | Hi, | My R package has files in the 'inst' directory that it needs to reference. How can the R scripts in my package find out the full path to the 'inst' directory after the package is installed, given that different users may have installed

Re: [Rd] R-loadable dll with minGW-compiled linked library

2011-08-29 Thread Dirk Eddelbuettel
On 30 August 2011 at 02:25, Ilana Lichtenstein wrote: | The tutorials on the web regarding creation of C++ dlls do not discuss | linking to libraries. Well, there are working examples among the 3200+ CRAN packages... | Thus my two questions are: | (1) Does anyone know how to compile a C++ progra

Re: [Rd] Please explain your workflow from R code -> package -> R code -> package

2011-09-09 Thread Dirk Eddelbuettel
On 9 September 2011 at 11:38, Paul Johnson wrote: | Hi, | | I'm asking another one of those questions that would be obvious if I | could watch your work while you do it. | | I'm having trouble understanding the workflow of code and package maintenance. | | Stage 1. Make some R functions in a f

Re: [Rd] Saving Rcpp Objects for Future Use

2011-09-09 Thread Dirk Eddelbuettel
Hola, On 9 September 2011 at 16:07, Michael King wrote: | Hello, | | I have recently been doing some research regarding how to successfully save | and load Rcpp Objects ( objects from modules ) for future use, but with | little success. For example, to use the example package (from package | ske

Re: [Rd] Link between Qt GUI and R

2011-09-11 Thread Dirk Eddelbuettel
On 11 September 2011 at 03:30, typhoong wrote: | hi, | | i want to build a Qt front-end GUI which communicates with R, and i am not | sure what i should use for the interface. There seems to be many ways: | R.dll, Rinside, Rcpp, RQt, Rtools... . what is the best way? please advice. | | basicall

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Dirk Eddelbuettel
On 14 September 2011 at 16:22, Simon Urbanek wrote: | | On Sep 14, 2011, at 4:15 PM, Brian Oney wrote: | | > Hi there, | > new idea (at 10 at night). All the emails keep me thinking (btw thanks for all the feedback). | > What does this do on linux? | > | > getOption("pdfviewer") | > ### I got

Re: [Rd] Revision of shell.exec?

2011-09-15 Thread Dirk Eddelbuettel
On 14 September 2011 at 16:56, Simon Urbanek wrote: | | On Sep 14, 2011, at 4:44 PM, Dirk Eddelbuettel wrote: | | > | > On 14 September 2011 at 16:22, Simon Urbanek wrote: | > | | > | On Sep 14, 2011, at 4:15 PM, Brian Oney wrote: | > | | > | > Hi there, | > | &g

Re: [Rd] Is it possible to pass a function argument from R to compiled code in C?

2011-09-20 Thread Dirk Eddelbuettel
On 20 September 2011 at 10:26, Alireza Mahani wrote: | I have a function in R that takes another function as argument: | | f <- function(g, ...) { #g is expected to be a function | } | | I want to see if there is a way to implement "f" in C and calling it from R | using ".C" interface. I know th

Re: [Rd] inconsolata font for building vignettes with R-devel

2011-09-23 Thread Dirk Eddelbuettel
On 23 September 2011 at 18:03, Ben Bolker wrote: | Just to save someone else a few seconds of googling: when you try to R | CMD check with recent versions of R-devel and you get | | * checking PDF version of manual ... WARNING | LaTeX errors when creating PDF version. | This typically indicates

Re: [Rd] building with tcltk on Ubuntu 14.04

2015-05-26 Thread Dirk Eddelbuettel
Ben, At work with little time so _real brief_: -- we build r-devel "all the time", in fact nightly for rocker; and there are Dockerfiles to look at -- we build R all the time in Debian, Ubuntu, ... and my sources for that are not on GH but you can fetch the diff.gz -- there is a

Re: [Rd] building with tcltk on Ubuntu 14.04

2015-05-28 Thread Dirk Eddelbuettel
On 28 May 2015 at 09:38, Jari Oksanen wrote: | On 28/05/2015, at 11:57 AM, Martin Maechler wrote: | >> Ben Bolker | >> False alarm. Completely wiping out my build directory followed by | > | >> ../R-devel/configure --with-tcl-config=/usr/lib/tclConfig.sh | >> - --with-tk-config=/usr/lib/tkC

Re: [Rd] NEWS.md support on CRAN

2015-06-02 Thread Dirk Eddelbuettel
Hi Kurt, On 1 June 2015 at 14:02, Kurt Hornik wrote: | > peter dalgaard writes: | | >> On 30 May 2015, at 01:20 , Imanuel Costigan wrote: | >> | >> So I assume this commit means NEWS.md is now no longer on blacklist? | >> | | > in the development version. Not true of released versio

Re: [Rd] NEWS.md support on CRAN

2015-06-02 Thread Dirk Eddelbuettel
On 2 June 2015 at 11:25, Duncan Murdoch wrote: | On 02/06/2015 11:05 AM, Dirk Eddelbuettel wrote: | > Hi Kurt, | > | > On 1 June 2015 at 14:02, Kurt Hornik wrote: | > | >>>>> peter dalgaard writes: | > | | > | >> On 30 May 2015, at 01:20 , Imanuel Costiga

Re: [Rd] Bug in loadNamespace?

2015-06-07 Thread Dirk Eddelbuettel
On 7 June 2015 at 20:46, Duncan Murdoch wrote: | I am seeing very strange behaviour in R 3.2.0 patched (r68272) and a new | build of R-devel. The sessioninfo() from the former is below. | | Here's what I see: If I set the locale, and trigger a namespace load, a | version comparison gives NA, an

Re: [Rd] additional leap second

2015-07-01 Thread Dirk Eddelbuettel
On 1 July 2015 at 07:36, Duncan Murdoch wrote: | On 01/07/2015 7:20 AM, Ei-ji Nakama wrote: | > hi, | > | > Index: leap_second/src/library/base/R/zdatetime.R | > === | > --- leap_second/src/library/base/R/zdatetime.R(revision 686

Re: [Rd] additional leap second

2015-07-03 Thread Dirk Eddelbuettel
On 1 July 2015 at 18:02, Ei-ji Nakama wrote: | sorry, i didnt watch src/main/datetime.c ... Thanks again -- I also made that update for a Debian build 3.2.1-4. Dirk | Index: leap_second/src/main/datetime.c | === | --- leap_second

Re: [Rd] add .emacs.desktop and .emacs.desktop.lock to files ignored by R CMD build?

2015-07-15 Thread Dirk Eddelbuettel
On 15 July 2015 at 11:44, Georgi Boshnakov wrote: | Is it possible to consider adding .emacs.desktop and .emacs.desktop.lock to files ignored by R CMD build? You do that at your end via a file .Rbuildignore. From Section 1.3.2 of WRE: To exclude files from being put into the package, one

Re: [Rd] ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit

2015-07-21 Thread Dirk Eddelbuettel
On 21 July 2015 at 02:15, MAURICIO ZAMBRANO BIGIARINI wrote: | Regarding the previous problem with setting up r-devel in Linux Mint | 17.1 64-bit, I deleted all the r-devel files I previously had, and | then I did the check out to the | | '~/svn/r-devel' | | directory originally mentioned by by

Re: [Rd] R-patched is now R-beta?

2015-08-06 Thread Dirk Eddelbuettel
On 6 August 2015 at 11:33, Peter Langfelder wrote: | Just downloaded the newest R-patched.tar.bz. DEcompressing and | untarring now produces a directory R-beta instead of the usual (for | me, at least) R. The file VERSION now says 3.2.2 beta. Just wanted to | double-check that there is no mixup of

Re: [Rd] update.packages(checkBuilt=TRUE, ask=FALSE): possible bug

2015-08-06 Thread Dirk Eddelbuettel
On 6 August 2015 at 20:16, Jose Claudio Faria wrote: | The bug described is occurring with all recent distributions available! | | I discovery today, after install R version 3.2.2 beta (2015-08-04 r68843), | that the bug happens when I copy my packages from old distribution to the | library folde

Re: [Rd] Build optimized R : openblas, MKL, ATLAS

2015-08-24 Thread Dirk Eddelbuettel
On 24 August 2015 at 11:43, arnaud gaboury wrote: | On Mon, Aug 24, 2015 at 11:29 AM, Bjørn-Helge Mevik | wrote: | > arnaud gaboury writes: | > | >> - Intel MKL: this is part of Intel Parallel Studio and is a paid | >> software. Now, there is the MKL package distributed by | >> Revolutionanalyti

<    1   2   3   4   5   6   7   8   9   10   >