Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
GeneralRe: ODBC method in Microsoft.Practices.EnterpriseLibrary.Data Pin
srikrishnathanthri19-Jun-16 21:59
srikrishnathanthri19-Jun-16 21:59 
SuggestionRe: ODBC method in Microsoft.Practices.EnterpriseLibrary.Data Pin
Sascha Lefèvre20-Jun-16 0:06
professionalSascha Lefèvre20-Jun-16 0:06 
GeneralRe: ODBC method in Microsoft.Practices.EnterpriseLibrary.Data Pin
Pete O'Hanlon20-Jun-16 0:42
mvePete O'Hanlon20-Jun-16 0:42 
GeneralRe: ODBC method in Microsoft.Practices.EnterpriseLibrary.Data Pin
srikrishnathanthri21-Jun-16 2:00
srikrishnathanthri21-Jun-16 2:00 
AnswerRe: ODBC method in Microsoft.Practices.EnterpriseLibrary.Data Pin
srikrishnathanthri22-Jun-16 1:26
srikrishnathanthri22-Jun-16 1:26 
QuestionNeed help in Skype API [C#] Pin
Member 1255136118-Jun-16 10:59
Member 1255136118-Jun-16 10:59 
AnswerRe: Need help in Skype API [C#] Pin
Pete O'Hanlon19-Jun-16 19:56
mvePete O'Hanlon19-Jun-16 19:56 
GeneralRe: Need help in Skype API [C#] Pin
Member 1255136119-Jun-16 23:03
Member 1255136119-Jun-16 23:03 
GeneralRe: Need help in Skype API [C#] Pin
Pete O'Hanlon19-Jun-16 23:15
mvePete O'Hanlon19-Jun-16 23:15 
Questioncreating a folder on console application with c# by clicking on it's .exe file ! Pin
Manoj Kumar Miriyala17-Jun-16 20:58
professionalManoj Kumar Miriyala17-Jun-16 20:58 
AnswerRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
OriginalGriff17-Jun-16 21:10
mveOriginalGriff17-Jun-16 21:10 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Manoj Kumar Miriyala17-Jun-16 21:18
professionalManoj Kumar Miriyala17-Jun-16 21:18 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
OriginalGriff17-Jun-16 21:33
mveOriginalGriff17-Jun-16 21:33 
QuestionRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Richard MacCutchan17-Jun-16 21:10
mveRichard MacCutchan17-Jun-16 21:10 
AnswerRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Manoj Kumar Miriyala17-Jun-16 21:21
professionalManoj Kumar Miriyala17-Jun-16 21:21 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Richard MacCutchan17-Jun-16 21:44
mveRichard MacCutchan17-Jun-16 21:44 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
BillWoodruff17-Jun-16 23:18
professionalBillWoodruff17-Jun-16 23:18 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Richard MacCutchan17-Jun-16 23:19
mveRichard MacCutchan17-Jun-16 23:19 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
BillWoodruff17-Jun-16 23:48
professionalBillWoodruff17-Jun-16 23:48 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Richard MacCutchan19-Jun-16 21:25
mveRichard MacCutchan19-Jun-16 21:25 
AnswerRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
BillWoodruff17-Jun-16 23:45
professionalBillWoodruff17-Jun-16 23:45 
QuestionHow to export a result table and charts from RDotNet to Excel Pin
Member 1085025317-Jun-16 15:45
Member 1085025317-Jun-16 15:45 
AnswerRe: How to export a result table and charts from RDotNet to Excel Pin
Garth J Lancaster17-Jun-16 16:40
professionalGarth J Lancaster17-Jun-16 16:40 
GeneralRe: How to export a result table and charts from RDotNet to Excel Pin
Member 1085025323-Jun-16 11:41
Member 1085025323-Jun-16 11:41 
GeneralRe: How to export a result table and charts from RDotNet to Excel Pin
Garth J Lancaster23-Jun-16 16:12
professionalGarth J Lancaster23-Jun-16 16:12 
well, I guess the crux is 'what you get back from the function'. That line
var x = engine.Evaluate("x <- rnorm(100, mean=50, sd=10)").AsNumeric();

returns 100 data points in x, yes ? what I dont know, is if x is a 2-d array or a dataframe - once you can determine that - I'd single step in debug mode until that step has been executed, then use the mouse and hover over 'x' and see what the debugger says its type is .... (I dont have 'R' installed) it surely is a simply matter to

a) open a file for writing - use a 'using' block
b) iterate 'x' by rows
c) for each column in the row, build a comma separated string
d) write the comma separated string to the file
e) {end-for}

really b & c are the bits that will differ depending on what it is (array, dataframe)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.