<div dir="ltr"><div>Hi Kyle, <br><br></div>The<br><br><div><div><span style="font-size:12pt">  pdflatex is not available<br><br></span></div><div><span style="font-size:12pt">message probably means that pdflatex is not in your PATH. Did you install MikTeX (step 3. in the guide you mentioned) ?<br>
</span></div><div><span style="font-size:12pt">If yes you will also need to add its bin folder to the PATH.<br><br></span></div><div><span style="font-size:12pt">If there are Eclipse/StatET specific issues, don't hesitate to post on the mailing list <br>
at<br><br><a href="http://lists.r-forge.r-project.org/mailman/listinfo/statet-user">http://lists.r-forge.r-project.org/mailman/listinfo/statet-user</a><br></span></div><div><span style="font-size:12pt"><br></span></div><div>
<span style="font-size:12pt">HTH,<br>Tobias<br><br></span></div><div><span style="font-size:12pt">P.S. An integrated version of Eclipse, StatET and R is available as 'Architect' from <a href="http://openanalytics.eu">openanalytics.eu</a> (and from <a href="http://deb.openanalytics.eu">deb.openanalytics.eu</a> for a GNU/Linux version);<br>
</span></div><div><span style="font-size:12pt">this would 'only' leave you to configure the CDT / Rcpp side of things<br></span></div><div><span style="font-size:12pt"><br></span></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jun 20, 2013 at 6:20 AM, Kyle Rijneke <span dir="ltr"><<a href="mailto:kyle_rijneke@hotmail.com" target="_blank">kyle_rijneke@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">


<div dir="ltr"><br>I have spent two days trying to run through this 'guide' to setting up the software... <a href="http://stackoverflow.com/questions/12886517/how-to-set-up-eclipse-statet-rcpp-on-windows" style="font-size:12pt" target="_blank">http://stackoverflow.com/questions/12886517/how-to-set-up-eclipse-statet-rcpp-on-windows</a><div>
<br></div><div>Only 158 build errors... </div><div><br></div><div>Build info:</div><div>R 2.15.1 installed to C:\R  (no spaces)</div><div>Installed both packages: <span style="background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;font-size:13.600000381469727px;line-height:17.600000381469727px">install.packages(c("Rcpp","RInside"),type="source")</span></div>
<div>Rtools 2.15 installed and <span style="background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;font-size:13.600000381469727px;line-height:17.600000381469727px">C:\Rtools\bin; C:\Rtools\gcc-4.6.3\bin; C:\R\R-2.15.1\bin\i386; </span><span style="font-size:12pt">added to the environment PATH variable</span></div>
<div>Eclipse + CDT : I downloaded the <span style="font-family:Arial,sans-serif;font-size:12px;line-height:16px">eclipse-cpp-juno-SR2-win32.zip file </span><span style="font-size:12pt">aasd.</span></div><div>I created the skeleton package: <span style="background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;font-size:13.600000381469727px;line-height:17.600000381469727px">Rcpp.package.skeleton("MyCppPackage", module=TRUE)</span></div>
<div><span style="font-size:12pt">and dragged the files over to the "MyCppPackage"</span></div><div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">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:</span></div>
<div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">Cross G++ Compiler:</span></div><div>-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</div>
<div><br></div><div>Cross G++ Linker:</div><div>-L"C:\R\R-2.15.1\library" -shared</div><div><br></div><div><span style="font-size:12pt">Cross G++ linker </span>Miscellaneous Tab:</div><div><div>"C:\R\R-2.15.1\bin\i386\R.dll"</div>
<div>"C:\R\R-2.15.1\library\Rcpp\lib\i386\libRcpp.a"</div><div>"C:\R\R-2.15.1\library\RInside\lib\i386\libRInside.a"</div></div><div><br></div><div>The console loads up just fine.</div><div><span style="font-size:12pt"><br>
</span></div><div><span style="font-size:12pt">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?</span></div>
<div><br></div><div>And here comes my problem(s):</div><div><span style="font-size:12pt">R CMD CHECK returns ... OK for most lines and at the end says " Hmm ... looks like  a package"</span></div><div> the only error it gives is </div>
<div>Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : </div><div><span style="font-size:12pt">  pdflatex is not available</span></div><div>and </div><div><span style="font-size:12pt">Error in running tools::texi2pdf</span></div>
<div><div><br></div><div>R CMD INSTALL  / R CMD BUILD return 158 errors (but sometimes INSTALL works anyway). </div></div><div>These errors are mostly of the same type:</div><div>Description:</div><div>'x' was not declared in this scope</div>
<div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">Resource</span></div><div><span style="font-size:12pt">MyCppPackage</span></div><div><span style="font-size:12pt"><br></span></div><div>
<span style="font-size:12pt">Path</span></div><div><span style="font-size:12pt">(Blank)</span></div><div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">Location</span></div><div><div><span style="font-size:12pt">line xyz, external location: C:\R\R-2.15.1\library\Rcpp\include\Rcpp\string.h</span></div>
<div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">Type</span></div><div><span style="font-size:12pt">C/C++ Problem</span></div><div><span style="font-size:12pt"><br></span></div><div>If I want to attach a reproducible example, do I just attach the entire "MyCppPackage" project? I have attached the build log file.</div>
<div><br></div><div>Any advice would be greatly appreciated. </div><div><span style="font-size:12pt"><br></span></div><div style="font-size:12pt"><br></div></div><div><br></div><div><span style="font-size:12pt"><br></span></div>
<div><br></div></div>
                                          </div></div>
<br>_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br></blockquote></div><br></div>