Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Problems with D7 simulation #53

Open
erex opened this issue Jul 27, 2017 · 1 comment
Open

Problems with D7 simulation #53

erex opened this issue Jul 27, 2017 · 1 comment

Comments

@erex
Copy link
Member

erex commented Jul 27, 2017

running on vanilla machine in computer lab

First challenge :

no package called dotCall64

needs to be added to dependency list and packages installed with D7

Second (worse challenge):

> load.workspace()
> source('C:\\Program Files (x86)\\Distance 7\\support.r')
> source('C:\\Program Files (x86)\\Distance 7\\dssim.support.r')
> file.create('C:\\Users\\creem016\\AppData\\Local\\Temp\\dst35959\\res.r')
[1] TRUE
> file.create('C:\\Users\\creem016\\AppData\\Local\\Temp\\dst35959\\stat.r')
[1] TRUE
> 
> region.shapefile <- read.shapefile('C:/Users/creem016/Documents/eric-p4/DSsimExercise.dat/Study_ar')
> region.1 <- make.region(region.name = 'Study area', units = 'm', shapefile = region.shapefile)
> rm(region.shapefile)
> 
> density.1 <- make.density(region = region.1, x.space = 15000, y.space = 15000, constant = c(1))
Error in buffered.gaps[[strat]] : subscript out of bounds
Calls: make.density ... .local -> get.surface.constant -> extract.spat.poly.coords
Execution halted

don't know cause or remedy of this error; complaint seems based around strat


Postscript
Error does not occur when spacing argument is changed from 15000 to 1000

@erex
Copy link
Member Author

erex commented Jul 27, 2017

Warning rather than error with D7 implementation of DSsim:

image

again remove.dssim.support() called twice, generating warning because objects don't exist when trying to remove a second time

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant