time series failed

192
2
02-20-2018 03:25 AM
saffeterdogan
New Contributor

Executing: TimeSeriesPlot dep Tarih Tarih %d.%m.%y #
Start Time: Tue Feb 20 14:23:53 2018
Running script TimeSeriesPlot...
Installing package into 'C:/Users/Pc/Documents/R/win-library/3.4'
(as 'lib' is unspecified)
trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/3.4/ggplot2_2.2.1.zip'
Content type 'application/zip' length 2784334 bytes (2.7 MB)
downloaded 2.7 MB
package 'ggplot2' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Pc\AppData\Local\Temp\Rtmp8GWZXj\downloaded_packages
Installing package into 'C:/Users/Pc/Documents/R/win-library/3.4'
(as 'lib' is unspecified)
trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/3.4/sp_1.2-7.zip'
Content type 'application/zip' length 1538531 bytes (1.5 MB)
downloaded 1.5 MB
package 'sp' successfully unpacked and MD5 sums checked
cannot remove prior installation of package 'sp'
The downloaded binary packages are in
C:\Users\Pc\AppData\Local\Temp\Rtmp8GWZXj\downloaded_packages
Installing package into 'C:/Users/Pc/Documents/R/win-library/3.4'
(as 'lib' is unspecified)
trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/3.4/reshape2_1.4.3.zip'
Content type 'application/zip' length 611823 bytes (597 KB)
downloaded 597 KB
package 'reshape2' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Pc\AppData\Local\Temp\Rtmp8GWZXj\downloaded_packages
Installing package into 'C:/Users/Pc/Documents/R/win-library/3.4'
(as 'lib' is unspecified)
trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/3.4/xts_0.10-1.zip'
Content type 'application/zip' length 738117 bytes (720 KB)
downloaded 720 KB
package 'xts' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Pc\AppData\Local\Temp\Rtmp8GWZXj\downloaded_packages
Failed with error: 'package 'stats' could not be loaded'
[1] "XTS Plot"
[1] "Author: Fabio Veronesi"
Error in do.call : could not find function "xts"
Failed to execute (TimeSeriesPlot).
Failed at Tue Feb 20 14:24:12 2018 (Elapsed Time: 19.35 seconds)

0 Kudos
2 Replies
MarjeanPobuda
Occasional Contributor

Hi Saffet,

It appears that you are working with the latest version of R, 3.4.3. If this is the case, there are two ways you could solve this issue. 

1) On R 3.4.3 you need to add C:/Program Files/R/R-3.4.3/bin/i386 to the PATH environment and then restart ArcMap. (Or if you are using 64 bit ArcGISPro add ..../bin/x64).

You can find your Path environment variable by right-clicking on This PC in File Explorer and then selected Advanced system settings, followed by Environment Variables. 

2) Alternatively, the second solution is to install Beta version of the 'arcgisbinding' package https://github.com/R-ArcGIS/r-bridge/releases/tag/v1.0.1.229-beta

Hope this helps. 

-Marjean

saffeterdogan
New Contributor

Thanks a lot sincerely.

Prof. Dr. Saffet ERDOĞAN

Harran Üniversitesi

Mühendislik Fakültesi

Harita Mühendisliği Bölüm Başkanı

Web:saffeterdogan.com

e mail:saffet_erdogan@hotmail.com

:serdogan@harran.edu.tr

Adres:

Harran Üniversitesi Mühendislik Fakültesi Harita Mühendisliği Bölümü

Mardin Yolu 22 Km Osmanbey Kampüsü ŞANLIURFA

Tlf : (0414) 318 34 76

Fax: (0414) 3183799

0 Kudos