[R] Help
David Winsemius
dw|n@em|u@ @end|ng |rom comc@@t@net
Fri Feb 21 02:10:34 CET 2020
On 2/20/20 6:32 AM, mohi uddin wrote:
> Hi,
> Good day,
> Sir,
> I am PhD student and using metaSem by R package 3.6.2. For meta analysis.
> I am using tssem. On stage 2, I type install.packages("semPlot")
> Require("semPlot")
> And then got given below message.
>
> package ‘semPlot’ is not available (for R version 3.6.2)
Rhelp is a plain text mailing list. If your PhD program doesn't include
training on how to use a mail client, then you should avail yourself of
the online training that google offers. It is incredibly easy to sent
plaintext messages with gmail.
You should always include your setup, preferably with the output of
sessionInfor()
You should also include the full output of you console session ... not
just the last line.
I just executed:
install.packages("semPlot")
... and got an error message saying the package "OpenMx" had failed to install properly. In the process of getting to that point there was a rather long list of package dependencies that were also installed. I'm on Linux and the install.packages function behaves differently here than it does on OSX or Windoze. There you should always include dependencies=TRUE in the parameters given to `install.packages`.
Since OpenMx failed to install., I decided to try again. Many times packages have dependencies which have dependencies which .... ... Turtles all the way down. Well, R only goes only turtle-level down.
OpenMv eventually compiles. It was the longest single package compilations I've ever seen. But finally I saw:
* DONE (OpenMx)
The downloaded source packages are in
‘/tmp/Rtmp4ADe86/downloaded_packages’
# So I executed the install.packages again
> install.packages("semPlot")
Installing package into ‘/home/david/R/x86_64-pc-linux-gnu-library/3.5.1’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/semPlot_1.1.2.tar.gz'
Content type 'application/x-gzip' length 75138 bytes (73 KB)
==================================================
downloaded 73 KB
* installing *source* package ‘semPlot’ ...
** package ‘semPlot’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (semPlot)
The downloaded source packages are in
‘/tmp/Rtmp4ADe86/downloaded_packages’
Success.
Best of luck ... and do pay attention to the advice at the top. It's the only way to get beyond perpetual noobism.
--
David.
>
> Plz help me in making model.
> Thanks
> Sincerely
> Mohiyuddin
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list