search for: myrpackages

Displaying 8 results from an estimated 8 matches for "myrpackages".

2005 Jul 07
2
答复: 答复: fail in adding library in new version.
...l the mingw32 in c:\mingwin 4. add "c:\cygwin; c:\mingwin\bin" in "Control Panel -> System -> Advanced -> Environment Variables -> Path -> Variable" , and they are in the beginning of the "Path" Because I install R in the D drive, so I set a fold "MyRpackages" in the same drive. Into the "MyRpackages" folder I write a R library named "example", include "DESCRIPTION" file and "R" folder. In the "R" folder, the "example" file just content very simple code as the previous mail said. So in...
2005 Jul 08
3
fail in adding library in new version.
...nd they are in the beginning of the "Path" > >> > >> ^ > >>such blanks are not allowed in the PATH variable > >> > >> > >> > >> > >>> Because I install R in the D drive, so I set a fold "MyRpackages" in the same drive. Into the "MyRpackages" folder I write a R library named "example", include "DESCRIPTION" file and "R" folder. In the "R" folder, the "example" file just content very simple code as the previous mail said. > >...
2005 Jun 30
5
答复: fail in adding library in new version.
...ed -> Environment Variables -> Path -> Variable" (In your previous mail, you said "put these at the beginning of the path", I don't understand what is your meaning. Which path?) 5. I tried an library example. I set a new folder named "example" in the "c:\MyRpackages\". And In the "example" folder, it contain an "DESCRIPTION" file and "R" folder. in "R" folder contain a "example" file. I just write very simple script in it: a<-2; b<-3;sum <- sum(a,b); print(paste(a,"+",b,"=",sum...
2005 Jun 06
2
fail in adding library in new version.
...c:\cygwin * Install Active Perl in c:\Perl * Install the mingw32 port of gcc in c:\mingwin * Then go to "Control Panel -> System -> Advanced -> Environment Variables -> Path -> Variable Balue" add ;c:\cygwin;c:\mingwin\bin * Save my library "example" into "c:\MyRpackages\" . But I am not sure what type it is, is it need suffix?" And I don't what its content, just my function script, no special format? * Then I don't know where should I do this step: Type R CMD INSTALL --build example. Need I run R first? So There is a error after I do this step....
2010 Jan 29
1
shared object location
hi all, i posted a question before about this, but i may have been too cryptic to understand. in short, there exists an R package that someone is writing. this package depends on a custom library (written in C,), compiled as a shared, and called by the package's functions via the .Call(...) method. we are testing out different code implementations of the compiled library functions, and thus
2005 Mar 10
1
about R CMD check
...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 the problem? Maggie [credsim at confsys myrpackages]$ R CMD check var * checking for working latex ... OK * using log directory '/home/credsim/src/myrpackages/var.Rcheck' * checking for file 'var/DESCRIPTION' ... OK * checking if this is a source package ... OK * Installing *source* package 'var' ... ** libs gcc -I/usr/lib/R...
2008 Apr 11
1
error from building a package
I am trying someone's example to build a R package, but I get some errors, Can someone help me to figure it out? thanks, * using log directory '/home/aiminy/myrpackages/roots.Rcheck' * using R version 2.6.1 (2007-11-26) * checking for file 'roots/DESCRIPTION' ... OK * this is package 'roots' version '0.1-1' * checking package dependencies ... OK * checking if this is a source package ... WARNING Subdirectory 'roots/src' contains...
2009 Aug 28
1
Calling C funtion from R help Needed
Hello Forum, I'm calling C function from R.It is a small sample trial program. The C function will accept a character and a integer and print them. It is printing some special character instead of input character. Below are the C function, Wrapper code ,R code and R output. Please help me in this issue Thank you in advance C function (Name : checkstr.c) #include<stdio.h> int