[Rcpp-devel] Problem setting up Eclipse + StatET + Rcpp

Tobias Verbeke tobias.verbeke at gmail.com
Thu Jun 20 13:23:36 CEST 2013


Hi Kyle,

The

  pdflatex is not available

message probably means that pdflatex is not in your PATH. Did you install
MikTeX (step 3. in the guide you mentioned) ?
If yes you will also need to add its bin folder to the PATH.

If there are Eclipse/StatET specific issues, don't hesitate to post on the
mailing list
at

http://lists.r-forge.r-project.org/mailman/listinfo/statet-user

HTH,
Tobias

P.S. An integrated version of Eclipse, StatET and R is available as
'Architect' from openanalytics.eu (and from deb.openanalytics.eu for a
GNU/Linux version);
this would 'only' leave you to configure the CDT / Rcpp side of things



On Thu, Jun 20, 2013 at 6:20 AM, Kyle Rijneke <kyle_rijneke at hotmail.com>wrote:

>
> I have spent two days trying to run through this 'guide' to setting up the
> software...
> http://stackoverflow.com/questions/12886517/how-to-set-up-eclipse-statet-rcpp-on-windows
>
> Only 158 build errors...
>
> Build info:
> R 2.15.1 installed to C:\R  (no spaces)
> Installed both packages:
> install.packages(c("Rcpp","RInside"),type="source")
> Rtools 2.15 installed and C:\Rtools\bin; C:\Rtools\gcc-4.6.3\bin;
> C:\R\R-2.15.1\bin\i386; added to the environment PATH variable
> Eclipse + CDT : I downloaded the eclipse-cpp-juno-SR2-win32.zip file aasd.
> I created the skeleton package: Rcpp.package.skeleton("MyCppPackage",
> module=TRUE)
> and dragged the files over to the "MyCppPackage"
>
> I ran through all the steps in the 'guide'... Created the R build configs,
> set up the R console, Iv done exactly everything the tutorial said.  Here
> are my C/C++ Build Settings:
>
> Cross G++ Compiler:
> -DINSIDE -I"C:\R\R-2.15.1\include" -I"C:\R\R-2.15.1\library\Rcpp\include"
> -I"C:\R\R-2.15.1\library\Rcpp\include\Rcpp"
> -I"C:\R\R-2.15.1\library\RInside\include" -O0 -g3 -Wall -c
> -fmessage-length=0
>
> Cross G++ Linker:
> -L"C:\R\R-2.15.1\library" -shared
>
> Cross G++ linker Miscellaneous Tab:
> "C:\R\R-2.15.1\bin\i386\R.dll"
> "C:\R\R-2.15.1\library\Rcpp\lib\i386\libRcpp.a"
> "C:\R\R-2.15.1\library\RInside\lib\i386\libRInside.a"
>
> The console loads up just fine.
>
> Inside the "MyCppPackage" project the files dont contain bug icons or red
> underlines which I guess means that the script files pick up the functions,
> the libraries must be references correctly I suppose?
>
> And here comes my problem(s):
> R CMD CHECK returns ... OK for most lines and at the end says " Hmm ...
> looks like  a package"
>  the only error it gives is
> Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,
>  :
>   pdflatex is not available
> and
> Error in running tools::texi2pdf
>
> R CMD INSTALL  / R CMD BUILD return 158 errors (but sometimes INSTALL
> works anyway).
> These errors are mostly of the same type:
> Description:
> 'x' was not declared in this scope
>
> Resource
> MyCppPackage
>
> Path
> (Blank)
>
> Location
> line xyz, external location:
> C:\R\R-2.15.1\library\Rcpp\include\Rcpp\string.h
>
> Type
> C/C++ Problem
>
> If I want to attach a reproducible example, do I just attach the entire
> "MyCppPackage" project? I have attached the build log file.
>
> Any advice would be greatly appreciated.
>
>
>
>
>
>
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130620/5f693008/attachment.html>


More information about the Rcpp-devel mailing list