PsychProject Mac OS

1.1 Installing software

Before we start the course, we have to install three things:

  • R, a free program for statistical programming
  • RStudio, a user interface which makes it easier to work with R; overlook our data, packages and output.
  • Several packages, which are ‘add-ons’ for R with functions to do specific analyses. They also include the documentation (help files) that describes how to use them, and sample data.

History tells us the Psych Project won't or can't deal with this, it's unlikely that DYK can, and I know WP:MED is willing and able to get this kind of editing dealt with. 3 Sandy Georgia ( Talk ) 14:07, 2 August 2011 (UTC). The Project Online web app is designed by Microsoft, comes with Microsoft 365 for Mac and is fully functional. To be clear, it’s not a web-based version of Projects. Microsoft explains that “Project Online is an entirely separate service that offers full portfolio and project management tools on the web.”.


1.1.1 1. Installing R

  • The latest R Version is available here
  • Based on your operating system (Linux, Mac, Windows), click Download.- If you use Windows, click Download R for Windows: Find ‘base’ under subdirectories -> Click ‘install R for the first time’ -> Click Download R 3.6.3 (or another version) for Windows- If you use Mac, click Download R for (Mac) OS X: Find the header ‘Latest release’ -> Click R-3.6.3.pkg (or another version)- If you use Linux, click Download R for Linux: Choose your Linux distribution (debian/, redhat/, suse/, ubuntu/) -> Open the terminal -> Run the installation command

1.1.2 2. Installing RStudio

Download RStudio on the RStudio Website (Link). It’s free!

Mac

1.1.3 3. Installing packages

As a prerequisite for this guide, you need to have a few essential R packages installed.

  1. Open RStudio
  2. Inside RStudio, find the window named Console on the bottom left corner of your screen (it might fill the entire left side of the screen).
  3. We will now install a few packages using R Code. Here’s an overview of the packages, and why we need them:
PackageDescription
lavaanA sophisticated and user-friendly package for structural equation modeling
ggplot2A flexible and user-friendly package for making graphs
tidySEMPlotting and tabulating the output of SEM-models
semToolsComparing models, establishing measurement invariance across groups
psychDescriptive statistics
foreignLoading data from SPSS ‘.sav’ files
readxlLoading data from Excel ‘.xslx’ files


4. To install these packages, we use the install.packages() function in R. One package after another, our code should look like this:

Don’t forget to put the package names in '. Otherwise, you will get an error message.


1.1.5 Starting a new project in Rstudio

To keep all your work organized, you should use a project. In Rstudio, click on the New project button:

In the pop-up dialog, click New directory, and again New project.

type the desired directory name in the dialog (give it a meaningful name, e.g. “TCSM_course”), and use ‘Browse’ if you need to change the directory where you store your projects. Now, in your project, click File > New file > R script. This script file works just like notepad, or the syntax editor in SPSS: You type plain text, but you can run it any time you want. Conduct all of the exercises in this script file.

1.1.6 Code conventions

Throughout the guide, a consistent set of conventions is used to refer to code:

  • Functions are in a code font and followed by parentheses, likesum() or mean().
  • Other R objects (like data or function arguments) are in a codefont, without parentheses, like seTE or method.tau.
  • Sometimes, we’ll use the package name followed by two colons, likelavaan::sem(). This is valid R code and will run. The lavaan:: part indicates that the function sem() comes from the package lavaan.

1.1.7 Getting Help

Psychproject Mac Os Catalina

As you start to apply the techniques described in this guide to your data you will soon find questions that the guide does not answer. This section describes a few tips on how to get help.

  1. Every function in R has documentation (a help file). To see it, select the name of the function and press F1, or run the command ? followed by the name of the function, e.g.: ?aov. I have been using R for 10 years, and I still press F1 all the time to see how a function works.
  2. Andy Field, the book used for our undergraduate statistics courses (Field, Miles, and Field 2012), is also available for R. Many basic analyses are explained for R in this book.
  3. If you get stuck, start with Google. Typically, adding “R” to a search is enough to restrict it to relevant results, e.g.: “exploratory factor analysis R”. Google is particularly useful for error messages. If you get an error message and you have no idea what it means, try googling it. Chances are that someone else has been confused by it in the past, and there will be help somewhere on the web. (If the error message isn’t in English,run Sys.setenv(LANGUAGE = 'en') and re-run the code; you’remore likely to find help for English error messages.)
  4. If Google doesn’t help, try stackoverflow. Start by spending a little time searching for an existing answer; including [R] restricts your search to questions and answers that use R.
  5. Lastly, if you stumble upon an error (or typos!) in this guide’s text or R syntax, feel free to contact Caspar van Lissa at c.j.vanlissa@uu.nl.

Bug #10792

closed
Closed
Normal
-
2.2
[ruby-core:67851]

Description

Mac

Hello,

I'm having issues compiling bigdecimal1.2.5 on Mac OS X 10.10.1 (14B25). I use rbenv0.4.0 for managing Ruby.
I've uninstalled all my ruby versions and gems to no avail.

Please find attached the output error.

List of installed gems

I couldn't find this issue reported somewhere else. Can somebody please assist?

Thanks

Files

gem_make.out(2.98 KB)gem_make.out

Updated by rmarescu (Razvan Marescu)over 6 years ago

I just found https://bugs.ruby-lang.org/issues/10622, which seems to be related. I guess I have to wait for the next release?

Updated by mrkn (Kenta Murata)over 6 years ago

  • Status changed from Open to Assigned
  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED

Sorry, I forgot to push it to rubygems.org.
I'll do it asap.

Thanks.

Updated by mrkn (Kenta Murata)over 6 years ago

  • Status changed from Assigned to Closed

I've done to push bigdecimal-1.2.6.gem to rubygems.org.
Please check it.

Psychproject Mac Os X

Updated by rmarescu (Razvan Marescu)over 6 years ago

Just tested, it works. Thanks for your help!

Actions

Also available in: AtomPDF