Skip to content
Prev 32176 / 63421 Next

Hello! I got error in C - R

Dear Ick Hoon Jin,

Your problem is probably due to a misspecification in memory allocation
within your C code. To solve this you can:

      * check by yourself whenever there is C memory allocation - by the
        way I think it's best to use R memory allocation i.e. R_alloc
      * use valgrind (see Writing R extension for this) as you're under
        Linux and this will give you some guidance to find where the
        problem is.

Best,
Mathieu


Le vendredi 03 avril 2009 ? 03:47 +0200, kentjin at stat.tamu.edu a ?crit :