I am doing what I think is a simple summary of a logical column - though that may not be the problem.
The error was as follows:
Error running R command(s)
Error in parse(text = x, keep.source = FALSE) :
:1:10: unexpected ','
1: ~(Rainday,
^
The error occurred in attempting to run the following R command(s):
InstatDataObject$calculate_summary(data_name="TwelveStns", columns_to_summarise="Rainday", factors=c("Station","year"), na.rm=TRUE, summaries=c(**"", "", "", "",** "summary_sum"), silent=TRUE)
OK
I am not sure why it generated the list of empty summaries. I copied this to the script file and deleted them - see in bold above. And it then ran fine.
I also like the fact that (with the current script file) I can try things like this!
I believe this is an issue when you use the Summaries subdialog from different main dialogs (in the same session). It sometimes does this with summaries. Could that have been what you did?
I have a file with 12 stations of daily data.
I am doing what I think is a simple summary of a logical column - though that may not be the problem.
The error was as follows:
Error running R command(s)
Error in parse(text = x, keep.source = FALSE) :