hi, please find below a detailed report on a problem that I encountered while I was working with RKWard. Hopefully, it is not something very serious.
Thanks a lot for the Great Program, keep up the good work Best wishes, Kostas A. Katselidis ---Problem description--- Please give a brief summary on the problem: ### when I try to plot a SpatialPolygonsDataFrame and I am using the 'RKWard native graphic devise', I got the error message:" Error in polypath(x = mcrds[, 1], y = mcrds[, 2], border = border, col = col, : plot.new has not been called yet" I do not get this error message when I use the 'Platform default device'. ### What - in detail - did you do directly before you encountered this problem? ###import with the function readOGR() the shapefile### When you try to repeat the above, does the problem occur again (no, sometimes, always)? ###Yes, always### If applicable: When doing the same thing in an R session outside of RKWard, do you see the same problem? ###No, the default graphical device does not have this problem### Do you have any further information that might help us to track this problem down? In particular, if applicable, can you provide sample data and sample R code to reproduce this problem? ### R code ### library(sp) library(rgdal) tfurl <- paste("http://biogeo.ucdavis.edu/data/world/countries_shp.zip") td <- tempdir() # create a temporary directory tf <- tempfile(tmpdir=td, fileext=".zip") # create the placeholder file download.file(tfurl, tf) # download into the placeholder file unzip(tf, files=NULL, exdir=td, overwrite=TRUE) #extract countries <- readOGR(td, "countries") #load shapefile RK() #load RKWard native graphical device plot(countries) #plot ### END of R code ### RKWard is available in many different packagings, and sometimes problems are specific to one method of installation. How did you install RKWard (which file(s) did you download)? ###I am on a Debian system, so simply "apt-get install rkward"### ---Session Info--- -- Frontend -- RKWard version: 0.6.2 KDE version (runtime): 4.8.4 (4.8.4) KDE version (compile time): 4.8.4 (4.8.4) Qt build key: x86_64 linux g++-4 full-config Local KDE directory: /home/kostas/.kde/ RKWard storage directory: /home/kostas/.rkward/ Backend version (as known to the frontend): 3.1.2 Debug message file (this may contain relevant diagnostic output in case of trouble): /tmp/rkward.frontend.nn6750 -- Backend -- Debug message file (this may contain relevant diagnostic output in case of trouble): /tmp/rkward.rbackend.TJ6755 R version (compile time): 3.1.2 (2014-10-31 r66913) R runtime session info: R version 3.1.2 (2014-10-31) Platform: x86_64-pc-linux-gnu (64-bit) locale:  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C  LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8  LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8  LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 attached base packages:  stats graphics grDevices utils datasets methods base other attached packages:  raster_2.3-12 sp_1.0-15 rkward_0.6.2 loaded via a namespace (and not attached):  abind_1.4-0 deldir_0.1-6 goftest_1.0-2 grid_3.1.2  lattice_0.20-29 Matrix_1.1-4 mgcv_1.8-3 nlme_3.1-118  polyclip_1.3-0 spatstat_1.39-1 tensor_1.5 tools_3.1.2
_______________________________________________ RKWard-devel mailing list RKWardfirstname.lastname@example.org https://lists.sourceforge.net/lists/listinfo/rkward-devel