search for: r_packag

Displaying 6 results from an estimated 6 matches for "r_packag".

Did you mean: r_package
2011 May 11
4
How to document man/*.Rd pages with images?
...image,? or ?graphic? in a text search within the Writing R Extensions: 2 Writing R documentation files <http://cran.r-project.org/doc/manuals/R-exts.html#Writing-R-documentation-f iles> I tried a couple of LaTeX guesses, but they lead to the following errors on check: Warning: /LAB/SRM/PROGS/R_PACKAGES/Ralign/man/Ralign139.Rd:3: unexpected UNKNOWN '\usepackage' Warning: /LAB/SRM/PROGS/R_PACKAGES/Ralign/man/Ralign139.Rd:36: unknown macro '\includegraphics' What is the right way to do this? Thanks, Sean
2011 Aug 19
1
Build a package - check error
...le with a few Fortran and R functions (wrapper). The fortran sources are located at src and the R functions at R (as recommended). The building process went ok but R CMD check did not. The error mgs was Error in dyn.load("fortran.so") : unable to load shared object '/home/eduardo/R_packages/test.Rcheck/fortran.so': Although I can see that R cannot find the compiled fortran code I do not know what to do. I believe it is something to do with the following lines in the R-wrapper file if (!is.loaded('calnpr')) dyn.load("fortran.so") How to...
2009 Sep 27
1
Clustering with R - efficient processing of large sparse data sets (text data)
...self the code that does hierarchical clustering, in C or Perl, or use a library. It would take me 2 hours to write the hierarchical clustering code from scratch, so I'm looking for a simple solution that will take less than 2 hours to implement. Follow up at http://www.analyticbridge.com/group/R_Packages/forum/topics/clustering-with-r-efficient
2002 May 15
0
Reading multi-line FWF data
...e know of any problems. Also, is there another (better) way to do this in R? -- ___________________________________________________________ Neil E. Klepeis -- School of Public Health, UC Berkeley and Lawrence Berkeley National Laboratory, Berkeley, CA USA http://socrates.berkeley.edu/~nklepeis/R_PACKAGE/library/heR.Base/html/read.fwf.mult.html ---- read.fwf.mult <- function (file, widths, rows, sep = "\t", as.is = FALSE, skip = 0, row.names = NULL, col.names, n = -1, blank.lines.skip = FALSE, ...) { if (!is.list(widths) | length(widths) != rows | (!missing(col.names) &a...
2010 Dec 14
1
Installing R-packages in Windows
...------------------------------------------------------------------- I am trying to install with a batch-script that looks like this: ----------------------------------------------------------------------------- SET rVersion=2.10.0 SET RPfad=%ProgramFiles%\R\R-%rVersion%\bin\ set RPacPfad=software\R_packages REM ############################################# REM #### copyying to a folder without spaces REM ############################################# cd %windir% cd .. mkdir rPAcsTemp cd %OrdnerDIR%\%RPACPFAD% copy *.zip %SystemDr...
2010 Mar 14
1
Segfault Problem c++ R interface (detailed)
...s around extend "C", which is ill-advised according to the Writing R Extensions manual. ######Files in the package: 1) under src: a set of pre-made C++ libraries (using STL, C++ and .hpp files) + C register code + R<->C++ libraries linker code + Makevars(my version which defines R_PACKAGE environment variable and nothing else) !!!!!Linker Code: #include <cstdlib> #include <cmath> #include <algorithm> #include <vector> #include <iostream> #include <string> #include "puppy.hpp" #include "symbregprimits.hpp" #include <R.h&gt...