s-news
[Top] [All Lists]

Data frame not being correctly assigned?

To: s-news@lists.biostat.wustl.edu
Subject: Data frame not being correctly assigned?
From: Sarah Henderson <sarah.henderson@ubc.ca>
Date: Mon, 13 Mar 2006 19:42:54 -0800

Hi all --

I have written some code for a group of statistics students who, until now, have relied only on the GUI for their exercises and assignments. In order to make the code as simple as possible for them to adapt to their needs for the next assignment I start by assigning the data set to a new data frame:

data.to.use <- original.data.set

This way I assume they could just change "original.data.set" at the beginning of the code so they need not worry about changing the data frame from which variables are extracted throughout the code. When they run the code it produces all the desired plots, tables, and outputs but when they type "data.to.use" at the command prompt most (but not all) seem to get various errors and S-PLUS goes on to freeze or shut down in many cases. Some examples are below.

Problem: internal error: trying to set internal exit action in frame 0,
must be between 1 and 6

Error during wrapup: Invalid frame number (0) in set_frame
Engine connection failure - shutting down S-PLUS recommended

They are working in 6.2 or 7.0. Of course, the script works perfectly on my machine on 2000, 6.2 and 7.0. Can anyone shed any light on this problem? Me and 30 bewildered students would appreciate any insight.

Thanks as always,

Sarah

<Prev in Thread] Current Thread [Next in Thread>
  • Data frame not being correctly assigned?, Sarah Henderson <=