similar to: Help making a simple R code only package

Displaying 20 results from an estimated 4000 matches similar to: "Help making a simple R code only package"

2020 Mar 11
1
R CMD INSTALL cannot recognize full path on Windows
Jiefei, you did not commit all files into the example package - your example has things like RcppExports.cpp as well as additional flags which are not in your GH project. I suspect the issue is with the extra flags you're adding - those don't come from R. Please make sure you can replicate the issue with the GH package you created. Cheers, Simon * installing *source* package
2020 Mar 10
4
R CMD INSTALL cannot recognize full path on Windows
Oops, I think both of us forget to cite the r-devel channel. Best, Jiefei On Tue, Mar 10, 2020 at 5:13 AM Wang Jiefei <szwjf08 at gmail.com> wrote: > Thanks for your quick response, Tomas. > > Yes, this is a path issue, I think the problem is related to R, not the > Rtools make. I built an example package for reproducing the problem: > https://github.com/Jiefei-Wang/example
2020 Mar 11
0
R CMD INSTALL cannot recognize full path on Windows
Thanks a lot for your suggestions. I see what you mean. I have removed all unnecessary files and dependences on https://github.com/Jiefei-Wang/example, but still no luck. I've tried to install the package as a user, not admin, but I got the same error. Also, I apologize for spamming the mail list. I will keep my reply as neat as possible. Martin has suggested checking the encoding of the file
2020 Mar 11
0
R CMD INSTALL cannot recognize full path on Windows
Thanks, Jiefei, unfortunately your example does not work on my system, and also it is far from minimal. The error message you are getting is from Windows and could be caused for example by accidental quoting of the path using single quotes. Issues with RStudio or devtools would have to be discussed in their mailing lists/with their authors, but my guess is that the problem is in your local
2008 Dec 07
1
Compile Packages on vista
Hi I''m trying to compile R packages on my vista (I''m very new on vista...). I installed Rtools, RExcel on a specific folder: c:\Rtools and gave full access. Unfortunately, I am still unable to compile any packages (may be still because of the security properties of vista). I checked several mailing list/forums/website but I did not found any solution. Does anybody have the
2020 Apr 03
4
The finalizer of the externalPtr does not work when closing R?
Hi all, I found that the finalizer of the externalPtr is not called when R is quitting. However, manually calling GC() works fine. This behavior is observed on devel R 2020-04-02 r78142 on Win and R 3.6.3 on Ubuntu. I make a reproducible package here: https://github.com/Jiefei-Wang/example Here is the detail of how to reproduce the problem, I create a temporary file in the package root path and
2003 Nov 17
2
$RHOME/bin/check in windows (PR#5135)
To whom it may concerned, I'm trying to build a new R package in a windows platform. Before that, I tried to check the previous well-know package from the CRAN using the Rcmd command. But I got the error messages as below. I think this comes from the parsing error from the Perl script in $RHOME/bin/check. In the following example, 'Program Files' is splited into 'Program',
2003 Dec 10
0
dyn.load for c code
I am learning how to load C code into R-1.8.0 on Windows 98. To this end I wrote a small c program, downloaded the tools, perl, and mingw on the "building R for windows" page, and proceeded to create libR.a & libRblas.a as explained in the readme.packages. I started with a simple c program called mysum.c that can be found on:
2003 Oct 09
3
Source package installation for WinXPpro
Hi I d like to compile the source code from last Affy package for WinXPpro under R18beta however the doc is pretty poor regarding this process... I went to FAQ R Win then to http://www.stats.ox.ac.uk/pub/Rtools/ and downloaded in The essentials, tools and Perl 5.8.0, then MingW from www.mingw.org and I wonder if I need any other stuff from this page ? I m not sure but I dont think I need the
2005 Apr 13
2
easy question: obtaining rw1080.exe
Dear All, Can anyone please tell me where I can obtain uncompiled binary instalation files for R version 1.8. (i.e. rw1080.exe)? I can only find the uncompiled source code on CRAN today. Thank you, Mary Wisz msw@dmu.dk [[alternative HTML version deleted]]
2003 Nov 20
3
file not found?
Hi R maintainers: when I use update.packages() And I try to update the package "maps" maps : Version 2.0-9 in D:/rw1080/library Version 2.0-10 on CRAN Update (y/N)? y The following message appears: trying URL `http://cran.r-project.org/bin/windows/contrib/1.8/maps_2.0-10.zip' Error in download.file(url, destfile, method, mode = "wb") : cannot open URL
2003 Oct 12
6
Rd problems
Hola! I have the following in a .Rd file: \eqn{\mbox{coef} = c(\mbox{coef}[1],\ldots, \mbox{coef}[n]) } {coef = c(coef[1], coef[2], \dots, coef[n])} However, both arguments come out in the latex file! Whats happening? Kjetil Halvorsen
2003 Dec 19
1
R-package install
Hi I have been trying to get the R Extention supportware going for a while now and have been running to an error I cannot figure out. I am hoping someone here will recognize whats going on and what i may be messing up. After installing all the components - Rtools, Active Perl, and minGW I created the file structure using package.skeleton(name = "test") with only the functions i want
2003 Oct 20
1
bug in fisher test---p-value cannot be Inf (PR#4688)
I just found a bug in fisher.test(). This is rw1080, on windows XP. A p-value can certainly not be Inf, but: > religion Costumbres rel orig Religion Si Algunas veces Nunca católica 2121 4700 6234 prot/evan 100 216 2461 otra C 27 67 502 otra 0 0 14 > fisher.test(religion, workspace=2000000)
2003 Oct 23
1
texi2dvi and buildVignettes() on Windows
I am currently writing a (private) package in which I produce pdf files from within R using LaTeX. To do so I mainly copied some lines from the buildVignettes() function in the tools package. This uses the texi2dvi which is included in R's bin directory: system(paste(file.path(R.home(), "bin", "texi2dvi"), "--quiet --pdf", bft)) This runs
2020 Apr 03
0
The finalizer of the externalPtr does not work when closing R?
See R_RegisterCFinalizerEx() and set onexit to nonzero. Here: https://github.com/wch/r-source/blob/9353ddfa8d30069ad8975e0364307d710f2488d5/src/include/Rinternals.h#L1279-L1280 Gabor On Fri, Apr 3, 2020 at 1:56 PM Wang Jiefei <szwjf08 at gmail.com> wrote: > > Hi all, > > I found that the finalizer of the externalPtr is not called when R is > quitting. However, manually
2020 Apr 03
0
[External] The finalizer of the externalPtr does not work when closing R?
Use R_RegisterFinalizerEx in your C code. See https://cran.r-project.org/doc/manuals/r-release/R-exts.html#External-pointers-and-weak-references This still gives you only "best effort"; for anything stronger you would need a different approach. In general, finalizers should only be used as a backstop, not as a primary resource management tool (in R or any other garbage-collected
2011 Apr 29
4
R CMD check and Suggests Packages
Hello, In my description file, I have an example data package in Suggests: that I've deleted from my library to test what the user who doesn't have it will experience. However, R CMD check won't even pass my package : * checking package dependencies ... ERROR Package required but not available: RepitoolsExamples Why would it have to be installed, if it's only a data package,
2003 Oct 20
0
Update Packages / help.start() (PR#4681)
Full_Name: Leonard Weil Version: 1.8.0 OS: Windows2000 Pro Submission from: (NULL) (192.249.47.9) I have encountered two anomalies in version 1.8.0 that I had not observed in version 1.7.0: When using the menu Packages -> Update Packages from CRAN, The console repeats the message twice (example below) > update.packages() trying URL
2008 Jan 30
2
mouse problems [A4 Tech OP-3D]
After some poking into psm.c code I've got some results. First, for the archives, debug.psm.loglevel tunable is much more useful than a verbose boot for debugging PS/2 mouse issues. A good value is 2. Second, I fiddled with various probe methods to force them to "recognize" my mouse (by loosening their checks) and found out that the mouse works perfectly if it is treated as