search for: wjlee2002

Displaying 4 results from an estimated 4 matches for "wjlee2002".

2010 Nov 22
4
How to call R from C
Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded way of C code? [[alternative HTML version deleted]]
2011 Apr 17
2
as.Date function error
Hi, I have some problems with as.Date function. After I applied as.Date for my data, "2010" changed to "2020" as below Where am I wrong? Thanks Wonjae > x=c("11/16/2010","11/17/2010","11/18/2010","11/19/2010") > x=as.Date(x,"%m/%d/%y") > x [1] "2020-11-16" "2020-11-17" "2020-11-18"
2011 May 01
0
Conversion to xlsx file
Hi, all I would like to convert xls files to xlsx files with R commands in R console instead of saving xls files as xlsx files after opening xls files. Please show me how. Thanks. Wonjae -- View this message in context: http://r.789695.n4.nabble.com/Conversion-to-xlsx-file-tp3487118p3487118.html Sent from the R help mailing list archive at Nabble.com.
2011 Jul 21
1
How to convert 3-digits hours
Hi, all Here is what I try to do. > strptime('20110101 0900',"%Y%m%d %H%M") [1] "2011-01-01 09:00:00" > strptime('20110101 900',"%Y%m%d %H%M") [1] NA If I have a 3-digit hour like '900', please show me how to convert it to 9:00:00. Thank you in advance. Wonjae [[alternative HTML version deleted]]