Error opening SHP file in R using maptools readShapePoly
location: linuxexchange.com - date: May 17, 2013
I am new to R and was following the following tutorial on the ggplot2 package found here. However the readShapePoly() function throws an error whenever I try to load the basic shapefile. I have used the following code:
library("ggplot2")
library("gpclib")
library("maptools")
setwd("~/Documents/R Projects/Intro to ggplot2")
#Intro to ggplot 2 contains the .shp file and associated data
sport <- readShapePoly("london_sport.shp")
which gets me:
Error in getinfo.shape(filen) : Error opening SHP file
I have tried omitting the file extension. I have also tried downloading other .shp files which throw the same error too. I have also tried calling readShapePoly using the full file path, which doesn't work either. I am using R studio (mac OSX), but I get the same error using the standard R window. I have tried the suggestions on the previous closed threat "Error opening SHP file in Rstudio", but to no avail.
I would be grateful for any help. Thanks for your attention.
Edit: the error
fatal error: opening dependency file????
location:
ubuntuforums.com - date:
May 21, 2013
Hi there,
Completely new to Ubuntu, and loving it so far.
Have a bit of a problem compiling a programs GUI, the program in question is agbx360. So far i have managed to install the program itself with no problems, but i cant get past this problem and i am hoping someone can help me, because i really am not sure how to solve it.
I did try to restart the system and try again to install the gui but with no success. I came across a command on the web, i think it was 'dist' or something similar but that did not help either.
Here is what is says in the terminal:
[email protected]:~$ sudo apt-get install libwxgtk2.8-dev xterm
[sudo] password for jay:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libwxgtk2.8-dev is already the newest version.
xterm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 175 not upgraded.
[email protected]:~$ cd /home/jay/abgxgui/
[email protected]:~/abgxgui$ sudo ./configure && make
checking for
Kickstart Error Error opening kickstart file (null): bad address
location: linuxquestions.com - date: June 3, 2009
If you were performing a kickstart installation via NFS and upon starting your client, the client machine states:
Code:
Problems with vim, everything appear blank when opening a file using vi
location: linuxquestions.com - date: April 24, 2014
Hi,
I use putty in order to connect to a Linux server, and I would like open some mfiles using vi or vim. But when i put "vi myfile.m" saw the error:
E297: Write error in swap file
E303: Unable to open swap file for "myfile.m", recovery
"myfile.m" 0L, 0C
Press ENTER or type command to continue
and when I press Enter the file would be totally blank, it seems that vi erase everything. I tried with other text files and always the same thing happened. I even tried to write a new text file and the same problem. something strange is that I have the same problem with emacs and less commands.
would you please let me know what is the problem and how I can fix it. By the way I am a real beginner !
tahnks,
Pierre
Error opening file '/media/disk/': Permission denied
location: ubuntuforums.com - date: May 10, 2008
Hello,
I have installed a new 120 gig Hard Drive and and tried to mount it using Partition Editor as advise on other thread i made.
Steps i took:
1. Selected the drive that was showing that was not mounted.
2.click on partition => format to ext2
3. reboot as per request
4. it now shows that its mounted
After this i tried to store some file and it gave this error:
Error opening file '/media/disk/cards.jpg': Permission denied
Seems like i dont have access on read and write.
Could i get some help on this please? Now, just to let you know i am very new to linux and i am still trying to learn this via GUI so if there is a coomand i have to run please give it to me on granpa noobie format
thanx for your advance help
virtualbox: Error opening file for reading
location: ubuntuforums.com - date: June 18, 2012
I have just upgraded my Kubuntu system from 11.10 to 12.04, and then installed virtualbox. I have gotten far enough to install Oracle_VM_VirtualBox_Extension_Pack, so that I can use USB 2.0, and to add myself to the vboxusers group. I have not yet started installing Windows XP inside my new virtualbox.
Everytime I start up virtualbox, I get the error:
Code:
Error opening file for reading: Permission denied
Running strace on this process (well, seems I have to run it on the shell within which I start virtualbox) I can see the following:
Code:
15128 open("/proc/self/auxv", O_RDONLY) = -1 EACCES (Permission denied)
15128 dup(2) = 19
15128 fcntl(19, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
15128 fstat(19, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
15128 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe3d6b13000
15128 lseek(19, 0, SEEK_CUR) = -1 ESPIPE (Illegal se
Error opening file '': Input/output error on external HD
location: ubuntuforums.com - date: March 17, 2011
I've had issues recently with transferring files on my external hard drives. I thought I'd solved it by installing "samba" which had somehow become removed.
This fixed some things, but the issue (or a related one) has re-surfaced.
It is kind of hard to explain this, so please bear with me.
When I am trying to copy photo files from one folder into another on the same hard drive I get the "Error opening file '/media/Elements/MyPhotos/to upload/IMG_0305.JPG': Input/output error" message.
I tried searching for this problem in the archives, and found many similar (but not the same) problems. One thread suggested changing the name of the folders so that they don't have any spaces in them. When I tried this I got exactly the same error... "Sorry, could not rename "to upload" to "toupload": Error renaming file: Input/output error"
If you need any info from me please let me know and I will try to provide it.
Oh, I am using ubuntu 10.10 on
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
location: linuxquestions.com - date: May 15, 2005
I just installed the Xvfb and when it starts it gives me this error? Do I need to install something else because this directory isn't even located on the machine?
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
[SOLVED] Creating an 8GB file using mmap: error calling lseek() to stretch the file
location: linuxquestions.com - date: July 29, 2009
Hello
I am trying to create an 8GB file using mmap. I open the file and write to it by mapping 4096 bytes at a time, which is the page size. Thus, it would require 8GB/4096_bytes iterations to write the complete file. In every iteration, I 'stretch' the file by 4096 bytes before mapping it. (Please see code below for a clear understanding).
However, once the file size reaches 2GB, I cannot stretch the file further as it gives me an "Error calling lseek()..." error as shown in the code.
How do I get around this problem? Is there a way to create a large file (8GB,16GB) from scratch using mmap?
I am on a 64 bit machine with 8GB main memory running Opensuse.
Thanks,
Code:
K3B generated MP3 file copy error Error opening file 'FileName': Not a directory
location: ubuntuforums.com - date: June 12, 2013
I'm encountering a very strange error that I cannot determine how to workaround or diagnose the actual cause. I'm using K3B to create MP3s from a CD that I own so that I can play it back without need for the CD. The rip process is being completed by K3B and output file format is .MP3 using LAME. This particular CD, number 2 of 2, does have CDDB information that populated the metadata tags. Note that disk 1 of 2 didn't have any metadata tags pulled from the CDDB and did not encounter failure to copy/move as the 2nd cd is encountering.
This is the error I'm encountering:
Code:
Error while copying "02 - The Four Seasons: "Spring" Pastoral Dance.mp3".
There was an error copying the file into /media/Music/Ripped/Classic Baby/Various - Classic Baby.
Error opening file '/media/Music/Ripped/Classic Baby/Various - Classic Baby/02 - The Four Seasons: "Spring" Pastoral Dance.mp3': Not a directory
Output of directory listing all files that failed to move with
please wait...
Page: 1 2 3 4 5 6 7 8 9 10