Skip to content
Prev 303143 / 398513 Next

Trouble with Spatial Data Example Script

Hello,
The situation is a bit odd.
If I open an R session and I paste there the script, then it does work.
However, if I save it as a text file and then I run it with the  
source("myfile.R") command, then I fall back to the case that started this  
thread i.e. I see nothing.
Does anybody have a clue at what is going on?
I paste below the output of sessionInfo(), which is the same no matter  
whether I paste the commands in a shell or use a .R file.


sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
  [7] LC_PAPER=C                 LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] sp_0.9-99

loaded via a namespace (and not attached):
[1] grid_2.15.1    lattice_0.20-6


Many thanks

Lorenzo










On Sat, 11 Aug 2012 17:18:43 +0200, David L Carlson <dcarlson at tamu.edu>  
wrote: