[Rsiena-help] Exclude effects

Manuel Hopp Manuel.Hopp at FAU.de
Mon Nov 6 10:23:31 CET 2017


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 already estimated a model with 8 effects, defined
>>         previously as follows* (no problem arose until I tried to
>>         switch off one of the effects previously included)
>>
>>         friend_effects <- getEffects(friend)
>>         friend_effects <- includeEffects(friend_effects,
>>          sameX,
>>          interaction1 = 'gender',
>>          name = 'fr4wave')
>>         friend_effects <- includeEffects(friend_effects,
>>          egoX,
>>          interaction1 = 'smoke_behav',
>>          name = 'fr4wave')
>>         friend_effects <- includeEffects(friend_effects,
>>          altX,
>>          interaction1 = 'smoke_behav',
>>          name = 'fr4wave')
>>         friend_effects <- includeEffects(friend_effects,
>>          sameX,
>>          interaction1 = 'smoke_behav',
>>          name = 'fr4wave')
>>         friend_effects <- includeEffects(friend_effects,
>>          avSim,
>>          interaction1 = 'fr4wave',
>>          name = 'smoke_behav')
>>         friend_effects <- includeEffects(friend_effects,
>>          totSim,
>>          interaction1 = 'fr4wave',
>>          name = 'smoke_behav')
>>         friend_effects <- includeEffects(friend_effects,
>>          recip,
>>          name = 'fr4wave')
>>         friend_effects <- includeEffects(friend_effects,
>>          transTrip,
>>          name = 'fr4wave')
>>
>>         *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
>>
>>
>>
>>         _______________________________________________
>>         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
>>         <https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help>
>
>         -- 
>         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
>         <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rsiena-help/attachments/20171106/43d672a9/attachment-0001.html>


More information about the Rsiena-help mailing list