statnet / statnetWeb

A graphical user interface for network modeling with the 'statnet' software
GNU General Public License v3.0
29 stars 17 forks source link

Problem with fitting nodecov example on flomarriage from NME Day 2 #54

Closed smjenness closed 6 years ago

smjenness commented 9 years ago

This is with the CRAN version running locally, here is the error message under the hood.

Warning in strsplit(msg, "\n") :
  input string 1 is invalid in this locale
Error in parse(text = x, keep.source = FALSE) : <text>:1:21: unexpected input
1: nw() ~ edges+nodecov(�
martinamorris commented 9 years ago

I can't replicate this on my laptop

aaa <- ergm(flomarriage~edges + nodecov("wealth")) aaa

MLE Coefficients: edges nodecov.wealth -2.59493 0.01055

sessionInfo() R version 3.2.0 (2015-04-16) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 8 x64 (build 9200)

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] ergm_3.4.0 network_1.12.0 statnet.common_3.2.2

loaded via a namespace (and not attached): [1] DEoptimR_1.0-2 Matrix_1.2-1 parallel_3.2.0 tools_3.2.0 coda_0.17-1 [6] grid_3.2.0 robustbase_0.92-4 trust_0.1-6 lpSolve_5.6.11 lattice_0.20-31

smjenness commented 9 years ago

Hi Martina - you do not have statnetWeb attached. This is a problem with statnetWeb, not ergm.

martinamorris commented 9 years ago

k.

martinamorris commented 9 years ago

IIRC, Em updated the shiny server version of statnetWeb, but not CRAN. I'm not replicating the error using the shiny sever.

smjenness commented 9 years ago

Yes, the shinyapps.io kept timing out (not sure why, could be poor internet at the hotel) so we had to use the CRAN version in the workshop.

ebey commented 9 years ago

I am also unable to recreate this error.

Was that error message from the command line or one of the output sections in the app? Can you copy/paste the output from each of these sections when you get the error: ergm formula, summary statistics, current model summary

smjenness commented 9 years ago

It was generated in both the command line and visible within the app itself here:

screen shot 2015-09-08 at 11 02 02 pm
smjenness commented 9 years ago

Hmmm... I wonder if this is how Safari (my web browser) is handling the quotation marks?

martinamorris commented 6 years ago

Sam I still can't replicate this problem, so will close this ticket. Please reopen if it still doesn't work from a Mac.