Displaying 2 results from an estimated 2 matches for "con_stat".
Did you mean:
conn_stat
2010 May 10
3
dbSendQuery with R variables
Rhelpers:
I'd like to modify this RSQLite statement:
rs_stations<-dbSendQuery(con_stations, "select * from stations")
so that stations is actually an R variable, e.g.:
stations=c("stationA","stationB")
How would I modify the above statement to query from stations[[1]]
(aka "stationA")?
--j
2008 Nov 04
2
Problem: Sweave and math environments
...} 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.
through setting opti...