## Not run:
# # DONTRUN IS SET SO THIS IS NOT EXECUTED WHEN PACKAGE IS COMPILED - BUT THIS
# # HAS BEEN TESTED THOROUGHLY BEFORE UPLOADING TO THE REPOSITORY
#
# # Read in the results of a particular env state file, in this case iteration 40
# simResponse<-
# readSimResultFile("/home/user/iDynoMiCS/results/","env_State",40)
#
# # Get the simulation iteration
# iteration<-env_returnSimIteration(simResponse)
#
# # Get the simulation time
# time<-env_returnSimTime(simResponse)
#
# # Get the solute grid information, for a given solute. Let's say the first
# res<-env_returnSoluteGridRes(simResponse,1)
# i<-env_returnSoluteGridIVoxels(simResponse,1)
# j<-env_returnSoluteGridJVoxels(simResponse,1)
# k<-env_returnSoluteGridKVoxels(simResponse,1)
#
# # Get the biomass thickness information from the file
# meanThick<-env_returnMeanBiofilmThickness(simResponse)
# maxThick<-env_returnMaxBiofilmThickness(simResponse)
# stdDevThick<-env_returnStdDevBiofilmThickness(simResponse)
#
# # Get the global production rates at this timepoint
# gpr<-env_returnGlobalProductionRates(simResponse)
#
# # Get the concentration and rate change of solutes, at this timepoint
# c_rc<-env_returnConcentrationAndRateChange(simResponse)
#
# # Get the solute grid information for a particular solute, such as glucose.
# #In this example, glucose is the first solute
# glucoseGrid<-env_returnSpecifiedSoluteData(simResponse, 1)
#
# ## End(Not run)
Run the code above in your browser using DataLab