search for: hxd

Displaying 20 results from an estimated 29 matches for "hxd".

Did you mean: had
2011 Feb 25
7
R in different OS
...using? The reason that I need to know it is under different system, the data path could be different. I want to do something like if it is R under Windows path = "/ABC" else if it is R under UNIX, path = "/DEF" Any idea? Thanks. Best Regards, HXD [[alternative HTML version deleted]]
2012 May 22
3
pad leading zeros in front of strings
...os in some string, for example, "123" becomes "00123". What is wrong if I do following? > sprintf("%05s", "123") [1] " 123" It didn't return "00123", instead it padded with 'blank'. Thank you for your help in advance. HXD [[alternative HTML version deleted]]
2011 Feb 10
2
Repeaded sampling
...for(i in 1:M) { a[[i]] = sample(dataset, sample(length(dataset), 1)) } But my question is that if there is more elegant solution for this, for example, without bothering loop, can I do the repeated sampling? Many thanks. HXD [[alternative HTML version deleted]]
2014 Jan 15
4
USB boot problems on Gigabyte GA-M55Plus-S3G
[disclaimer: I am the author of Rufus] Hi, On 2014.01.15 10:10, Thomas Schmitt wrote: > As producer of MBRs i wonder where that LBA-flag is located. > In bit 0 to bit 6 of byte 446 (where bit 7 means active/bootable) ? I haven't looked at what GParted does, so I may be off mark, but I have a strong suspicion that this LBA "flag" is a fake flag that simply indicates if a
2011 Mar 24
2
apply mean to a three-dimension data
Hi All, Suppose I have data like [[alternative HTML version deleted]]
2011 Apr 21
3
line type lty
Hi All, Does somebody know how to know the detail of the line types? For example, lty = 1, means what kind of line?, lty = 2, means what kind of line? Thanks. HXD [[alternative HTML version deleted]]
2011 Aug 30
1
locate the needed columns
...names(d) = c("A.x", "B.x", "C.x", "A.y", "B.y", "C.y"); If I want to D1 = data.frame(d$A.x, d$A.y); D2 = data.frame(d$B.x, d$B.y); etc. or do other operation for each pair, What is elegant way to do it rather than use a loop? Thanks. HXD [[alternative HTML version deleted]]
2012 Apr 10
1
re-install a package
...talling it to R by running "Install packages from local zip files" under Packages menu in R (Windows), I realized I needed to change some source codes and re-make it. My question is that if I need re-install that package or R would automatically update the R library? Thanks. HXD [[alternative HTML version deleted]]
2012 Jul 11
1
Variance Inflation factor
...have two questions: 1) I was able to install that package in my R under windows. But while trying to install that package in UNIX, I got error: Package HH is not available. Does somebody know why? 2) Does somebody know the other way to calculate vif in R? Many thanks. HXD [[alternative HTML version deleted]]
2013 Jan 24
1
how to read a website with Chinese Character
...ed encoding = 'UTF-8' already but it didn't help. My R version is $platform [1] "i386-pc-mingw32" $arch [1] "i386" $os [1] "mingw32" $system [1] "i386, mingw32" $status [1] "" $major [1] "2" $minor [1] "15.0" HXD [[alternative HTML version deleted]]
2011 Mar 10
1
aggregate by part of a field
...uot;d e h", respectively. Do you know how to do it? I thought an awkward way which needed several function calls (like strsplit, lapply, paste etc) to manipulate the string in 'product' field. I guess there could be some more elegant way to do it. Thanks in advance. HXD [[alternative HTML version deleted]]
2011 Feb 16
1
speed up the code
...sort(sample(PHI_set, sample(symbol_len, 1)))), M, M); X = matrix(mapply(fun_x, S), M, M); S_hat = c(28, 34, 35) S_hat_len = length(S_hat); S_hat_matrix = matrix(list(S_hat), M, M); system.time( for(I in 1:40000) { A = matrix(mapply(fun_activation, S, S_hat_matrix, X, S_hat_len), M, M); } ) HXD [[alternative HTML version deleted]]
2013 May 02
2
Self-developed package -- installation
...as fine. Right now, suppose that package got damaged in machine A and our zipped file is gone, My question is that may I directly copy ../library/ABC from machine B to machine A rather than running 'Install Package(s) from local zip file' (I don't have that zip file anymore)? Thanks. HXD [[alternative HTML version deleted]]
2012 May 03
2
apply one list to another one
...39;b'. For example, after that operation, a[["1,1"]] become subset(a[["1.1"]], select = c("A", "B")) a[["1,2"]] become subset(a[["1.1"]], select = c("B", "C")) Do you know how to do it without looping? Thanks. HXD [[alternative HTML version deleted]]
2019 Apr 19
1
Question of syslinux chainloading
...hen the usb-hd could boot to DOS, then after running syslinux, "boot dos.bs" works. ("bss dos.bs" works too; "com32 chain.c32 boot file=dos.bs" works with a warning about mapping; "com32 chain.c32 boot msdos7=dos.bs" do not work.) The dos.bs file is saved by HxD. I tried to get one by copybs.com, but failed with the message:"Error:Filesystem not found on disk" (missing a Blank after "File"). Maybe it only supports floppy disk. So basically the problem is solved, although I think there are some bugs or improvements in the copybs and boo...
2011 Jun 03
1
debug R code
...it will go to debugger. My question is inside debugger, how to stop a code at a specified line. For example, in C (gdb or dbx debugger) I can run "stop at 123" (stop at line 123) or 'b 123' (break at line 123). Is there any similar commend in R debugger? Thanks. HXD [[alternative HTML version deleted]]
2011 Dec 13
0
rodbc -- save result to a table
...ut sqlUpdate is to update existing table. So it seems to me I should use sqlSave first time when the table is not there and then use sqlUpdate for further update. How to test if the table is already there or not? Or, if there is a simpler logic to solve my problem, please advise me. Many thanks. HXD [[alternative HTML version deleted]]
2012 Jul 09
1
install.packages
...9; is not there and then tried to install it. If I logged in as another user, say '123', the system found 'plyr' is not there and then tried to install it. My question is to how to make sure to install 'plyr' just once rather than depending on the 'user'. Thanks. HXD [[alternative HTML version deleted]]
2012 Oct 26
1
backward stepwise model selection
...k up the variable with biggest p value, delete it from the module and get a new regression model. 3. Repeat step 2 until all variables are significant in a model. My question is that do you know if R has a function (like 'step') to do that or I must write it by myself? Many thanks. HXD [[alternative HTML version deleted]]
2014 May 13
0
Dovecot Special_Use and K9 (and other Clients)
...PG v1.4.11 (GNU/Linux) iQEVAwUBU3G+RHz1H7kL/d9rAQJx9Af/WnPXZGvaCegGU/NK0XkMvT50hKaYRTum 5RqEweyiAPhR3K0rydviMToiTYMsuYlF4gzZTekWbRvJ08KTfgYtt5uf+kIDCpC9 jOxKuihz2tELJtUrt3EMN+DWEFmrWsfpuQJZxfELJjzI06I+A24atyUlZp4vG66e JMypehhiP4ehGXGufMWV4lYybD7ZL4SdnRxlLnVgOGAxgjszdA/J67jfiNt7EYwr Vc8SXj7cMoPDH3i+Hxd+pdu0EI60l2eWTk101Igoja3/6Z9hRsS5r1r9ZRxXWYjW nWKUCRwDYAu1BFc1Mq0n7HJ5VmovZjodsT3iPYsKlnjL5uB6aKJhzQ== =8XVC -----END PGP SIGNATURE-----