[Rd] Problem in linking a library in R package

2013-06-17 Thread Gaurav Sehrawat
1.I have a library fpmpi . I made the shared library fpmpi.so from this library.I am using ubuntu . 2.Now, I want to use in my R package .My R package has src folder the there is makevars.in file ### Setup R source code and objects. PKG_CPPFLAGS = @PKG_CPPFLAGS@ PKG_LIBS =

[Rd] carol white

2013-06-17 Thread carol white
ttpo http://www.jumperlearningcenter.com/jzbyai/RNDCHR,3,15%/mtojraunf/cefetuybojqjp/nzpyrhzjxmclm.htm xmpf [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem in linking a library in R package

2013-06-17 Thread Suzen, Mehmet
On 16 June 2013 17:31, Gaurav Sehrawat igauravsehra...@gmail.com wrote: fine the shared library path in it. And how would i verify it has been loaded. The library is dynamic i have check using ldd fpmpi.so have you tried setting environment variable LD_LIBRARY_PATH:

Re: [Rd] Problem in linking a library in R package

2013-06-17 Thread Dirk Eddelbuettel
On 16 June 2013 at 21:01, Gaurav Sehrawat wrote: | 1.I have a library fpmpi . I made the shared library fpmpi.so from this | library.I am using ubuntu . | | 2.Now, I want to use in my R package .My R package has src folder the there | is makevars.in file [...] | where do i define the shared

[Rd] Odd behavior of symbol objects with classes/attributes

2013-06-17 Thread Winston Chang
I've been trying to add classes and attributes to symbol objects (created with quote()), and the behavior is very strange, as illustrated in the examples below. If symbols aren't meant to have classes and attributes attached to them, then perhaps R should throw errors when you attempt to do it?

Re: [Rd] Odd behavior of symbol objects with classes/attributes

2013-06-17 Thread Duncan Murdoch
On 17/06/2013 1:01 PM, Winston Chang wrote: I've been trying to add classes and attributes to symbol objects (created with quote()), and the behavior is very strange, as illustrated in the examples below. If symbols aren't meant to have classes and attributes attached to them, then perhaps R

Re: [Rd] Odd behavior of symbol objects with classes/attributes

2013-06-17 Thread luke-tierney
On Mon, 17 Jun 2013, Duncan Murdoch wrote: On 17/06/2013 1:01 PM, Winston Chang wrote: I've been trying to add classes and attributes to symbol objects (created with quote()), and the behavior is very strange, as illustrated in the examples below. If symbols aren't meant to have classes and

[Rd] eigen(symmetric=TRUE) for complex matrices

2013-06-17 Thread robin hankin
R-3.0.1 rev 62743, binary downloaded from CRAN just now; macosx 10.8.3 Hello, eigen(symmetric=TRUE) behaves strangely when given complex matrices. The following two lines define 'A', a 100x100 (real) symmetric matrix which theoretical considerations [Bochner's theorem] show to be positive

Re: [Rd] Odd behavior of symbol objects with classes/attributes

2013-06-17 Thread Winston Chang
Thanks for the feedback, that clears things up. -Winston On Mon, Jun 17, 2013 at 1:29 PM, luke-tier...@uiowa.edu wrote: On Mon, 17 Jun 2013, Duncan Murdoch wrote: On 17/06/2013 1:01 PM, Winston Chang wrote: I've been trying to add classes and attributes to symbol objects (created with