Displaying 2 results from an estimated 2 matches for "processed_data".
Did you mean:
process_data
2007 Nov 02
0
RMySQL inserting data problem
...rying to insert data in a data.frame into a database table using the RMySQL package
m <- dbDriver("MySQL")
con <- dbConnect(m, host = "blah", user = "blah", password = "blah", dbname = "blah")
proid <- dbGetQuery(con, "select max(processed_data_id)+1 from processed_data")
spot <- array.norm$arrayValues$spot_index
name <- array.norm$arrayValues$name
log <- array.norm$arrayValues$LogRatioNorm
snr <- array.norm$arrayValues$snr
empty <- NA
insert <- data.frame(proid, sp...
2009 Dec 11
3
Please help with a basic function
Hello,
I am learning how to use functions, but I'm running into a roadblock.
I would like my function to do two things: 1) convert an object to a
dataframe, 2) and then subset the dataframe. Both of these commands work
fine outside the function, but I would like to wrap them in a function so I
can apply the code iteratively to many such objects.
Here's what I wrote, but it doesn't