Site perso : Emmanuel Branlard

Defining the main workspace

In file mains.r, modify the line : language=R, numbers=none, frame=none, breaklines=true, backgroundcolor= , keywordstyle= , showstringspaces=false, basicstyle=, numberstyle=, framexleftmargin=13mm, xleftmargin=12mm
\begin{lstlisting}
assign(''ROOTDIR'',''/home/ebranlar/SpaceCharge'',envir=.GlobalEnv)
\end{lstlisting}
And replace "/home/ebranlar/SpaceCharge", by any absolute path from which your work documents will be placed. This will define the global variable "ROOTDIR". Each time you call language=R, numbers=none, frame=none, breaklines=true, backgroundcolor= , keywordstyle= , showstringspaces=false, basicstyle=, numberstyle=, framexleftmargin=13mm, xleftmargin=12mm
\begin{lstlisting}
setwd.spch('''')
\end{lstlisting}
R will go in this directory. If you call language=R, numbers=none, frame=none, breaklines=true, backgroundcolor= , keywordstyle= , showstringspaces=false, basicstyle=, numberstyle=, framexleftmargin=13mm, xleftmargin=12mm
\begin{lstlisting}
setwd.spch(''simulations/'')
\end{lstlisting}
R will go in the sub directory "simulations" that is hopefully in the directory you gave for your path ("ROOTDIR").








Emmanuel Branlard