[R] knitr

2012-08-30 Thread Sven D
Hello, after trying to convert to pdf using knitr, I get the following error messages from the error log: C:/Users/duve/Documents/plots2.tex:5: LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help You're in trouble here. Tr

[R] Compilation Error with Rcpp

2012-07-15 Thread Sven D
Hello, I am trying to reproduce a code example from http://www.babelgraph.org/wp/?p=358 babelgraph when compiling the function to call the C++ code I get the following error: Error in compileCode(f, code, language = language, verbose = verbose) : Compilation ERROR, function(s)/method(s) not

Re: [R] Problems installing Packages

2012-06-04 Thread Sven D
Thanks for the replies, 1st, installing the BLAS library indeed worked out, and I was able to load the packages. 2nd, I was trying to build from repository directly. But even worse, I cannot tell you if i touched the BLAS linker flags, BUT there seem to be more problems of a similar nature, ie.

[R] Problems installing Packages

2012-06-03 Thread Sven D
Hello, I am going through Zhao's RDataMining PDF, and to redo all the graphics on my computer, I need several packages, 'coin' and 'party' to name two. I get the following error: > install.packages("coin") Installing package(s) into β€˜/home/sven/R/i686-pc-linux-gnu-library/2.15’ (as β€˜lib’ is uns

Re: [R] Help with this web scrape function

2012-06-02 Thread Sven D
Would like to see this at the top again, as I think it did not get pick up when I posted it initially. Apologies, last try. -- View this message in context: http://r.789695.n4.nabble.com/Help-with-this-web-scrape-function-tp4632137p4632169.html Sent from the R help mailing list archive at Nab

[R] Help with this web scrape function

2012-06-01 Thread Sven D
Hello, I am looking to scrape this Webpage: http://toast.gasunie.de/gud/search.aspx?soid=GUD&lang=de The page uses the method "POST", it contains various HTML Forms, mostly lists and a couple of radio buttons. After submit, I should get forwarded to a new page. Which selections are being made in

[R] RCurl > postForm() not working for me

2012-05-28 Thread Sven D
Hello, I am trying the postForm() function on a very simple webpage: http://www.colby.edu/chemistry/PChem/Hartree.html I am simply trying to fill the "Hartrees" text form with the value "100". But running this: url = "http://www.colby.edu/chemistry/PChem/Hartree.html"; test = postForm(url, H="

[R] Webscraping Data RCurl

2012-05-27 Thread Sven D
Hello, I am trying to gather data from the following page: http://toast.gasunie.de/Pages/search.aspx?lang=en&soid=GUD I am trying to get hourly data. I did the following: url = "http://toast.gasunie.de/Pages/search.aspx?lang=en&soid=GUD"; getFormParams(url) fair enough, this did not return any

Re: [R] Problem with readHTMLTable

2012-05-27 Thread Sven D
Thanks Michael, thanks Arun, silly enough, I actually had to restart the whole thing. And the function now performs pretty well. Many thanks Sven -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-readHTMLTable-tp4631439p4631498.html Sent from the R help mailing li

[R] Problem with readHTMLTable

2012-05-26 Thread Sven D
Hello All, i was trying to simply run the readHTMLTable on the example published in the package. And on a page I was working on. So running: u = "http://en.wikipedia.org/wiki/List_of_countries_by_population"; tables = readHTMLTable(u) returns the following error: Error in tb[["thead"]] : subscr