Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with knit #1

Open
AdamAlagiah opened this issue Jan 20, 2016 · 4 comments
Open

Errors with knit #1

AdamAlagiah opened this issue Jan 20, 2016 · 4 comments

Comments

@AdamAlagiah
Copy link

When I knit GAReport I get the following error message. GoogleVis package is loaded, and the function gvisTable works when I run it in the console. Cannot find help for this error online.
image

@beingPratap
Copy link

Did you explicitly load googleVis?
Try adding this line before line number 26 on your code -

library(googleVis)

@Marcusan
Copy link

I'm running into the exact same issue. googleVis was explicitely loaded, and I entered the library(googleVis) command.

@tevgeniou
Copy link
Collaborator

try running all "code chunks" line by line. see also the new files in https://github.com/tevgeniou/BDACaseStudyGA

@ciri
Copy link

ciri commented Jan 22, 2016

Explicitly loading should help, you need to do this in the Markdown document itself:

library(googleVis)
local_directory <- getwd()
source(paste(local_directory,"../R/library.R", sep="/"))
gadata <- within(read.csv(paste(local_directory,"../data/GACaseStudyData.csv", sep="/")),rm("X"))
t1 <- gvisTable(gadata[1:1000,],options = list(showRowNumber = FALSE, width = 800, height = min(400,27*(nrow(gadata) + 1)), allowHTML = TRUE, page = 'disable'))
print(t1,'chart')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants