Re: [R] RMariaDB returns a query without microseconds

2021-07-26 Thread Hasan Diwan
Afternoon, > https://mariadb.com/kb/en/microseconds-in-mariadb/ -- seems you're > hitting a MariaDB (or perhaps, inherited from MySQL) limitation here. -- H > -- OpenPGP: https://hasan.d8u.us/openpgp.asc If you wish to request my time, please do so using *bit.ly/hd1AppointmentRequest

Re: [R] Satelit Image

2021-07-26 Thread Bert Gunter
You should generally post here for such geo-related queries: https://stat.ethz.ch/mailman/listinfo/r-sig-geo (This is a general R language help list.) You might also have a look here to see whether any of these curated subject-related package directories might be of use to you. https://cran.r-pro

[R] Satelit Image

2021-07-26 Thread javad bayat
Dear all; I want to extrac special wavelength of landsat8 image, 470nm and 570nm. Is there any way to do this? Sincerely -- Best Regards Javad Bayat M.Sc. Environment Engineering Alternative Mail: bayat...@yahoo.com [[alternative HTML version deleted]] __

[R] RMariaDB returns a query without microseconds

2021-07-26 Thread Baki UNAL via R-help
Hi I can query a table from a mysql database with RMariaDB. One of the table's column indicates "trade_time" and contains values such as "09:55:02.113000". When I query this table I can not get fractional seconds. I get a value such as "09:55:02". Also I get a variable class such as "hms" and "

Re: [R] Puzzled over "partial"

2021-07-26 Thread Andrew Simmons
Hello, First, your statement can be re-written as sort(x,partial=p)[p] since n - (n - p) is p. Second, you need to look at ?sort And look at section "Arguments" subsection "partial", that should have the details you're looking for. From what I understand, it guarantees that the indices of "pa

[R] Puzzled over "partial"

2021-07-26 Thread Nick Wray
Hello I am puzzled about the use or status of "partial" in R. years ago I found a little piece of code which gives the pth largest number in a vector: x<-c(5,4,7,2,6,9) n <- length(x) p<-4 sort(x,partial=n-(n-p))[n-(n-p)] This works fine, although I have tried playing around with the code and do

Re: [R] Help with Converting Excel Times to R

2021-07-26 Thread PIKAL Petr
Hi Maybe I am completely wrong but when you import Excel datetimes the result is character, which can be converted to date format quite simply by strptime In case of numerisc format you need to convert date number to seconds. But you could have problems with your OS as on my system I need to set