[Rsiena-help] Exclude effects

Tom Snijders tom.snijders at nuffield.ox.ac.uk
Mon Nov 6 11:09:59 CET 2017


Dear Filippo and Manuel,

Note that for this type of questions, a more appropriate forum is
http://groups.yahoo.com/groups/stocnet/

Further note that the issue about the error for the use of include=FALSE is also mentioned at
http://www.stats.ox.ac.uk/~snijders/siena/siena_news.htm

Best regards,
Tom


=================================================
Tom A.B. Snijders
Professor of Statistics and Methodology
Department of Sociology, University of Groningen
Emeritus Fellow, Nuffield College, University of Oxford
Associate Member, Dept. of Statistics, University of Oxford

From: rsiena-help-bounces at lists.r-forge.r-project.org [mailto:rsiena-help-bounces at lists.r-forge.r-project.org] On Behalf Of Manuel Hopp
Sent: 06 November 2017 10:24
To: Filippo Santi <filippo.santi at unitn.it>
Cc: rsiena-help at lists.r-forge.r-project.org
Subject: Re: [Rsiena-help] Exclude effects


Hi Filippo,

a quick google search revealed that a restart of R should resolve your problem.

Source: https://stackoverflow.com/questions/34593159/failing-to-load-the-new-ggplot2-in-r and https://github.com/ge11232002/CNEr/issues/17

Wish you the best, kind regards,
Manuel

Am 06.11.2017 um 10:15 schrieb Filippo Santi:
Sorry for the many e-mail. After installing the 1.2-4 version as Manuel suggested, I am incurring in this error

Error in fetch(key) :
  lazy-load database '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/RSiena/help/RSiena.rdb' is corrupt
>

Is this a problem? It seems that the command is still able to estimate the model, but every few minute R prompts me that this error occurred. Is there any way to fix it?


2017-11-06 10:00 GMT+01:00 Filippo Santi <filippo.santi at unitn.it<mailto:filippo.santi at unitn.it>>:
Thanks Manuel, now it works. Hava a good day,

Best,

Filippo

2017-11-06 9:51 GMT+01:00 Manuel Hopp <Manuel.Hopp at fau.de<mailto:Manuel.Hopp at fau.de>>:

Hi Filippo,

this error is a bug in 1.2-3 and was already fixed in the newst RSIENA Version 1.2-4. Unfortunatelly it's not yet available via CRAN. So please just use the following command line to install the current version via R-Forge:

install.packages("RSiena", repos="http://R-Forge.R-project.org"<http://R-Forge.R-project.org>)

Kind regards,
Manuel

Am 06.11.2017 um 09:33 schrieb Filippo Santi:
Dear All,

I am having some problems with the 'include = FALSE' argument in the 'includeEffects()' function.


The code I am typing is

friend_effects <- includeEffects(friend_effects,
                                                       totSim,
                                                       interaction1 = 'fr4wave',
                                                       name = 'smoke_behav',
                                                       include = FALSE)

but it returns this error to me

Error in `row.names<-.data.frame`(`*tmp*`, value = 1:nrow(specs)) :
  invalid 'row.names' length

I am using the following RSiena version

Package:

RSiena

Type:

Package

Version:

1.2-3

Date:

2017-09-08

Depends:

R (>= 3.0.0)

Imports:

Matrix

Suggests:

tcltk, network, codetools, lattice, MASS, parallel, xtable, tools, utils

SystemRequirements:

GNU make, tcl/tk 8.5, Tktable

License:

GPL-2

LazyData:

yes

NeedsCompilation:

yes

BuildResaveData:

no


I checked on the RSiena documentation webpage for some scripts, and it looks I am typing the right piece of code. Any suggestion?

Best,

Filippo

Manuel Hopp



Friedrich-Alexander-Universität Erlangen-Nürnberg

Lehrstuhl für Pädagogische Psychologie und Exzellenzforschung

Regensburger Straße 160

D-90478 Nürnberg



Tel.: +49 (0)911 5302 - 9108<tel:+49%20911%2053029108>

Fax : +49 (0)911 5302 - 166<tel:+49%20911%205302166>

E-Mail: manuel.hopp at fau.de<mailto:manuel.hopp at fau.de>
_______________________________________________ Rsiena-help mailing list Rsiena-help at lists.r-forge.r-project.org<mailto:Rsiena-help at lists.r-forge.r-project.org> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help
--
Filippo Santi
PhD Candidate in Development Economics
mobile +39 3283540720<tel:+39%20328%20354%200720> skype filippo.santi
--
Filippo Santi
PhD Candidate in Development Economics
mobile +39 3283540720 skype filippo.santi

--

Manuel Hopp



Friedrich-Alexander-Universität Erlangen-Nürnberg

Lehrstuhl für Pädagogische Psychologie und Exzellenzforschung

Regensburger Straße 160

D-90478 Nürnberg



Tel.: +49 (0)911 5302 - 9108

Fax : +49 (0)911 5302 - 166

E-Mail: manuel.hopp at fau.de<mailto:manuel.hopp at fau.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rsiena-help/attachments/20171106/dc4eef67/attachment-0001.html>


More information about the Rsiena-help mailing list