similar to: Package structure question (progress!)

Displaying 20 results from an estimated 7000 matches similar to: "Package structure question (progress!)"

2006 Jun 22
0
Package structure question (resolution)
Thanks to Max Kuhn, Jeff Laake, Duncan Murdoch, and Dirk Eddelbuettel, for their tips that eventually helped me get my teeth around this one. I'm in the process of documenting my experience, in case others find it useful. Please email me if you want to add to this or clarify anything. However, to close this thread, in a nutshell, working in Linux: 1. package.skeleton(). 2. Make obvious
2006 Jun 22
1
Basic package structure question
At the encouragement of many at UseR, I'm trying to build my first real package. I have no C/Fortran code, just plain old R code, so it should be rocket science. On a Linux box, I used package.skeleton() to create a basic package containing just one "hello world" type of function. I edited the DESCRIPTION file, changin the package name appropriately. I edited the hello.Rd file.
2006 Jun 22
1
Package struction question (second try)
Sorry, gmail seemed to have made an attachment out of my first attempted post. Trying again: ------------------------------ At the encouragement of many at UseR, I'm trying to build my first real package. I have no C/Fortran code, just plain old R code, so it should be rocket science. On a Linux box, I used package.skeleton() to create a basic package containing just one "hello
2009 Apr 08
1
Sweave problem, with multicolumn tables from R to LaTeX
Hi there, I have been using the example provided bellow for a while, and It was working without any problem. Nevertheless, just since 2-3 days is not working, probably because I did update.packages(). I have tried to re-install the older versions of the packages Hmisc() and xtable(), but still does not work. Can you run this example, and tell me if you got the same problems? I use
2013 Sep 26
1
Installing Rcplex
Hi, I have tried to install the R package Rcplex on windows xp without success. I have only cplex_studio124.win-x86-32 version. I have modified the makevars.win file as indicated in the installation guide ( http://cran.r-project.org/web/packages/Rcplex/INSTALL ), then I zipped the whole folder to order an installation from a zipped file (utils :menuInstallLocal()) The message I had is file
2016 Mar 04
2
as.vector in R-devel loaded 3/3/2016
Er, until _what_ is fixed? I see no anomalies with the version in R-pre: > library(Matrix) > as.vector standardGeneric for "as.vector" defined from package "base" function (x, mode = "any") standardGeneric("as.vector") <environment: 0x7fe8f4516640> Methods may be defined for arguments: x, mode Use showMethods("as.vector") for
2008 Nov 04
3
writing R extensions
Hi, I'm working on a package and got some problems. After I've done R CMD check and build I get the package.tar.gz which I can install under Linux without any problems. Now I wanted to have a Windows version. I heard that I only have to zip the package folder. That worked once, but now the package can't be installed. I got 1 warning while I did R CMD check, and this was 1 not
2009 May 29
1
Problem loading rJava
I am running R on Windows XP I first tried to install rJava and got this message utils:::menuInstallLocal() package 'rJava' successfully unpacked and MD5 sums checked updating HTML package descriptions then i tried this require(rJava) Loading required package: rJava Error in if (!nchar(javahome)) stop("JAVA_HOME is not set and could not be determined from the registry") :
2017 Jun 27
0
suggestion to fix packageDescription() for Windows users
>>>>> Nathan Sosnovske via R-devel <r-devel at r-project.org> >>>>> on Mon, 26 Jun 2017 18:22:25 +0000 writes: > I'd be curious to know what others think of Rich's > patch. If it is acceptable, I can spend time that I was > going to look at it this week on another bug. It is a bit kludgy (*) of course, but I confirm it solves
2017 Jun 17
0
suggestion to fix packageDescription() for Windows users
On 17/06/2017 7:10 AM, Ben Marwick wrote: > Recently I was trying to cite a package where the authors have ? > and ? in their names. I found that on Windows the citation() function > did not return the authors' names at all, but on Linux there was no > problem (sessionInfos at the bottom): > > On Windows, no author names are returned: I'm not seeing this. You have
2004 Oct 28
1
Error with package update
I received the following error when I attempted to update my packages: updating HTML package descriptions Warning messages: 1: DESCRIPTION file of package 'file28862' missing or broken in: packageDescription(p, lib = lib, fields = pkgFlds) 2: number of columns of result not a multiple of vector length (arg 2) in: rbind(retval, c(p, lib, desc)) 3: DESCRIPTION file of package
2017 Jun 24
0
suggestion to fix packageDescription() for Windows users
The following patch is not the most elegant, but it restores the Authors when "LC_CTYPE" is set to either "Chinese" or "Arabic": > Sys.setlocale("LC_CTYPE", "Chinese") [1] "Chinese (Simplified)_China.936" > citation("readr") To cite package ?readr? in publications use: (2016). readr: Read Tabular Data. R package
2017 Jun 17
0
suggestion to fix packageDescription() for Windows users
On 17/06/2017 9:13 AM, Ben Marwick wrote: > Hi Duncan, > > Thanks for your reply. Yes, it does seem to be specific to the CTYPE > setting to Chinese on Windows. If I set it to English using > Sys.setlocale() there is no problem, then back to Chinese and the > authors disappear: > > Sys.setlocale("LC_ALL","English") > citation("readr")
2017 Jun 23
0
suggestion to fix packageDescription() for Windows users
On 18/06/2017 5:57 AM, Andrie de Vries wrote: > Hi, Duncan > > i have forwarded this thread to Nathan, who promised to look into it. Any progress on this? Duncan Murdoch > > Andrie > > On 17 Jun 2017 17:26, "Duncan Murdoch" <murdoch.duncan at gmail.com > <mailto:murdoch.duncan at gmail.com>> wrote: > > On 17/06/2017 9:13 AM, Ben Marwick
2017 Jun 29
1
Windows iconv() "failure" in certain locales
>>>>> Uwe Ligges <ligges at statistik.tu-dortmund.de> >>>>> on Wed, 28 Jun 2017 18:45:59 +0200 writes: > On 27.06.2017 17:36, Martin Maechler wrote: >> This is a continuation of the R-devel thread with subject >> "suggestion to fix packageDescription() for Windows users" : >> >> As I said there, a
2012 May 22
1
utils:::menuInstallLocal()
Hello R, I'm trying to install a package (class) locally; in windows 7, 64 bits machine. The only massage I see on the R Console is: utils:::menuInstallLocal() nothing else. What does this means, shouldn't I got some source of massage on the Console. EZ [[alternative HTML version deleted]]
2017 Oct 04
1
R CMD Rd2pdf and macros
No, I do not get the same as you. I have tested with R-devel and R-patched compiled today. When I do R CMD Rd2pdf mpra I get (as reported a few days ago) Hmm ... looks like a package Converting Rd files to LaTeX Error : mpra/man/mpra-package.Rd:6: file './DESCRIPTION' does not exist whereas you (Kurt) reports that this works on zTree. When I do R CMD Rd2pdf mpra/man I get - a
2017 Jun 26
3
suggestion to fix packageDescription() for Windows users
I'd be curious to know what others think of Rich's patch. If it is acceptable, I can spend time that I was going to look at it this week on another bug. -----Original Message----- From: Rich Calaway Sent: Friday, June 23, 2017 6:34 PM To: Nathan Sosnovske <nsosnov at microsoft.com>; Duncan Murdoch <murdoch.duncan at gmail.com>; Andrie de Vries <apdevries at gmail.com>
2017 Jun 17
2
suggestion to fix packageDescription() for Windows users
Recently I was trying to cite a package where the authors have ? and ? in their names. I found that on Windows the citation() function did not return the authors' names at all, but on Linux there was no problem (sessionInfos at the bottom): On Windows, no author names are returned: #--------------- > citation("readr") To cite package ?readr? in publications use: (2017).
2009 May 15
2
Problem building (binary) packages for Windows
Hi, I am having a problem building binary packages for Windows recently. Normally, I use the "Murdoch-Sutherland" tool set, http://www.murdoch-sutherland.com/Rtools/ just build source packages by R CMD build <pkgname> and install these with R CMD INSTALL <pkgname> But now, for someone without having this tool set installed, under Win XP, with R-2.10dev