search for: pre_year

Displaying 1 result from an estimated 1 matches for "pre_year".

Did you mean: fire_year
2008 Nov 04
2
Problem: Sweave and math environments
...are within the {Sinput} environment. The problem now is that I sometimes have an unequal number of $ signs in an input line, so that LaTex thinks that all of the following "normal" text is still part of the math environment, and formats it accordingly. This is an example input line: Pre_Year <- MyMain3$Con_Stat[MyMain3$MyID==ID_Count[i] & MyMain3$MyYear==Count_Years[y-1]] where I have three $ sings, and LaTex thinks that everything following the last $ sign is still part of a formula. I have two question now: 1. Is there any way to solve the problem within Sweave itself, e.g...