Might not be the best place to ask, but i could get lucky..

I have setup an eclipse environment to write sweave files lately and wanted to switch to knitr. I could get it to work on easy files, but my earlier written sweave file fails to be knit properly.

Here is the error message:

Quitting from lines 273-276: Error in setwd(base.dir) : kann Arbeitsverzeichnis nicht wechseln (it says: cannot change workspace)

The chunk that is 273-276:

<<getdata,echo=F>>=
library(e1071)
source("/src/TestRandomStuff.R")
allData<-createNormallyDistributedClasses(2, c(-2,2), 50, 2)
@

Further mentions of the chunk in console (its strangely listed twice):

|>>>>>>>>>>>>>>>>>>>>>>>>                                         |  37%
label: getdata (with options) 
List of 1
 $ echo: logi FALSE

label: getdata (with options) 
List of 1
 $ echo:length 1 F
  ..- attr(*, "id")= int 98
	[[alternative HTML version deleted]]

