Thank you, Dan! The video helps a lot indeed!!
Best,
Charles
On Mon, Feb 2, 2015 at 9:14 PM, Dan Tenenbaum
wrote:
>
>
> - Original Message -
> > From: "Gabriel Becker"
> > To: "Charles Novaes de Santana"
> > Cc: "r-devel"
> > Sent: Monday, February 2, 2015 12:02:27 PM
> > Subject: R
- Original Message -
> From: "Gabriel Becker"
> To: "Charles Novaes de Santana"
> Cc: "r-devel"
> Sent: Monday, February 2, 2015 12:02:27 PM
> Subject: Re: [Rd] A good way to debug a c++ library embedded to R code
>
> Charles,
>
> Run R under gdb
>
> R -d gdb
>
> You can then set b
Thank you, Gabriel! I didn't know I could do it! I will try it!
Best,
Charles
On Mon, Feb 2, 2015 at 9:02 PM, Gabriel Becker wrote:
> Charles,
>
> Run R under gdb
>
> R -d gdb
>
> You can then set breakpoints and catch problems in C(++) code run under R.
>
> ~G
>
> On Mon, Feb 2, 2015 at 10:59
Charles,
Run R under gdb
R -d gdb
You can then set breakpoints and catch problems in C(++) code run under R.
~G
On Mon, Feb 2, 2015 at 10:59 AM, Charles Novaes de Santana <
charles.sant...@gmail.com> wrote:
> Dear all,
>
> I am using R CMD SHLIB to compile a c++ code into a library (.so) and
Dear all,
I am using R CMD SHLIB to compile a c++ code into a library (.so) and
dyn.load to load this library into a R code. I am facing some problems in
the c++ code that I can not figure out how to solve. Do you recomend any
good way to debug this R + C++ program? If I was programming only in C+
On 2 February 2015 at 10:07, William Dunlap wrote:
>
> If all goes well then
>eigen(lastEigenX)
> will cause the same error and you or someone on this list can see what
> is odd about that matrix (e.g., by looking at its singular values).
Preferably *not* this list as this doesn't really se
You can start diagnosing the problem by capturing the matrix that caused
eigen() to stop. You can do this in a variety of ways; here is one
trace(eigen, quote(lastEigenX <<- x))
After setting the trace, make your offending function call and after the
error the global variable 'lastEigenX' wil
Sorry for being unclear. I am using R x64 3.1.2 for simulation. Basically I
got a matrix of genetic data and calculated the kernel matrix. Now I have
trouble applying eigen function on the kernel matrix for a few simulations
but not most of them. I tried other methods but none of them worked. I gue
fortune candidate
On Mon, Feb 2, 2015 at 8:54 AM, peter dalgaard wrote:
>
> On 02 Feb 2015, at 04:08 , eigen wrote:
>
> > Thank you for your reply. Do you have any idea of how to get rid of the
> > errors? I tried Null function to calculate eigenvectors and nearPD to get
> > approximate positiv
On 02 Feb 2015, at 04:08 , eigen wrote:
> Thank you for your reply. Do you have any idea of how to get rid of the
> errors? I tried Null function to calculate eigenvectors and nearPD to get
> approximate positive definite matrix first but they also had errors.
>
How could we? All we know is t
Thank you for your reply. Do you have any idea of how to get rid of the
errors? I tried Null function to calculate eigenvectors and nearPD to get
approximate positive definite matrix first but they also had errors.
--
View this message in context:
http://r.789695.n4.nabble.com/error-code-1-from
On 02/02/2015 11:40, Teodor Krastev wrote:
Hello,
after many failed attempts to correctly write BinaryFiles file
"R CMD check will warn about them unless they are listed (one filepath per
line) in a file BinaryFiles at the top level of the package." - CRAN docs
Not 'CRAN docs': CRAN does not a
Hello,
after many failed attempts to correctly write BinaryFiles file
"R CMD check will warn about them unless they are listed (one filepath per
line) in a file BinaryFiles at the top level of the package." - CRAN docs
would somebody kindly provide an example of BinaryFiles file?
thank you
Theo
> Michael Lawrence
> on Sun, 1 Feb 2015 19:23:06 -0800 writes:
> I've implemented the proposed changes in
> R-devel. Minimally tested, so please try it. It should
> delegate to r/cbind2 when there is at least one S4
> argument and S3 dispatch fails (so you'll probably
14 matches
Mail list logo