Displaying 1 result from an estimated 1 matches for "01wh155073".
2010 Feb 09
1
Help on R functions
...select * from dbname .. dbtablename"))
return(dim(initdata))
}
I have written this function which has input parameters like servername
,dbname and dbtable to connect to Ms SQL server 2005 and get data from the
table.
Now when I run this function using the following command
myfunction("01wh155073","test_DB","test_vikrant")
The variable initdata should contain all the data. But it does not contain
any data and dim(initdata)) is NULL.
I dont know how to pass the strings as parameters in the function. Do I
have done this correctly?
If I run the same commands direc...