search for: r_packages

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

Did you mean: _packages
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 ad...
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
I keep getting these fixed-width format (FWF) data files where variables for a single subject are spread across multiple lines and each line has a different format (apparently created with SAS or SPSS). To read them I stole some stuff from `read.fwf' in base R and threw together the function included below. Please feel free to test this function with your own data and let me know of any
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 %SystemDriv...
2010 Mar 14
1
Segfault Problem c++ R interface (detailed)
Hello R Community, I've been working on a project that uses pre-made C++ libraries (using STL) in R and build a package. However, I've been getting an unusual segfault that I'm unable to trace its origin. After many attempts of debugging using gdb, commenting out parts (or all of my code) and valgrind, I'm unable to make heads or tails about what I'm doing wrong. In fact, when