So the best solution I've had just yet for this problem is to convert numeric
to character in C and bypass the Fortran "Write" in that way. Unfortunately
my C is a bit rusty and I'm having trouble getting this to work. I image in
the C it should look something like:
void F77_SUB(converti)(char *c
On Mar 17, 2014, at 1:17 PM, Axel Urbiz wrote:
> Hello,
>
> I'm trying to build a package to submit to CRAN using R-devel 3.2.0 MAC OS
> from http://r.research.att.com/.
>
> As my package has dependencies, where should I get the contributed packages
> for this R-devel version? I found the packa
Hi,
I am sorry if this is perceived as a C++ question rather than an R
question. After uploading an R library to CRAN (MCMCglmm) the C++ code
failed to pass the memory checks. The errors come in pairs like:
Mismatched free() / delete / delete []
at 0x4A077E6: free (vg_replace_malloc.c:446)
Hello,
I'm trying to build a package to submit to CRAN using R-devel 3.2.0 MAC OS
from http://r.research.att.com/.
As my package has dependencies, where should I get the contributed packages
for this R-devel version? I found the package sources here
http://r.research.att.com/src/contrib/3.2.0/, b
On 17/03/2014 11:39, Dirk Eddelbuettel wrote:
Bill,
On 17 March 2014 at 12:54, Bill Wang wrote:
| Thanks for your reply, I neede convert time_t to R type in C code, can not use
| Rcpp. Maybe Rcpp source code could help me.
Start by reading 'Writing R Extensions' and figure out how to send an i
Hi Sandip,
I think that you know on the 64-bit Unix/Linux/OS X platforms, long is
64-bit whereas int and INTEGER are 32-bit, so return directly Integer
unexpected problems may occur.
Cheers,
Bill
2014-03-17 13:24 GMT+08:00 Sandip Nandi :
> Hi Bill ,
>
> The following C code may help you , tim
On 16 March 2014 at 22:24, Sandip Nandi wrote:
| Hi Bill ,
|
| The following C code may help you , time_t is typedef to long int
|
| SEXP getTime() {
|
| time_t current_time;
| char* c_time_string;
| current_time = time(NULL);
| c_time_string = ctime(¤t_time);
|
| return mk
Bill,
On 17 March 2014 at 12:54, Bill Wang wrote:
| Thanks for your reply, I neede convert time_t to R type in C code, can not use
| Rcpp. Maybe Rcpp source code could help me.
Start by reading 'Writing R Extensions' and figure out how to send an int
back and forth. Then cast between int and ti
Do use current R (3.1.0 alpha at present: 3.0.2 is obsolete) before
reporting such things. I think you will see that this has changed
On 17/03/2014 09:13, Kirill Müller wrote:
Hi
It seems that selecting an element of a factor will copy its levels
(Ubuntu 13.04, R 3.0.2). Below is the ou
Hi
It seems that selecting an element of a factor will copy its levels
(Ubuntu 13.04, R 3.0.2). Below is the output of a script that creates a
factor with 1 elements and then calls as.list() on it. The new
object seems to use more than 700 MB, and inspection of the levels of
the individu
10 matches
Mail list logo