Displaying 20 results from an estimated 600 matches similar to: "How to use a R package with C code"
2005 Mar 10
1
about R CMD check
hello, everybody,
I create a package by myself named "var" on Linux system. I attach a C code
which uses "R_ext/Lapack.h" in directory "src". But when I carry out " R CMD
check var", it shows
> wxt0124()
Error in .C("wxt1221", PACKAGE = "var") : C function name not in DLL for package
var
Execution halted
Could you tell me what is
2004 Apr 14
1
question about /nmath/standalone
Hello,
I can't link a c code with Mathlib according to introduction of R
manual "Writing R Extensions", page 60.
It is written :
"It is possible to build Mathlib, the R set of mathematical functions
documented in
'Rmath.h?, as a standalone library 'libRmath? under Unix and Windows. (This
includes
the functions documented in Section 5.7 [Numerical analysis
2005 Jan 05
2
How to connect R with a C code which includes Atlas
Hello, everybody,
Happy New Year!
I am a graduate student from Concordia University. I meet a problem when I am
working on my thesis. I hope I will get help from you.
I have a mathematical model which was already implemented by using R language.
However, part of this model includes fixed point iteration algorithm and
calculation of large linear equations which n will get to 5000. Because of
2004 Apr 22
2
Urgent:again question about nmath/standalone
Hello, all,
I have the same question as the last mail I sent. I have installed libRmath in
my system. But I still can not link Rmath through -lRmath. The whole process
is as follow.Is there anybody who is so kind to help me find out the problem?
I will appreciate very much.
[credsim at confsys ~]$ cd /usr/lib
[credsim at confsys lib]$ ls -l libR*
-rw------- 1 bcdesai bcdesai 237828 Apr
2004 May 13
1
question about dyn.load()
Hello, everybody,
I met a big problem. What I want is to use c code in R. I have load a test
code "conv.c" in R and run it successfully. However, in my real code, I use
matlab c library (Matrix Inverse function). After I use command "R CMD SHLIB"
to share library, I can not use "dyn.load" to load the object in
R. "undefined symbol:
2005 Jan 21
1
How to use a C code in R
hello,
I have a c code which uses clapack. I want to integrate R with this code. It
said that I create a R package including my c code. Then build it with putting
PKG_LIBS = $(LAPACK_LIBS). I want to know the interface LAPACK_LIBS is Fortran
or C? If it is written in Fortran, how can I build them together? If I can
build them together, I still use the function in cLapack or the function in
2004 Jun 15
2
About function "unif_rand()"
hello, everybody,
I met a problem that I want to generate a random uniform number by using
function with c interface.
What I found is only "unif_rand()", but its range is [0,1]. How can I create a
uniform random variable by using a function with c interface.
Who can tell me what function it is and how to use?
I will appreciate for it very much.
Thanks in advance!
xiaotong wang
2005 Jan 25
2
about R CMD check
hello,
I create a package which includes C code and Lapack. But when I run " R CMD
check ". an error message, "/usr/bin/ld: cannot find -lfrtbegin " occurs. could
you tell me what is the problem?
the detailed message is as follows:
[credsim@confsys ~/src]$ R CMD check var
* checking for working latex ... OK
* using log directory '/home/credsim/src/var.Rcheck'
*
2003 Jul 08
3
Characters and Numeric Values in One Matrix
Dear R-Users,
I want to ask a question for a colleague of mine. He wants to put a
character vector and a numeric vector into one matrix and still have the old
character and numeric type for the respective columns.
Unfortunately, I am just starting using R and I could not help him.
Is there an easy and straightforward way to do this in R?
Maybe a little example facilitates understanding our
2005 Jul 07
1
look for help on nlm in R
Hi,
I had a hard time in learning nlm in R and appreciate any help.
I encounted the following error message from time to time when I tried different starting parameter values (three parameter values in this case) in nlm(f=SS.fun,p=c(0.1/40,0.1,2),hessian = FALSE,N.measure=object,h=20)
Error in f(x, ...) : only 0's may mix with negative subscripts
Basically I know the three parameter
2024 Mar 24
3
'Scripted' machine account renewal?!
Mandi! Kees van Vloten via samba
In chel di` si favelave...
> Solution is easy: upgrading winbind from Debian backports solves the issue !
I've upgraded to latest buster version 4.18.10+dfsg-1~buster, but still does
not work for me...
Now display:
root at vfwacpn1:~# net ads changetrustpw
get_kdc_ip_string: get_kdc_list fail NT_STATUS_NO_LOGON_SERVERS
Changing password for
2009 Mar 26
1
Extreme AIC in glm(), perfect separation, svm() tuning
Dear List,
With regard to the question I previously raised, here is the result I
obtained right now, brglm() does help, but there are two situations:
1) Classifiers with extremely high AIC (over 200), no perfect separation,
coefficients converge. in this case, using brglm() does help! It stabilize
the AIC, and the classification power is better.
Code and output: (need to install package:
2024 Mar 04
1
'Scripted' machine account renewal?!
On 04-03-2024 21:54, Rowland Penny via samba wrote:
> On Mon, 4 Mar 2024 14:14:18 +0100
> Marco Gaiarin via samba <samba at lists.samba.org> wrote:
>
>> Mandi! Kees van Vloten via samba
>> In chel di` si favelave...
>>
>>> Interesting, I tried running it with -d 10, it shows a lot of
>>> output.
>> The same. My output is a bit more
2009 Mar 18
3
Extreme AIC or BIC values in glm(), logistic regression
Dear R-users,
I use glm() to do logistic regression and use stepAIC() to do stepwise model
selection.
The common AIC value comes out is about 100, a good fit is as low as around
70. But for some model, the AIC went to extreme values like 1000. When I
check the P-values, All the independent variables (about 30 of them)
included in the equation are very significant, which is impossible, because
we
2007 Dec 27
1
(package e1071) SVM tune for best parameters: why they are different everytime i run?
Hi,
I run the following tuning function for svm. It's very strange that every
time i run this function, the best.parameters give different values.
[A]
>svm.tune <- tune(svm, train.x, train.y,
validation.x=train.x, validation.y=train.y,
ranges = list(gamma = 2^(-1:2),
cost = 2^(-3:2)))
# where train.x and train.y are matrix
2011 Apr 27
1
Problem about step and stepAIC
Hello,
I am now running a multiple linear regression program, but I do not know the
difference between the command step and stepAIC.
Thanks.
Maggie
[[alternative HTML version deleted]]
2011 Oct 24
1
Problem about plotting the correlation coefficients
Hi,
I am writing a program to plot the correlation coefficients of 45 elements
using the commend "plot". Error message "Error in plot.new() : figure
margins too large" appeared. I think it may because there are too many
elements. But I really need to find their correlation coefficients. What can
I do? Thank you.
Maggie
[[alternative HTML version deleted]]
2009 Mar 17
4
Plastic Water Bottles
The plastics industry says polycarbonate bottles are safe.
http://www.bisphenol-a.org/about/faq.html#g
I'm sure Maggie and here friends would say ALL plastic bottles are
very dangerous.
This lady seems to be at a reasonable middle ground.
http://trusted.md/blog/vreni_gurd/2007/03/29/plastic_water_bottles
Polycarbonate plastics the kind of bottle you bought contains BPA.
"In 2006 Europe
2008 Sep 30
5
Corrupted transaction log file / record size too small
I recently upgradeded dovecot on one of our servers from version 1.0.10
to version 1.1.3. Ever since, we've been seeing occasional errors
similar to this sequence (with the username and IP addresses elided):
Sep 30 00:09:56 alcor dovecot: pop3-login: Login: [4954], XXXX, NNN.NNN.NN.NNN
Sep 30 00:09:56 alcor dovecot: wrapper[5006]: pop3, XXXX, NNN.NNN.NN.NNN
Sep 30 00:09:56 alcor
2015 Sep 01
1
FW: Request for ew device<0x2B2D/0xFFFF> listed into NUT
Resend the mail.
???: Zhan, Cindy (???)
????: 2015?8?28? 16:19
???: nut-upsdev at lists.alioth.debian.org<mailto:nut-upsdev at lists.alioth.debian.org>
??: Xie, Maggie(???)
??: Request for ew device<0x2B2D/0xFFFF> listed into NUT
Dear NUT Developers:
We really appreciate for your great job and accomplishment in NUT. It?s interesting and fabulous.
It would be great if