# Tag Info

0

I updated R to version 3.1.1 (by removing R 3.1.0 and installing R 3.1.1 from source) - and voila, it works!

5

Add results="hide" to the chunk options. See the documentation. \documentclass{article} \begin{document} <<echo=FALSE, message=FALSE, warning=FALSE, results="hide">>= library(igraph) library(GGally) library(network) library(sna) # Set up data set.seed(123) g <- barabasi.game(1000) # Plot data ggnet(g, weight.method = "indegree") @ ...

1

I have discovered that, at least under Windows 7 (64 bit), there appears to be a race condition in the OS (maybe there is some sort of caching of the directory that takes a while to update?), where the lockfile is sometimes deleted, but a subsequent call to create a lockfile fails because the OS reports the lockfile is still present. This happens ...

2

In this case, you are basically out of luck. You cannot draw plots with too many graphical elements using the tikz device in R. You have to either simplify your plot, or use another graphical device (such as the default pdf device; if you really care a lot about the font family, you may take a look at this blog post).

2

If you look at your example, the table does not have a number. I assume you want to reference the table number, so first we must give the table a number. To do this, use the caption argument. Second, when using xtable, you have to be careful with which arguments you want to give to xtable and which arguments to print.xtable. You are currently passing the ...

3

Try this: #' \documentclass[a4paper, 10pt]{article} #' \begin{document} mean(1:10) plot(1:10) #' \end{document}

Top 50 recent answers are included