Hello,
When we run the following code (from chapter 6, p. 47 of the user
guide):
import os
import urbansim
us_path = urbansim.__path__[0]
from opus_core.storage_factory import StorageFactory
storage = StorageFactory().get_storage('tab_storage',
storage_location = os.path.join(us_path, 'data/tutorial'))
from urbansim.datasets.household_dataset import HouseholdDataset
households = HouseholdDataset(in_storage = storage, in_table_name =
'households', id_name='household_id')
households.r_histogram("income")
from the python interpreter, we get an R window with the correct
plot, but the window the plot is in freezes--it cannot be closed
without forcibly killing the parent python process.
We are running rpy 1.0-RC2 and have tried by R 2.2.1 and 2.4.1 with
the same results. (Version 0.4.6/0.99.0 of rpy is no longer
available on the rpy site. The only version that is, 1.0-RC2, is
supposed to work with R 2.0.0 through R 2.4.1) We are using
Enthought Python 2.4.3 under Windows.
Has anyone else experienced this? Is there any way that the version
of rpy (0.4.6) recommended in the Opus install instructions (http://
www.urbansim.org/opus/candidate-releases/opus-2007-04-25/docs/
windows_install.html), as well as the corresponding version of R,
could be made available so that we're sure we're running a
configuration that has been tested?
Thanks,
Brian Miles
Graduate Assistant
Spatial Analysis Lab - Rubenstein School of Environment and Natural
Resources
University of Vermont
Received on Fri Jun 15 2007 - 09:12:40 PDT
This archive was generated by hypermail 2.2.0 : Fri Jun 15 2007 - 09:12:43 PDT