pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I can't install it


From: Alan Mead
Subject: Re: I can't install it
Date: Mon, 17 Aug 2020 02:20:14 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 8/17/2020 2:04 AM, Domingo J Rubira López wrote:
> The problem now is with "add files command". You know it was my other
> trouble. I write in sintaxis the following sentence: add files
> /file="prot.sav" /file="dataset1.sav". I am sure the folder is on the
> desktop directly too. 

Glad PSPP is working.

We should file a bug about the path and also about the import.

When you specify filenames, I always use single quotes (not sure if it
matters):

add files /file='prot.sav'...

When you write "add files /file='prot.sav'..." it's expecting 'prot.sav'
to be in the current directory. When you launch PSPP, I think it
defaults to the directory with the binary (in C:\Program Files) as the
directory. So, PSPP is telling you the file doesn't exist, because it
doesn't in the directory where PSPP is looking.

There are at least two solutions. You could use the CD command to change
directories. I prefer this if anyone else will use your syntax (or you
will use it on two different computers), because then it's easy to
change once at the top of the syntax file, and everything is updated. In
syntax, before the add files, add something like:

cd 'C:\Users\amead\Desktop'.

In this example, my desktop would be the current directory.

Alternatively, add the full path to *each* filename:

add files /file='C:\Users\amead\Desktop\prot.sav'...

Adding the full path gets old for me, and if you ever need to change it,
it's a hassle.

-Alan

-- 

Alan D. Mead, Ph.D.
President, Talent Algorithms Inc.

science + technology = better workers

http://www.alanmead.org


Comma After Introductory Adverbial Phrase

When an adverbial phrase begins a sentence, it's often followed by a comma
but it doesn't have to be, especially if it's short. As a rule of thumb,
if the phrase is longer than about four words, use the comma. You can
also use a comma with a shorter phrase when you want to emphasize it or
add a pause for literary effect. But, if there is a chance of misreading
the sentence, use the comma:

    Before eating the family said grace. (Incorrect)

    Before eating, the family said grace. (Correct)

-- https://www.grammarly.com/blog/comma/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]