search for: rwang

Displaying 12 results from an estimated 12 matches for "rwang".

Did you mean: wang
2004 Jun 10
2
Questions about Preserving registers
...87CW(Default8087CW); 3. The following function may be useful in debugging; it returns false when the control word has been unexpectedly changed: function Okay8087CW:boolean; begin result := ((Default8087CW xor Get8087CW) and not $E060) = 0; end; Thanks. Rui Phone: (403)220-4501 Email: rwang@math.ucalgary.ca Department of Mathematics and Statistics University of Calgary [[alternative HTML version deleted]]
2004 May 28
1
How could I find R.exp?
...port library for using dll. Following the instruction in the readme.package, I used the command “lib /def:R.exp /out:Rdll.lib”, however, the error message showed “Cannot open file R.exp”. I downloaded the source code R-1.9.0.tgz, but I can not find R.exp. Thanks! Rui Phone: (403)220-4501 Email: rwang@math.ucalgary.ca Department of Mathematics and Statistics University of Calgary [[alternative HTML version deleted]]
2004 Jun 07
1
Load a dll
...t the message below “Error in .Fortran("lasso", as.double(x), as.double(y), as.double(b), as.integer(n), : Fortran function name not in load table”. BTW, my system is Windows98 + R1.9.0. Could anyone help me to solve this question? Thanks Rui Wang Phone: (403)220-4501 Email: rwang@math.ucalgary.ca Department of Mathematics and Statistics University of Calgary [[alternative HTML version deleted]]
2004 May 11
1
How to use c routines in the exiting package?
...e routine in the local directories of this function (or package). Second, if I found the routine, could I call it just like this way, say, fit <- .C("lasso", …,PACKAGE = "lasso2") in my own functions. My system is Windows98 with R1.80. Rui Wang Phone: (403)220-4501 Email: rwang@math.ucalgary.ca Department of Mathematics and Statistics University of Calgary [[alternative HTML version deleted]]
2004 May 28
1
About creating an import library
...3. After I copied the R.exp to C:\ and run “lib /def: R.exp /machine: ix386 /out: Rdll.lib”, the error message showed “Cannot open Rdll.lib” 4. I am not clear about “add Rdll.lib to the link command or add it to the libraries to be used in the IDE”. Thanks Rui Wang Phone: (403)220-4501 Email: rwang@math.ucalgary.ca Department of Mathematics and Statistics University of Calgary [[alternative HTML version deleted]]
2004 Jun 10
1
Everything was ok, but I failed to get .o file in g77
...ut finally I can not get the file all.o. Therefore, I can not move on to the next step using “g77 –shared –c all.dll all.o” to get the file all.dll. The following is what happened on my screen: > g77 –o2 –c all.f > Could anyone help me? Thanks in advance. Rui Phone: (403)220-4501 Email: rwang@math.ucalgary.ca Department of Mathematics and Statistics University of Calgary [[alternative HTML version deleted]]
2004 Jun 09
1
About dll from c++ routine
...o2 -c x.cc -o x.o In file included from x.cc:3: x.hh:7:3: Warning: no newline at end of the file make: *** No rule to make target ‘x_main.o’, needed by ‘X.a’. Stop I guess I failed to get the dll file finally. Any suggestion would be greatly appreciated. Rui Phone: (403)220-4501 Email: rwang@math.ucalgary.ca Department of Mathematics and Statistics University of Calgary [[alternative HTML version deleted]]
2003 Jul 11
1
How to generate regression matrix with correlation matrix
Dear R community: I want to simulate a regression matrix which is generated from an orthonormal matrix X of dimension 30*10 with different between-column pairwise correlation coefficients generated from uniform distribution U(-1,1). Thanks in advance! Rui [[alternative HTML version deleted]]
2003 Jul 12
1
More clear statement about the question of how to generate regression matrix with correlation matrix
Dear R community: I am trying to do a simulation study mentioned by Fu (1998), Journal of Computational and Graphical Statistics, Volume7, Number 3, Page 397-416. In order to give a clear statement of quesion I copy the following paragraph from the article: We compare the bridge model with the OLS, the lasso and the ridge in a simulation of a linear regression model of 30 observations and 10
2003 Jul 13
1
How to generate a matrix with a specific correlation (matrix)
Dear R community: How to generate a matrix with a specific correlation (matrix)? Thanks in advance. Rui [[alternative HTML version deleted]]
2003 Jul 13
3
How to install a package
Dear R community: My platform: R 1.7.0 + windows2000. I am trying to install the package "lasso2" which I saw in the following web address: http://cran.us.r-project.org/src/contrib/PACKAGES.html#emplik. However, I failed to install it from R menu "Packages| Install package(s) from CRAN" since I could not find this item in the list. Thanks in advance! Rui [[alternative
2003 Jul 13
3
How to install a package
Dear R community: My platform: R 1.7.0 + windows2000. I am trying to install the package "lasso2" which I saw in the following web address: http://cran.us.r-project.org/src/contrib/PACKAGES.html#emplik. However, I failed to install it from R menu "Packages| Install package(s) from CRAN" since I could not find this item in the list. Thanks in advance! Rui [[alternative