Hi - I am new to R and to SWMPrats -so this might be a very basic question. Below I describe the my issues. Thank you so much for your help. And thank you for putting this all together - it's an amazing resource and I'm really excited to learn how to use it. best, Wally
I downloaded your pdf - swpr_overview and wanted to follow along.
However, I get an error message when I try to install the package. If I install as directed from the pdf I get this error:
Loading required package: ggplot2
Loading required package: zoo
Attaching package: ‘zoo’
The following objects are masked from ‘package:base’:
as.Date, as.Date.numeric
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vIi) :
there is no package called ‘sp’
Error: package or namespace load failed for ‘SWMPr’
When I try to install using the gui on the right I get this message:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 2539k 0 23624 0 0 55428 0 0:00:46 --:--:-- 0:00:46 55325 88 2539k 88 2240k 0 0 1629k 0 0:00:01 0:00:01 --:--:-- 1629k100 2539k 100 2539k 0 0 1729k 0 0:00:01 0:00:01 --:--:-- 1728k
The downloaded binary packages are in
/var/folders/c8/zkwj93nn32b5n00v1wk0zw180000gp/T//RtmpxP1Mkg/downloaded_packages
> library(SWMPr)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vIi) :
there is no package called ‘sp’
Error: package or namespace load failed for ‘SWMPr’