similar to: Unexpected input while building package in R

Displaying 20 results from an estimated 8000 matches similar to: "Unexpected input while building package in R"

2012 Jul 30
2
Alternating between "for loops"
Dear All, I would like to apply two different "for loops" to each set of four columns of a matrix (the loops here are simplifications of the actual loops I will be running which involve multiple if/else statements). I don't know how to "alternate" between the loops depending on which column is "running through the loop" at the time. ## Set up matrix J <- 10 N
2012 Aug 01
2
plotting 0,1 data
Hello, Anyone know why the command: > plot(x,y) where y is a 0,1 result sometimes plots the y values as 1,2 rather than 0,1? And how to prevent this? Thank you, Georgiana May [[alternative HTML version deleted]]
2012 May 07
2
Matrix "BYTES" size
Dear R people. I´m facing a big problem. I need to create a matrix with 10.000 columns and 750.000 rows. matrix<- as.data.frame(matrix(data=0L, nrow=750000, ncol=10000) as you can see, the data frame has huge dimesions. I was able to find out about thr "L" in data, this way I´m telling that my data is "integer" class. By doing this object.size(matrix) tells me that this is
2012 Apr 30
2
Generate Dendrogram
Hi I have a distance matrix which is computed by user defined method. I would like to plot the dendrogram. I would like to use different color and want the leaves laying down bottom. The script like this. I am not familiar with R. I followed the example shown in http://stat.ethz.ch/R-manual/R-devel/library/stats/html/dendrogram.html dist.obj <- as.dist(matrix.distance) hc.obj <-
2012 May 17
3
New Eyes Needed to See Syntax Error
One of many scripts to produce 4 lattice plots on one page keeps throwing an error. I've tried manipulating the file to eliminate the error, but have not been able to do so. The error is: > source('bicarb.R') Error in source("bicarb.R") : bicarb.R:15:1: unexpected symbol 14: 15: hco33 ^ The 'h' is in column 0 so the caret would be column -1, but it's
2012 Aug 29
5
Extracting the name of a function (inverse of match.fun("myFun"))
Hi all, is there a way to extract the name of a function, i.e. do the reverse of match.fun applied to a character string? I would like to print out the name of a function supplied to another function as an argument. For example: myFunc = function(x) { x+1 } applyFunc = function(fnc, x) { fnc = match.fun(fnc) fnc(x) } Is there a way to obtain "myFunc" from the argument fnc in
2012 Jul 17
2
Installing packages from RProfile.site file
I am trying to install custom packages upon starting R. A lot of the code that is written by us right now is available for editing to the users. To try and protect the code, I am packaging the production level code and having the users install it on their machine during start up. However, when I try to install packages in RProfile.site file, the program goes into a loop and R is constantly
2013 Jun 19
1
SIP Simple support on Asterisk 11
Hi all, I am trying to enable SIP SIMPLE communication in my test environment. I have the following env : - one server (192.168.50.126) with Asterisk 11 - 2 clients using pidgin : demo-bob and demo-alice on my 192.168.50.143 I successfully had a phone call between clients. I used the following link to enable SIMPLE messaging between my clients :
2012 May 18
2
Failure building any package
Hello, I'm attempting to build a package using R 2.15.0 on OS X I am getting a generic failure when performing a cran type check on the package. Even with a very simple test package, it still fails int he same place. Example: In R: rm(list=ls()) foo <- function(x){print(x)} package.skeleton(name="foo") Then, at the command line: R CMD build foo R CMD check --as-cran
2011 Jul 31
5
ajuste de modelos logísticos con heterocedasticidad
Hola a todos. ¿Cómo puedo ajustar un modelo de regresión logística en el que la varianza de los errores no son iguales, sino que esta puede ser modelada por otras variables ? ¿Utilizando modelos mixtos o voy desencaminado? Gracias..
2010 Apr 29
3
Ogg index and Skeleton 4.0
Hi everybody, I've updated OggIndex to now output Skeleton 4.0 tracks. The differences between Skeleton 3.x and Skeleton 4.0 with OggIndex is: * The fisbone packet now includes a "Radix" field. * The fisbone packet now includes two new compulsory message headers; "Role" and "Name". * The fishead packet no longer includes "start time"
2009 May 04
5
Convert skeleton to "regular" format
Hi there, we just encountered a problem with some tools obviously encoding into the skeleton format by default, which leads to problems with several other tools, in that particular case it's oggCut. When we try to edit/cut an ogg file with it, the program crashes with a segfault. I was able to locate and fix the problem in the oggCut source but I am wondering how to convert my ogg files to a
2020 Jun 06
3
Change in package.skeleton behavior from R 3.6.3 to R 4.0.0 ?
The Rcpp package and some related packages such as RcppArmadillo make use of (local) wrappers around the utils::package.skeleton() function for creating (basic yet functional) packages using Rcpp or RcppArmadillo. RStudio also exposes this under the graphical menu as a nice way to construct a package. But it seems that something changed quite recently in R. I looked into this a little yesterday
2014 Aug 22
2
Merging Ogg streams whilst updating the Skeleton?
Hi All I'm currently trying to put together an ogg file with two theora streams, a handful of audio streams (probably mixed vorbis and opus), and a Skeleton stream that describes their relationships to each other. I had hoped to be able to use the oggz suite of tools, but I can't seem to get that to work. To generate my theora files, I'm using ffmpeg2theora, which will happily
2007 Oct 01
2
Re: Peer review draft for the new
"Silvia Pfeiffer" <silviapfeiffer1@gmail.com> wrote: ... > First though let me start a discussion on skeleton here, which is > fundamental to this rfc and for which I'd like to get more input from > everyone. > > I think, "application/ogg" makes not much sense without having > skeleton inside the ogg file. Half the reason for having a generic, >
2007 Oct 01
2
Re: Peer review draft for the new
"Silvia Pfeiffer" <silviapfeiffer1@gmail.com> wrote: ... > First though let me start a discussion on skeleton here, which is > fundamental to this rfc and for which I'd like to get more input from > everyone. > > I think, "application/ogg" makes not much sense without having > skeleton inside the ogg file. Half the reason for having a generic, >
2008 Apr 14
5
[PATCH] kate streams for libshout svn and icecast svn
ogg.k.ogg.k at googlemail.com wrote: > Hi, > > ACK/NAK on any of those two points (kate support patches and status of > skeleton support) ? > Brendan was the one to working on libshout, but he may be away currently. I can check over it after the dir.xiph.org and icecast updates I have are done. I have not checked over the Kate parts for icecast yet but I don't have a
2008 Mar 31
1
Compile dll in Windows XP
This is my first attempt to call a C function from R. I have installed Rtools,MinGW and Perl and I have included them in my system path. I am trying to compile a toy function that can be called in R but when I type "RCMD SHLIB foo.c" I receive the following message in my Command prompt: making foo.d from foo.c make: [foo.d] Error 255 (ignored) cat: foo.d: No such file or directory make:
2006 Jul 19
1
Skeleton output support in speexenc
Hi, I just added skeleton meta data output support in speexenc. The option is disabled by default and can be enabled using -k or --skeleton. I'm using a very simple skeleton API for handling skeleton packet generation which is contained in skeleton.h & skeleton.c. Please check the patch and whether xine/mplayer/quicktime and other players support the skeleton enabled speex file. At the
2005 Feb 01
2
How to write a new "top-level" Trellis/lattice function?
Hello, I am trying to write a new "top level" Trellis/lattice function. By "top-level", I mean a function like 'xyplot', 'histogram', 'bwplot', etc. These functions all call 'trellis.skeleton', which I am unable to call; an attempt to invoke the function that does so yields the error message: ----- Error in do.call("trellis.skeleton",