Re: [R] Converting AIS Message to Number

2019-12-23 Thread Jim Lemon
Hi Paul, For your first question: max(file.info(".")$mtime) [1] "2019-12-21 21:04:19 AEDT" As for the second, I didn't know what an AIS file was, so I googled it. I still don't know, so I don't have a clue how to turn a string like that into a number. Jim On Tue, Dec 24, 2019 at 5:14 AM Paul Be

Re: [R] Converting AIS Message to Number

2019-12-23 Thread Bert Gunter
The "digest" package might be what you're looking for: messages --> numerics Or perhaps you want to create a hash in R. Search on "hashing in R" or similar for info on this. See ?file.info for obtaining file info, including date/time info. Bert Gunter "The trouble with having an open mind is