<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Dan,
<div class=""><br class="">
</div>
<div class="">Can it be that your jpg’s don’t have the same size (or are not 512x512 pixels)? And could you check whether they are all encoded using greyscale (and not just grey values, but RGB encoded)? The error message you get is cryptic, something else
I’ll need to work on when we figure out your problem.</div>
<div class=""><br class="">
</div>
<div class="">If this doesn’t help, could you please send me your files and script off list, and I’ll see whether I can reproduce the error message and figure out why you get it.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">Ron</div>
<div class=""><br class="">
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
________________________________</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dr. Ron Dotsch</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Utrecht University</div>
<div class="">Social and Organizational Psychology (Room E2.22)</div>
<div class=""><br class="">
Website: <a href="http://ron.dotsch.org" class="">http://ron.dotsch.org</a><br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 12, 2014, at 17:22, DANIEL NOAH ALBOHN <<a href="mailto:dna5021@psu.edu" class="">dna5021@psu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" class="">
<div class="">Hi Ron.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Thank your for your reply. This is indeed useful information to know moving forward. However, I get this error when trying to create the stimuli, not when analyzing them. I've reproduced the code, and errors, below. Take a look and see if you
can make any sense of it.</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; padding-left: 30px;" class="">> library(rcicr)<br class="">
> setwd("[Path to files here]")<br class="">
> base_face_files <- list('male'='Young_M_N.jpg', 'female'='Young_F_N.jpg')<br class="">
> generateStimuli2IFC(base_face_files, n_trials = 770)<br class="">
Error in stimulus + base_faces[[base_face]] : non-conformable arrays<br class="">
In addition: Warning message:<br class="">
In dir.create(stimulus_path, recursive = T) : '.\stimuli' already exists</div>
</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Dan</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><span name="x" class=""></span>
<div class="">Daniel Albohn<br class="">
Lab Manager/Researcher<br class="">
Social Vision and Interpersonal Perception Lab<br class="">
Moore Building Room 463<br class="">
The Pennsylvania State University</div>
<span name="x" class=""></span><br class="">
</div>
<hr id="zwchr" class="">
<div style="font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt;" class="">
<b class="">From: </b>"R. Dotsch (Ron)" <<a href="mailto:R.Dotsch@uu.nl" class="">R.Dotsch@uu.nl</a>><br class="">
<b class="">To: </b>"DANIEL NOAH ALBOHN" <<a href="mailto:dna5021@psu.edu" class="">dna5021@psu.edu</a>><br class="">
<b class="">Cc: </b><a href="mailto:rcicr-users@r-forge.wu-wien.ac.at" class="">rcicr-users@r-forge.wu-wien.ac.at</a><br class="">
<b class="">Sent: </b>Wednesday, November 12, 2014 5:06:42 AM<br class="">
<b class="">Subject: </b>Re: [Rcicr-users] Non-conformable arrays<br class="">
<div class=""><br class="">
</div>
Hi Dan,
<div class=""><br class="">
</div>
<div class="">Possibly, you created your stimuli with a different label for the base face. For instance, let’s say you created your stimuli as follows:</div>
<div class=""><br class="">
</div>
<div class="">base_face_files <- list(’<b class="">xxxx</b>’=‘somebaseface.jpg')</div>
generateStimuli2IFC(base_face_files, n_trials = 770)
<div class=""><br class="">
</div>
<div class="">From now on, the functions of rcicr will know what stimulus data to retrieve from your .RData file by using the ‘xxxx’ label. You should use that label in all subsequent calls to rcicr functions. That means that when you call generateCI2IFC(stimuli,
responses, baseimage, rdata), you substitute baseimage with the label you used when generating the stimuli, this way:</div>
<div class=""><br class="">
</div>
<div class="">ci <- generateCI2IFC(stimuli, responses, ’<b class="">xxxx</b>', rdata)</div>
<div class=""><br class="">
</div>
<div class="">The same goes for the baseimage parameter of batchGenerateCI2IFC().</div>
<div class=""><br class="">
</div>
<div class="">The reason that you have to provide this label is to account for cases where you have studies with various base images that have the same noise patterns superimposed. I realize that this is not completely transparent and will update the documentation
in the future. I'll also update functionality in the functions to automatically work without specifying a base image if only one base image was used in a next version of the package.</div>
<div class=""><br class="">
</div>
<div class="">Let me know if this helps.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">Ron</div>
<div class=""><br class="">
<div class="">
<div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
________________________________</div>
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dr. Ron Dotsch</div>
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Utrecht University</div>
<div class="">Social and Organizational Psychology (Room E2.22)</div>
<div class=""><br class="">
Website: <a href="http://ron.dotsch.org/" class="" target="_blank">http://ron.dotsch.org</a><br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
<div class="">
<blockquote class="">
<div class="">On Nov 11, 2014, at 18:08, DANIEL NOAH ALBOHN <<a href="mailto:dna5021@psu.edu" class="" target="_blank">dna5021@psu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Hello,<br class="">
<br class="">
I am currently new to this package, and am trying to following along with the tutorial using my own stimuli. However, I keep getting the error "non-conformable arrays." Specifically, I keep getting this error.<br class="">
<br class="">
Error in stimulus + base_faces[[base_face]] : non-conformable arrays<br class="">
<br class="">
Any help on resolving this issue would be greatly appreciated.<br class="">
<br class="">
Best,<br class="">
Dan<br class="">
<br class="">
Daniel Albohn <br class="">
Lab Manager/Research <br class="">
Social Vision and Interpersonal Perception Lab <br class="">
Moore Building Room 463 <br class="">
The Pennsylvania State University <br class="">
_______________________________________________<br class="">
Rcicr-users mailing list<br class="">
<a href="mailto:Rcicr-users@lists.r-forge.r-project.org" class="" target="_blank">Rcicr-users@lists.r-forge.r-project.org</a><br class="">
http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
<div class=""><br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>