[R] RES: Compile C files

Frederico Mestre mestre.frederico at gmail.com
Wed Jun 27 02:33:32 CEST 2012


Hello:

I just reinstalled R and Rtools. 

It works perfectly now.

Thanks,

Frederico 



-----Mensagem original-----
De: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Enviada em: quarta-feira, 27 de Junho de 2012 01:06
Para: Frederico Mestre
Cc: r-help at r-project.org
Assunto: Re: [R] Compile C files

On 12-06-26 2:48 PM, Frederico Mestre wrote:
> Hello:
>
>
>
> Sorry, this might look like a beginner question, but I'm just starting 
> to work on the C and R interface.
>
>
>
> I'm trying to compile a C file (with a function) to load it to an R 
> function but, in the command line I keep getting a lot of errors, like:

You'll need to tell us what you did before  you can expect us to interpret
the error messages.

Duncan Murdoch

>
>
>
> "C:/Program~1/R/R-215~1.0/include/Rinternals.h:1066:1: error: expected 
> declaration specifiers before 'SEXP'"
>
>
>
> I've been able to compile this file before, so I
>
>
>
> I'm using Windows 7 in a 64 bits computer.
>
>
>
> Best regards,
>
>
>
> Frederico
>
>
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list