Questions tagged [r-brew]

5 questions
4
votes
1 answer

old script, new server, unexpected error

I have an R script that pulls data from a MySQL database, processes it, creates several charts and graphs, prints these graphs to files and returns the file names as strings. It was working fine on our old server (Solaris 10 (32bit) running…
dnagirl
  • 20,196
  • 13
  • 80
  • 123
2
votes
0 answers

How to display a ggplot figure when using Brew package in R? Keep getting error

I am using the Brew package in R to create a markdown file with results from my analysis. Using the Brew syntax, my code looks like: <%= ggplot.hist %> where ggplot.hist is my ggplot object. However, I keep getting the following error: Error in…
AlexP
  • 577
  • 1
  • 4
  • 15
0
votes
1 answer

Use MySQL database query results to plot R graph using RApache and Brew

I am trying to plot a graph using R which is populated by MySQL query results. I have the following code: rs = dbSendQuery(con, "SELECT BuildingCode, AccessTime from access") data = fetch(rs, n=-1) x = data[,1] y =…
Dom Abbott
  • 1,157
  • 2
  • 8
  • 11
0
votes
1 answer

passing a String from an R Script to .Rnw template R code section ,brew/knitr

this is my first ever post and I am quite new to all of this, so I hope I am doing this right. my problem is the following: I wrote some R code to get some ID's from a Database, which are then used to brew templates. the template uses Knitr R to…
0
votes
1 answer

R brew select statement

Question - Re: R brew package with HTML (using Rook) When using forms to retrieve queries, usually when the screen refreshes, the user's preselected option remains selected in the form. For eg., if there was a name field and I enter John,... enter…
xbsd
  • 2,438
  • 4
  • 25
  • 35